Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 98.47 kB / 18.01 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001345, allocations: 176 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 243 MB, free: 88 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 44.25 MB / 338.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 12 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002531/0.1499, allocations: 1.495 MB / 474.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.1526, allocations: 1.51 MB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1528, allocations: 0 / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.1532, allocations: 55.75 kB / 476 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.1536, allocations: 71.75 kB / 476.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.1541, allocations: 150.3 kB / 476.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.1544, allocations: 171.5 kB / 476.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.249e-05/0.1545, allocations: 13.55 kB / 476.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.1547, allocations: 67.59 kB / 476.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.1549, allocations: 71.61 kB / 476.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.155, allocations: 8 kB / 476.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.1552, allocations: 59.97 kB / 476.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.1553, allocations: 27.91 kB / 476.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1554, allocations: 89.19 kB / 476.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.1556, allocations: 128 kB / 476.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1557, allocations: 0 / 476.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1557, allocations: 4 kB / 476.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1557, allocations: 0 / 476.8 MB, free: 9.414 MB / 350.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.0007875/0.1565, allocations: 445.2 kB / 477.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.1565, allocations: 12.03 kB / 477.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.081e-05/0.1566, allocations: 12.75 kB / 477.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.157, allocations: 243.9 kB / 477.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.157, allocations: 384 / 477.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1571, allocations: 12.12 kB / 477.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.1573, allocations: 101.1 kB / 477.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1573, allocations: 0 / 477.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1574, allocations: 0 / 477.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1574, allocations: 0 / 477.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1575, allocations: 35.91 kB / 477.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.1578, allocations: 206.5 kB / 477.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.1581, allocations: 117.2 kB / 478 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.1582, allocations: 41.64 kB / 478 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.1582, allocations: 3.984 kB / 478 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/0.1585, allocations: 116.9 kB / 478.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1585, allocations: 0 / 478.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000526/0.1591, allocations: 161.4 kB / 478.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1592, allocations: 132.5 kB / 478.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.1595, allocations: 211.8 kB / 478.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1595, allocations: 29.7 kB / 478.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.1596, allocations: 108.1 kB / 478.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.1596, allocations: 27.7 kB / 478.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.1597, allocations: 17.72 kB / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1599, allocations: 334.8 kB / 479.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.143e-05/0.16, allocations: 27.98 kB / 479.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1601, allocations: 65.14 kB / 479.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.1603, allocations: 95.88 kB / 479.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1603, allocations: 0 / 479.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002829/0.1606, allocations: 137.4 kB / 479.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1606, allocations: 4 kB / 479.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1606, allocations: 7.938 kB / 479.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1607, allocations: 8 kB / 479.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1608, allocations: 23.98 kB / 479.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1608, allocations: 0 / 479.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.1609, allocations: 19.83 kB / 479.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1609, allocations: 4 kB / 479.5 MB, free: 6.402 MB / 350.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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001316/0.1611, allocations: 138.2 kB / 479.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.1611, allocations: 15.81 kB / 479.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.1612, allocations: 24.98 kB / 479.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1612, allocations: 4 kB / 479.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1612, allocations: 0 / 479.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1612, allocations: 0 / 479.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.1614, allocations: 221.5 kB / 479.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1614, allocations: 4 kB / 479.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.1615, allocations: 4 kB / 479.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1615, allocations: 0 / 479.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1615, allocations: 4 kB / 479.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1615, allocations: 0 / 479.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1615, allocations: 3.984 kB / 479.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.1618, allocations: 173.6 kB / 480.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.1619, allocations: 100.8 kB / 480.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.1619, allocations: 8 kB / 480.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.162, allocations: 7.984 kB / 480.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.1621, allocations: 4 kB / 480.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.1621, allocations: 12.11 kB / 480.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.1623, allocations: 156.2 kB / 480.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1623, allocations: 0 / 480.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1626, allocations: 39.98 kB / 480.4 MB, free: 5.398 MB / 350.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001231/0.1638, allocations: 465.5 kB / 480.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.1641, allocations: 83.91 kB / 481 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1641, allocations: 0 / 481 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1642, allocations: 47.91 kB / 481 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1646, allocations: 47.89 kB / 481.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.1653, allocations: 328.7 kB / 481.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1656, allocations: 0.7166 MB / 482.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.1656, allocations: 27.42 kB / 482.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1656, allocations: 0 / 482.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of Templates: time 0.00612/0.1718, allocations: 2.7 MB / 484.8 MB, free: 1.129 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches