Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 106.9 kB / 17.21 MB, free: 6.27 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.001751/0.001751, allocations: 194 kB / 18.12 MB, free: 5.363 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.477/1.477, allocations: 222.9 MB / 241.8 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1509, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003365/0.1543, allocations: 1.756 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.1563, allocations: 1.456 MB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.1564, allocations: 7.938 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1566, allocations: 27.91 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.1568, allocations: 51.77 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.157, allocations: 99.14 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.1572, allocations: 91.75 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.82e-05/0.1572, allocations: 4.234 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.1573, allocations: 39.78 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1574, allocations: 43.84 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1574, allocations: 0 / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1576, allocations: 67.84 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.1576, allocations: 15.91 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1577, allocations: 31.8 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1578, allocations: 123.9 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1579, allocations: 0 / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1579, allocations: 0 / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.1579, allocations: 0 / 472.3 MB, free: 11.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004472/0.1583, allocations: 391.2 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.1584, allocations: 12.03 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1584, allocations: 8.844 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1586, allocations: 214.6 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1586, allocations: 8.375 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.1587, allocations: 8.062 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1588, allocations: 75.38 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1588, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.1588, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-06/0.1588, allocations: 4 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-05/0.1589, allocations: 23.92 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.1592, allocations: 280.9 kB / 473.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1594, allocations: 50.69 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.1595, allocations: 24.84 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1595, allocations: 4 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.1597, allocations: 71.33 kB / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1597, allocations: 0 / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004894/0.1602, allocations: 177.1 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.1602, allocations: 81.11 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1604, allocations: 145.8 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1604, allocations: 37.7 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.1605, allocations: 92.14 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.1605, allocations: 27.69 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1606, allocations: 17.72 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1607, allocations: 326.8 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.1608, allocations: 23.98 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.1608, allocations: 38.56 kB / 474.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.161, allocations: 65.69 kB / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.161, allocations: 0 / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.1611, allocations: 93.58 kB / 474.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1612, allocations: 8.188 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.1612, allocations: 0 / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1612, allocations: 3.938 kB / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.1613, allocations: 19.92 kB / 474.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1613, allocations: 8.031 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.1613, allocations: 11.88 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1614, allocations: 4.375 kB / 474.6 MB, free: 8.453 MB / 350.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 9.486e-05/0.1615, allocations: 113.8 kB / 474.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1615, allocations: 11.91 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.1615, allocations: 12.7 kB / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1615, allocations: 4 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1615, allocations: 7.938 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1616, allocations: 3.938 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.162, allocations: 391.3 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.162, allocations: 0 / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.1621, allocations: 15.92 kB / 475.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1621, allocations: 0 / 475.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1621, allocations: 7.938 kB / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1621, allocations: 0 / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1621, allocations: 0 / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1623, allocations: 208.5 kB / 475.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.1624, allocations: 89 kB / 475.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1624, allocations: 7.922 kB / 475.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.1625, allocations: 8 kB / 475.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.1625, allocations: 0 / 475.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1626, allocations: 7.984 kB / 475.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.113e-05/0.1627, allocations: 118 kB / 475.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1627, allocations: 4 kB / 475.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1629, allocations: 27.98 kB / 475.6 MB, free: 7.328 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: 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.001147/0.1641, allocations: 0.4933 MB / 476.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1643, allocations: 55.97 kB / 476.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1643, allocations: 0 / 476.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/0.1644, allocations: 31.92 kB / 476.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1647, allocations: 29.94 kB / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.1651, allocations: 208.5 kB / 476.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1654, allocations: 0.6965 MB / 477.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.289e-05/0.1655, allocations: 29.11 kB / 477.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.1655, allocations: 23.42 kB / 477.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1655, allocations: 0 / 477.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of Templates: time 0.004203/0.1697, allocations: 1.887 MB / 479.1 MB, free: 4.027 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches