Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002244/0.002244, allocations: 186 kB / 21.49 MB, free: 0.8242 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.941/1.941, allocations: 207.6 MB / 232.1 MB, free: 3.176 MB / 174.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.4676/0.4676, allocations: 44.23 MB / 328.4 MB, free: 6.285 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 72.03 kB / 465.6 MB, free: 45.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1442, allocations: 61.01 MB / 0.5143 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003145/0.1473, allocations: 1.809 MB / 0.516 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1488, allocations: 0.8918 MB / 0.5169 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1489, allocations: 6.469 kB / 0.5169 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005467/0.1494, allocations: 294.6 kB / 0.5172 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.1498, allocations: 211.3 kB / 0.5174 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.1501, allocations: 145.7 kB / 0.5175 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1503, allocations: 239.3 kB / 0.5178 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.1504, allocations: 21.47 kB / 0.5178 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1505, allocations: 127.6 kB / 0.5179 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.1507, allocations: 208 kB / 0.5181 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.1507, allocations: 8 kB / 0.5181 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.235e-05/0.1508, allocations: 39.98 kB / 0.5181 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1509, allocations: 136.5 kB / 0.5183 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.151, allocations: 142.8 kB / 0.5184 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1513, allocations: 366.2 kB / 0.5188 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1513, allocations: 0 / 0.5188 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1513, allocations: 0 / 0.5188 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.1513, allocations: 0 / 0.5188 GB, free: 8.598 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000846/0.1522, allocations: 0.7384 MB / 0.5195 GB, free: 7.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.1522, allocations: 15.84 kB / 0.5195 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.1523, allocations: 52.61 kB / 0.5195 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.1528, allocations: 444.4 kB / 0.52 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1528, allocations: 8.375 kB / 0.52 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1529, allocations: 8.125 kB / 0.52 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.1531, allocations: 95.28 kB / 0.5201 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1531, allocations: 0 / 0.5201 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1531, allocations: 7.938 kB / 0.5201 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1531, allocations: 0 / 0.5201 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1532, allocations: 27.98 kB / 0.5201 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.1536, allocations: 366.4 kB / 0.5205 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1539, allocations: 109.2 kB / 0.5206 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.1539, allocations: 33.64 kB / 0.5206 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.154, allocations: 4 kB / 0.5206 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.1542, allocations: 113 kB / 0.5207 GB, free: 6.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.113e-06/0.1542, allocations: 0 / 0.5207 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004695/0.1546, allocations: 197.2 kB / 0.5209 GB, free: 6.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1547, allocations: 77.11 kB / 0.521 GB, free: 6.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/0.1555, allocations: 1.011 MB / 0.522 GB, free: 5.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1555, allocations: 29.7 kB / 0.522 GB, free: 5.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.1556, allocations: 232.1 kB / 0.5222 GB, free: 4.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.1557, allocations: 31.78 kB / 0.5222 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.1557, allocations: 25.72 kB / 0.5223 GB, free: 4.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1558, allocations: 366.8 kB / 0.5226 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.1559, allocations: 31.92 kB / 0.5226 GB, free: 4.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.156, allocations: 59.41 kB / 0.5227 GB, free: 4.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1561, allocations: 87.36 kB / 0.5228 GB, free: 4.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1561, allocations: 0 / 0.5228 GB, free: 4.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002603/0.1564, allocations: 177.6 kB / 0.5229 GB, free: 4.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1564, allocations: 4 kB / 0.5229 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1564, allocations: 128 / 0.5229 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.1564, allocations: 12.06 kB / 0.523 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.1566, allocations: 19.98 kB / 0.523 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1566, allocations: 4 kB / 0.523 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.1567, allocations: 15.89 kB / 0.523 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1567, allocations: 4 kB / 0.523 GB, free: 3.957 MB / 382.1 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001847/0.1568, allocations: 229.6 kB / 0.5232 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.1569, allocations: 47.67 kB / 0.5233 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.1573, allocations: 197.4 kB / 0.5235 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1573, allocations: 4 kB / 0.5235 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1573, allocations: 0 / 0.5235 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1573, allocations: 0 / 0.5235 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.1576, allocations: 341.4 kB / 0.5238 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1576, allocations: 3.938 kB / 0.5238 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.1576, allocations: 8 kB / 0.5238 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1576, allocations: 4 kB / 0.5238 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1576, allocations: 3.984 kB / 0.5238 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1576, allocations: 0 / 0.5238 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1576, allocations: 4 kB / 0.5238 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.1579, allocations: 213.5 kB / 0.524 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.158, allocations: 140.7 kB / 0.5241 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.1581, allocations: 4 kB / 0.5241 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.1581, allocations: 7.984 kB / 0.5242 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.1582, allocations: 7.984 kB / 0.5242 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.1582, allocations: 16.12 kB / 0.5242 GB, free: 2.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005826/0.1588, allocations: 0.7448 MB / 0.5249 GB, free: 1.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1588, allocations: 0 / 0.5249 GB, free: 1.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1591, allocations: 40 kB / 0.5249 GB, free: 1.863 MB / 382.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001516/0.1606, allocations: 430.6 kB / 0.5254 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.1608, allocations: 83.83 kB / 0.5254 GB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1608, allocations: 4.125 kB / 0.5254 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.413e-05/0.1609, allocations: 35.98 kB / 0.5255 GB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1614, allocations: 74.64 kB / 0.5255 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1625, allocations: 0.8774 MB / 0.5264 GB, free: 392 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.163, allocations: 0.8427 MB / 0.5272 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.1632, allocations: 58.94 kB / 0.5273 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.1633, allocations: 27.42 kB / 0.5273 GB, free: 15.43 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1633, allocations: 0 / 0.5273 GB, free: 15.43 MB / 398.1 MB Notification: Performance of Templates: time 0.009424/0.1727, allocations: 3.766 MB / 0.531 GB, free: 11.67 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.9965266371145844]