Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 166.2 kB / 24.99 MB, free: 8.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.131/1.131, allocations: 177.1 MB / 205.3 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3104/0.3104, allocations: 32.8 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 376.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.772e-05, allocations: 6.25 kB / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002742/0.00277, allocations: 2.346 MB / 378.4 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.004588, allocations: 1.367 MB / 379.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.004736, allocations: 7.938 kB / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.005253, allocations: 290.8 kB / 380.1 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.00574, allocations: 350.4 kB / 380.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.006044, allocations: 223.4 kB / 380.6 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.006489, allocations: 0.5646 MB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.006624, allocations: 37.27 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.00688, allocations: 303.1 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.007099, allocations: 259.3 kB / 381.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.007131, allocations: 20 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.912e-05/0.007231, allocations: 63.86 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.007339, allocations: 127.5 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.007439, allocations: 103.6 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.007781, allocations: 322.6 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.007783, allocations: 0 / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007784, allocations: 0 / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.00779, allocations: 0 / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008417/0.008632, allocations: 0.8341 MB / 383.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.008673, allocations: 19.92 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.008765, allocations: 72.55 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.009111, allocations: 351.2 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.009135, allocations: 8.375 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.009163, allocations: 16.38 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.00938, allocations: 205.7 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.009389, allocations: 3.938 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.009403, allocations: 12 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.009408, allocations: 4 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.586e-05/0.009504, allocations: 67.86 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.01017, allocations: 1.019 MB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.01043, allocations: 271.7 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.618e-05/0.01051, allocations: 86.41 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.01052, allocations: 4 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.01072, allocations: 223.3 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.122e-06/0.01072, allocations: 0 / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001038/0.01176, allocations: 0.9402 MB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.01182, allocations: 166.2 kB / 386.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/0.01224, allocations: 0.573 MB / 387.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.01227, allocations: 41.7 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.01241, allocations: 295.7 kB / 387.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/0.01248, allocations: 131 kB / 387.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.01256, allocations: 75.84 kB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.01274, allocations: 0.5508 MB / 388.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.01283, allocations: 60.97 kB / 388.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.01297, allocations: 173.8 kB / 388.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.0132, allocations: 253.1 kB / 388.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01321, allocations: 4 kB / 388.8 MB, free: 7.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003487/0.01356, allocations: 348.9 kB / 389.2 MB, free: 7.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.01357, allocations: 8 kB / 389.2 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.01357, allocations: 0 / 389.2 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.01358, allocations: 12.09 kB / 389.2 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.01374, allocations: 84.27 kB / 389.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01374, allocations: 11.94 kB / 389.3 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.955e-05/0.01383, allocations: 19.98 kB / 389.3 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.01385, allocations: 19.94 kB / 389.3 MB, free: 7.188 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.01396, allocations: 191.1 kB / 389.5 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.01403, allocations: 79.62 kB / 389.6 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.01445, allocations: 406.1 kB / 390 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.01446, allocations: 19.92 kB / 390 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.01446, allocations: 0 / 390 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01447, allocations: 0 / 390 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009166/0.01538, allocations: 1.406 MB / 391.4 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.01539, allocations: 4 kB / 391.4 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.01547, allocations: 51.92 kB / 391.5 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01548, allocations: 4 kB / 391.5 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.0155, allocations: 20.14 kB / 391.5 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.0155, allocations: 4 kB / 391.5 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.0155, allocations: 7.938 kB / 391.5 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.01606, allocations: 1.042 MB / 392.5 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.0161, allocations: 51.62 kB / 392.6 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.01614, allocations: 19.98 kB / 392.6 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.01631, allocations: 15.98 kB / 392.6 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.01636, allocations: 43.88 kB / 392.7 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.01639, allocations: 16 kB / 392.7 MB, free: 3.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002901/0.01668, allocations: 402.8 kB / 393.1 MB, free: 3.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01668, allocations: 0 / 393.1 MB, free: 3.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.01701, allocations: 83.98 kB / 393.2 MB, free: 3.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00087/0.01788, allocations: 464.9 kB / 393.6 MB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.01815, allocations: 228.1 kB / 393.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01815, allocations: 320 / 393.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.01829, allocations: 140.6 kB / 394 MB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.01889, allocations: 168.3 kB / 394.1 MB, free: 2.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.02, allocations: 0.8786 MB / 395 MB, free: 1.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.051e-05/0.02009, allocations: 129.9 kB / 395.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.02022, allocations: 87.38 kB / 395.2 MB, free: 1.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.0203, allocations: 60.48 kB / 395.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0203, allocations: 0 / 395.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of Templates: time 0.007732/0.02803, allocations: 6.227 MB / 401.5 MB, free: 11.04 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.507532548159361]