Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001299, 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.001246/0.001246, allocations: 202.6 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.97/1.97, allocations: 205.1 MB / 222.6 MB, free: 4.781 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.4108/0.4108, allocations: 43.5 MB / 313.5 MB, free: 8.285 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.001682/0.001682, allocations: 74.55 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1577, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003724/0.1615, allocations: 1.9 MB / 441.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.163, allocations: 0.8819 MB / 442.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.1631, allocations: 3.938 kB / 442.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.1636, allocations: 151.7 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.1639, allocations: 119.6 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.1644, allocations: 139.8 kB / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.1648, allocations: 203.4 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1649, allocations: 33.52 kB / 443.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1651, allocations: 95.61 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1652, allocations: 123.5 kB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.1652, allocations: 4 kB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.881e-05/0.1653, allocations: 39.98 kB / 443.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-05/0.1654, allocations: 43.84 kB / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.919e-05/0.1655, allocations: 71.47 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.1658, allocations: 195.5 kB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1658, allocations: 0 / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1658, allocations: 0 / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1658, allocations: 4 kB / 443.8 MB, free: 10.6 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007938/0.1666, allocations: 0.5137 MB / 444.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1666, allocations: 12.03 kB / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.1667, allocations: 20.66 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.1672, allocations: 259.6 kB / 444.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1672, allocations: 12.36 kB / 444.6 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1672, allocations: 8.125 kB / 444.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.1676, allocations: 99.36 kB / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1676, allocations: 0 / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1676, allocations: 0 / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1676, allocations: 4 kB / 444.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1678, allocations: 47.84 kB / 444.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/0.1687, allocations: 444.8 kB / 445.2 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.1692, allocations: 113.3 kB / 445.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.048e-05/0.1693, allocations: 45.62 kB / 445.4 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.1693, allocations: 8 kB / 445.4 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.1697, allocations: 109 kB / 445.5 MB, free: 8.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.123e-06/0.1697, allocations: 0 / 445.5 MB, free: 8.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009032/0.1706, allocations: 352.1 kB / 445.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.1707, allocations: 92.98 kB / 445.9 MB, free: 8.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.171, allocations: 350.9 kB / 446.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.171, allocations: 33.7 kB / 446.3 MB, free: 7.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.1711, allocations: 136.4 kB / 446.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.1712, allocations: 47.36 kB / 446.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.1713, allocations: 37.7 kB / 446.5 MB, free: 7.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000337/0.1716, allocations: 334.8 kB / 446.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1717, allocations: 43.98 kB / 446.9 MB, free: 7.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1719, allocations: 71.41 kB / 446.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.1722, allocations: 119.3 kB / 447.1 MB, free: 7.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1722, allocations: 4.734 kB / 447.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004616/0.1727, allocations: 177.5 kB / 447.2 MB, free: 6.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1727, allocations: 4 kB / 447.2 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1727, allocations: 4 kB / 447.3 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1727, allocations: 3.984 kB / 447.3 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1729, allocations: 35.92 kB / 447.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1729, allocations: 3.938 kB / 447.3 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.173, allocations: 12 kB / 447.3 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.173, allocations: 4 kB / 447.3 MB, free: 6.82 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002733/0.1733, allocations: 169.7 kB / 447.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.1733, allocations: 23.72 kB / 447.5 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.486e-05/0.1734, allocations: 33.73 kB / 447.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1734, allocations: 4 kB / 447.5 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.1734, allocations: 3.938 kB / 447.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1734, allocations: 3.938 kB / 447.5 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.1745, allocations: 0.6202 MB / 448.2 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1745, allocations: 0 / 448.2 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.1746, allocations: 19.98 kB / 448.2 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1746, allocations: 0 / 448.2 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1746, allocations: 4 kB / 448.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.1746, allocations: 4 kB / 448.2 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1747, allocations: 0 / 448.2 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.1751, allocations: 368.2 kB / 448.5 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.1752, allocations: 96.81 kB / 448.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.1752, allocations: 7.938 kB / 448.7 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1753, allocations: 8 kB / 448.7 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.1754, allocations: 11.98 kB / 448.7 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.1754, allocations: 15.98 kB / 448.7 MB, free: 5.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.1757, allocations: 261.9 kB / 448.9 MB, free: 5.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1757, allocations: 0 / 448.9 MB, free: 5.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.176, allocations: 40 kB / 449 MB, free: 5.031 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001083/0.1771, allocations: 477.1 kB / 449.4 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.1776, allocations: 107.9 kB / 449.6 MB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1776, allocations: 4 kB / 449.6 MB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1777, allocations: 64.36 kB / 449.6 MB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.1782, allocations: 68.72 kB / 449.7 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1794, allocations: 488.2 kB / 450.2 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007384/0.1802, allocations: 0.7556 MB / 450.9 MB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.935e-05/0.1803, allocations: 33.94 kB / 451 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.1803, allocations: 23.42 kB / 451 MB, free: 3.016 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1804, allocations: 0 / 451 MB, free: 3.016 MB / 382.1 MB Notification: Performance of Templates: time 0.006254/0.1866, allocations: 2.562 MB / 453.5 MB, free: 468 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches