Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.001486/0.001486, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002305/0.002305, allocations: 215.2 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3029/0.3029, allocations: 44.27 MB / 330.3 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 71.91 kB / 468.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1438, allocations: 61.04 MB / 0.5167 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003774/0.1476, allocations: 1.691 MB / 0.5183 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1491, allocations: 0.7767 MB / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.1492, allocations: 3.938 kB / 0.5191 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.1497, allocations: 47.81 kB / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.15, allocations: 59.7 kB / 0.5192 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1503, allocations: 95.7 kB / 0.5193 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.1505, allocations: 95.69 kB / 0.5194 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1507, allocations: 16.2 kB / 0.5194 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.1507, allocations: 35.86 kB / 0.5194 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.1508, allocations: 35.78 kB / 0.5195 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.1509, allocations: 7.938 kB / 0.5195 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.151, allocations: 43.92 kB / 0.5195 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.151, allocations: 23.92 kB / 0.5196 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.1511, allocations: 27.8 kB / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.1513, allocations: 119.4 kB / 0.5197 GB, free: 3.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1513, allocations: 4 kB / 0.5197 GB, free: 3.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1514, allocations: 4 kB / 0.5197 GB, free: 3.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1514, allocations: 0 / 0.5197 GB, free: 3.508 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006194/0.152, allocations: 357.5 kB / 0.52 GB, free: 3.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.152, allocations: 8.031 kB / 0.52 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.1521, allocations: 12.84 kB / 0.5201 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.1524, allocations: 146.3 kB / 0.5202 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1524, allocations: 4.375 kB / 0.5202 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1524, allocations: 4.125 kB / 0.5202 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1526, allocations: 57.66 kB / 0.5203 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1526, allocations: 8 kB / 0.5203 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1526, allocations: 4 kB / 0.5203 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1526, allocations: 0 / 0.5203 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.1527, allocations: 19.98 kB / 0.5203 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.1531, allocations: 240.5 kB / 0.5205 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1533, allocations: 54.67 kB / 0.5206 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1534, allocations: 16.86 kB / 0.5206 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1534, allocations: 0 / 0.5206 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.1535, allocations: 79.25 kB / 0.5207 GB, free: 2.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1535, allocations: 4 kB / 0.5207 GB, free: 2.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006349/0.1542, allocations: 181.3 kB / 0.5208 GB, free: 2.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1542, allocations: 51.41 kB / 0.5209 GB, free: 2.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.1545, allocations: 234.7 kB / 0.5211 GB, free: 1.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1545, allocations: 29.7 kB / 0.5211 GB, free: 1.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.1546, allocations: 108.1 kB / 0.5212 GB, free: 1.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1546, allocations: 19.86 kB / 0.5213 GB, free: 1.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.1547, allocations: 25.7 kB / 0.5213 GB, free: 1.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1549, allocations: 330.8 kB / 0.5216 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.1549, allocations: 23.98 kB / 0.5216 GB, free: 1.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.155, allocations: 41.7 kB / 0.5217 GB, free: 1.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1552, allocations: 58.09 kB / 0.5217 GB, free: 1.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1552, allocations: 0 / 0.5217 GB, free: 1.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002274/0.1554, allocations: 109.8 kB / 0.5218 GB, free: 1.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1554, allocations: 8 kB / 0.5218 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1554, allocations: 7.938 kB / 0.5218 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1554, allocations: 0 / 0.5218 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1555, allocations: 19.92 kB / 0.5219 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.1555, allocations: 8.031 kB / 0.5219 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.1556, allocations: 0 / 0.5219 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1556, allocations: 8 kB / 0.5219 GB, free: 1.082 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001286/0.1557, allocations: 129.8 kB / 0.522 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.1558, allocations: 11.95 kB / 0.522 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.156, allocations: 127 kB / 0.5221 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.156, allocations: 0 / 0.5221 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1561, allocations: 0 / 0.5221 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1561, allocations: 7.984 kB / 0.5221 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.1565, allocations: 346.9 kB / 0.5225 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1566, allocations: 4 kB / 0.5225 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.1566, allocations: 11.98 kB / 0.5225 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1566, allocations: 3.984 kB / 0.5225 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1566, allocations: 4 kB / 0.5225 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1566, allocations: 3.938 kB / 0.5225 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1566, allocations: 3.938 kB / 0.5225 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.1569, allocations: 216.2 kB / 0.5227 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.1569, allocations: 19.81 kB / 0.5227 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.157, allocations: 4.031 kB / 0.5227 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.157, allocations: 4 kB / 0.5227 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.1571, allocations: 15.92 kB / 0.5228 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1571, allocations: 4 kB / 0.5228 GB, free: 108 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.1573, allocations: 176.3 kB / 0.5229 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1573, allocations: 0 / 0.5229 GB, free: 15.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1576, allocations: 20 kB / 0.5229 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001985/0.1595, allocations: 497.1 kB / 0.5234 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1598, allocations: 55.91 kB / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1598, allocations: 4 kB / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.1599, allocations: 32.08 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1602, allocations: 35.42 kB / 0.5235 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.1608, allocations: 275.2 kB / 0.5238 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.1609, allocations: 96.75 kB / 0.5239 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.743e-05/0.161, allocations: 16.42 kB / 0.5239 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.161, allocations: 15.44 kB / 0.5239 GB, free: 14.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.161, allocations: 0 / 0.5239 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Templates: time 0.005872/0.1669, allocations: 1.891 MB / 0.5258 GB, free: 13.03 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.786888942122459]