Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 204.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.1 MB / 222.6 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4217/0.4217, allocations: 43.5 MB / 313.5 MB, free: 8.5 MB / 254.1 MB 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.001411/0.001411, allocations: 67.91 kB / 382 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003525/0.1542, allocations: 1.745 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1557, allocations: 0.7963 MB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.1558, allocations: 3.938 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.1561, allocations: 31.89 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1564, allocations: 47.83 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1566, allocations: 79.84 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1568, allocations: 91.7 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1569, allocations: 12.22 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1571, allocations: 47.7 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.1571, allocations: 27.86 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1572, allocations: 0 / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1573, allocations: 35.98 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.1574, allocations: 23.91 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.1574, allocations: 31.75 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.1577, allocations: 119.8 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1577, allocations: 0 / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1577, allocations: 0 / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1577, allocations: 0 / 442.9 MB, free: 11.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007315/0.1585, allocations: 411 kB / 443.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.1585, allocations: 12.03 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.1586, allocations: 8.844 kB / 443.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1589, allocations: 208 kB / 443.5 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1589, allocations: 4.375 kB / 443.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.159, allocations: 4.125 kB / 443.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1591, allocations: 57.61 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1592, allocations: 4 kB / 443.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1592, allocations: 11.92 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1592, allocations: 0 / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.1593, allocations: 23.98 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.1598, allocations: 284.9 kB / 443.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.16, allocations: 62.61 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.16, allocations: 20.86 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1601, allocations: 0 / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.1604, allocations: 75.28 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1604, allocations: 0 / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006392/0.161, allocations: 165.3 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.1611, allocations: 51.41 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.1615, allocations: 186.1 kB / 444.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1615, allocations: 33.7 kB / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.1617, allocations: 104.1 kB / 444.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1617, allocations: 19.72 kB / 444.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.1618, allocations: 25.7 kB / 444.7 MB, free: 9.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1619, allocations: 326.8 kB / 445 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.162, allocations: 16 kB / 445 MB, free: 9.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.1621, allocations: 49.58 kB / 445 MB, free: 9.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1622, allocations: 61.69 kB / 445.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1622, allocations: 0 / 445.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002069/0.1624, allocations: 97.52 kB / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.1625, allocations: 8 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1625, allocations: 0 / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.1625, allocations: 0 / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1626, allocations: 12 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1627, allocations: 8.031 kB / 445.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.088e-05/0.1628, allocations: 11.92 kB / 445.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1628, allocations: 4 kB / 445.2 MB, free: 9.168 MB / 382.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.0001371/0.1629, allocations: 125.7 kB / 445.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.1629, allocations: 15.91 kB / 445.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.163, allocations: 16.7 kB / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.163, allocations: 0 / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.163, allocations: 0 / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.163, allocations: 3.938 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006978/0.1637, allocations: 399.4 kB / 445.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1637, allocations: 4.312 kB / 445.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.1638, allocations: 11.98 kB / 445.8 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1638, allocations: 0 / 445.8 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.1638, allocations: 15.94 kB / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1638, allocations: 0 / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1638, allocations: 0 / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.1643, allocations: 196.3 kB / 446 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.1644, allocations: 92.95 kB / 446.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1644, allocations: 3.938 kB / 446.1 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.1645, allocations: 7.984 kB / 446.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.1646, allocations: 0 / 446.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1646, allocations: 4 kB / 446.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1647, allocations: 156 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1648, allocations: 0 / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.165, allocations: 20 kB / 446.3 MB, free: 8.016 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: 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 (8): * Single equations (assignments): 6 * 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.001183/0.1662, allocations: 481.4 kB / 446.8 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1664, allocations: 55.92 kB / 446.8 MB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1664, allocations: 0 / 446.8 MB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.1665, allocations: 27.98 kB / 446.8 MB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1669, allocations: 23.98 kB / 446.9 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.1675, allocations: 249.2 kB / 447.1 MB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.1679, allocations: 0.7043 MB / 447.8 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.168, allocations: 25.16 kB / 447.8 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.168, allocations: 15.44 kB / 447.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.168, allocations: 0 / 447.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of Templates: time 0.004622/0.1726, allocations: 1.638 MB / 449.5 MB, free: 4.793 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches