Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.0009701/0.0009701, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009178/0.0009178, allocations: 169.9 kB / 24.91 MB, free: 9.184 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 0.9682/0.9682, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2568/0.2568, allocations: 34.26 MB / 296.1 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.539e-05, allocations: 3.516 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002161/0.002177, allocations: 1.93 MB / 327.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.003459, allocations: 1.114 MB / 328.4 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.003531, allocations: 3.938 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.003917, allocations: 255.2 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.004231, allocations: 239 kB / 328.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.004394, allocations: 123.5 kB / 329 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.00462, allocations: 279.2 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.0047, allocations: 22.61 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.004836, allocations: 151.6 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.005004, allocations: 167.6 kB / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.005025, allocations: 15.94 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.596e-05/0.005121, allocations: 63.91 kB / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.005186, allocations: 67.7 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.005234, allocations: 52.28 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.005431, allocations: 203.1 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.005432, allocations: 0 / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.005433, allocations: 0 / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.005436, allocations: 4 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004487/0.005884, allocations: 492.1 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.005914, allocations: 16.03 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.005953, allocations: 20.92 kB / 330.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.006148, allocations: 224.1 kB / 330.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.006165, allocations: 8.375 kB / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.006188, allocations: 8.359 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.006316, allocations: 111.4 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006326, allocations: 3.938 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.006334, allocations: 4 kB / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.006339, allocations: 0 / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.144e-05/0.00638, allocations: 37.56 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.006653, allocations: 300.9 kB / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.006863, allocations: 190.5 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.006895, allocations: 29.91 kB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.006908, allocations: 3.984 kB / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.007013, allocations: 115.8 kB / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 7.72e-07/0.007014, allocations: 0 / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005293/0.007543, allocations: 320.9 kB / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.00758, allocations: 81.11 kB / 331.9 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.007785, allocations: 361 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.007803, allocations: 29.7 kB / 332.3 MB, free: 460 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.007861, allocations: 121.5 kB / 332.4 MB, free: 332 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.007909, allocations: 83.34 kB / 332.5 MB, free: 248 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.007948, allocations: 37.69 kB / 332.5 MB, free: 204 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.008049, allocations: 358.6 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.008078, allocations: 26.83 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.777e-05/0.008126, allocations: 58.02 kB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.008209, allocations: 100.1 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.00821, allocations: 0 / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001206/0.008331, allocations: 139.2 kB / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.008342, allocations: 10.34 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.008347, allocations: 0 / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.008359, allocations: 64 / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.008437, allocations: 47.91 kB / 333.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.008442, allocations: 4 kB / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.008482, allocations: 11.94 kB / 333.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.008489, allocations: 4 kB / 333.3 MB, free: 15.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.354e-05/0.008563, allocations: 128.6 kB / 333.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.008588, allocations: 31.97 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.008749, allocations: 154.7 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.008752, allocations: 4 kB / 333.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.008753, allocations: 0 / 333.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.008758, allocations: 7.984 kB / 333.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.009116, allocations: 0.5594 MB / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.009117, allocations: 0 / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.009166, allocations: 35.92 kB / 334.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.00917, allocations: 7.938 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.009179, allocations: 4 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.009182, allocations: 4 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.009184, allocations: 3.984 kB / 334.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.009368, allocations: 411.3 kB / 334.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.009393, allocations: 39.7 kB / 334.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.009416, allocations: 7.984 kB / 334.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.873e-05/0.009515, allocations: 8 kB / 334.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.009557, allocations: 23.91 kB / 334.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.009579, allocations: 11.98 kB / 334.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.009747, allocations: 159.5 kB / 334.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009747, allocations: 4 kB / 334.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.009987, allocations: 51.92 kB / 334.9 MB, free: 13.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001316/0.0113, allocations: 0.677 MB / 335.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.01143, allocations: 100.5 kB / 335.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.01144, allocations: 4 kB / 335.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.01149, allocations: 60.69 kB / 335.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01178, allocations: 70.48 kB / 335.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.01227, allocations: 0.5112 MB / 336.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.964e-05/0.01233, allocations: 108.3 kB / 336.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.01239, allocations: 41.92 kB / 336.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.486e-05/0.01248, allocations: 99.28 kB / 336.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01248, allocations: 0 / 336.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Templates: time 0.005009/0.01749, allocations: 3.652 MB / 340.2 MB, free: 8.715 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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: 2.964939129073173]