Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 96.14 kB / 15.87 MB, free: 12 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.001525/0.001525, allocations: 197.9 kB / 16.79 MB, free: 6.828 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.894/1.894, allocations: 205.1 MB / 222.6 MB, free: 4.785 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.385/0.385, allocations: 43.5 MB / 313.5 MB, free: 8.461 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.00163/0.00163, allocations: 67.91 kB / 382 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.153, allocations: 57.79 MB / 439.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.0034/0.1565, allocations: 1.756 MB / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1578, allocations: 0.7963 MB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.1579, allocations: 0 / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.1582, allocations: 39.83 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1584, allocations: 39.84 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1586, allocations: 83.83 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.1588, allocations: 83.77 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1589, allocations: 16.22 kB / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.159, allocations: 39.73 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.873e-05/0.1591, allocations: 31.83 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1592, allocations: 4 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1593, allocations: 35.98 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.1594, allocations: 27.84 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.485e-05/0.1594, allocations: 27.75 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1596, allocations: 115.8 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1596, allocations: 8 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1596, allocations: 0 / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1597, allocations: 0 / 442.9 MB, free: 11.75 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.0006257/0.1603, allocations: 411 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1603, allocations: 8.031 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.1604, allocations: 8.844 kB / 443.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1607, allocations: 216 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1607, allocations: 384 / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.1607, allocations: 8.125 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1609, allocations: 57.61 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1609, allocations: 0 / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.161, allocations: 4 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.161, allocations: 3.984 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.597e-05/0.1611, allocations: 19.98 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.1615, allocations: 284.9 kB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1617, allocations: 62.61 kB / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1618, allocations: 20.86 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1618, allocations: 4 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.162, allocations: 67.3 kB / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.162, allocations: 0 / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005654/0.1626, allocations: 169.3 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.1626, allocations: 59.41 kB / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1628, allocations: 186.1 kB / 444.5 MB, free: 9.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.1629, allocations: 29.7 kB / 444.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.163, allocations: 104.1 kB / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.163, allocations: 19.72 kB / 444.6 MB, free: 9.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.1631, allocations: 25.7 kB / 444.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1632, allocations: 326.8 kB / 445 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.003e-05/0.1633, allocations: 20 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.1634, allocations: 41.64 kB / 445 MB, free: 9.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1635, allocations: 57.7 kB / 445.1 MB, free: 9.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1635, allocations: 4 kB / 445.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001732/0.1637, allocations: 97.52 kB / 445.2 MB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1637, allocations: 8.172 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1637, allocations: 0 / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1637, allocations: 7.938 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.1638, allocations: 12 kB / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1638, allocations: 4.031 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.1639, allocations: 11.94 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1639, allocations: 3.984 kB / 445.2 MB, free: 9.191 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.0001139/0.164, allocations: 125.8 kB / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1641, allocations: 11.84 kB / 445.4 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.1641, allocations: 16.7 kB / 445.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1641, allocations: 4 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1641, allocations: 0 / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.1641, allocations: 7.938 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.1646, allocations: 391.2 kB / 445.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1646, allocations: 0 / 445.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.1646, allocations: 8 kB / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1646, allocations: 4 kB / 445.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1647, allocations: 11.92 kB / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1647, allocations: 0 / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1647, allocations: 0 / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1649, allocations: 200.3 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.165, allocations: 85.02 kB / 446.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.165, allocations: 11.94 kB / 446.1 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.1651, allocations: 4.359 kB / 446.1 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.1651, allocations: 4 kB / 446.1 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1651, allocations: 4 kB / 446.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1653, allocations: 152 kB / 446.2 MB, free: 8.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1653, allocations: 0 / 446.2 MB, free: 8.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1655, allocations: 16 kB / 446.3 MB, free: 8.055 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.001084/0.1666, allocations: 497.7 kB / 446.8 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1668, allocations: 55.92 kB / 446.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1668, allocations: 0 / 446.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.1669, allocations: 27.98 kB / 446.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1672, allocations: 23.98 kB / 446.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.1677, allocations: 253.2 kB / 447.1 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.168, allocations: 0.7004 MB / 447.8 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.376e-05/0.1681, allocations: 21.17 kB / 447.8 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.1681, allocations: 15.44 kB / 447.8 MB, free: 6.453 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1681, allocations: 0 / 447.8 MB, free: 6.453 MB / 382.1 MB Notification: Performance of Templates: time 0.005037/0.1732, allocations: 1.634 MB / 449.5 MB, free: 4.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches