Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 89.88 kB / 16.98 MB, free: 5.938 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.0009973/0.0009974, allocations: 186.8 kB / 17.88 MB, free: 5.594 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.453/1.453, allocations: 223.2 MB / 241.8 MB, free: 384 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.2269/0.2269, allocations: 44.22 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003467, allocations: 13.28 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 61.91 MB / 471.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.00267/0.166, allocations: 1.356 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1676, allocations: 0.7802 MB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.1677, allocations: 4 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.168, allocations: 35.77 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1682, allocations: 51.86 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1685, allocations: 83.78 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1687, allocations: 59.86 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.209e-05/0.1688, allocations: 4 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1689, allocations: 39.83 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.169, allocations: 31.84 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.169, allocations: 4 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.1691, allocations: 15.94 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.1692, allocations: 27.91 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.1692, allocations: 45.64 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1695, allocations: 84.09 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1695, allocations: 0 / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1695, allocations: 0 / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1695, allocations: 0 / 474.1 MB, free: 11.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007172/0.1702, allocations: 410.8 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1703, allocations: 11.97 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.1703, allocations: 11.91 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1706, allocations: 218.6 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1706, allocations: 12 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1707, allocations: 4 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1708, allocations: 49.62 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1708, allocations: 3.984 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1708, allocations: 0 / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1708, allocations: 4 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.159e-05/0.1709, allocations: 15.98 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.1711, allocations: 185.7 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.1713, allocations: 58.55 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1713, allocations: 0 / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.1715, allocations: 67.44 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.1715, allocations: 0 / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002829/0.1718, allocations: 101.4 kB / 475.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1719, allocations: 55.41 kB / 475.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.1721, allocations: 262.3 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1722, allocations: 25.7 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.1723, allocations: 112.1 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1723, allocations: 15.89 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.1723, allocations: 0 / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1725, allocations: 322.8 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.1725, allocations: 12 kB / 476 MB, free: 9.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.1726, allocations: 33.7 kB / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.1727, allocations: 12 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1727, allocations: 0 / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001516/0.1728, allocations: 89.42 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1729, allocations: 4 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1729, allocations: 7.953 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1729, allocations: 0 / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.173, allocations: 12 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.173, allocations: 4.031 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.173, allocations: 15.83 kB / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.173, allocations: 0 / 476.2 MB, free: 8.82 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.1732, allocations: 138.3 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.1732, allocations: 15.84 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.1732, allocations: 17 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1733, allocations: 3.953 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1733, allocations: 0 / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1733, allocations: 3.984 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.1735, allocations: 189.6 kB / 476.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1735, allocations: 4.25 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.1735, allocations: 7.984 kB / 476.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1735, allocations: 4 kB / 476.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1735, allocations: 0 / 476.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1735, allocations: 4 kB / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1735, allocations: 3.953 kB / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.1737, allocations: 108.9 kB / 476.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.1738, allocations: 96.86 kB / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1738, allocations: 4 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.1739, allocations: 7.984 kB / 476.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1739, allocations: 3.953 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1739, allocations: 4 kB / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.1741, allocations: 196.5 kB / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1741, allocations: 0 / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000214/0.1743, allocations: 20 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.1755, allocations: 421.3 kB / 477.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.1757, allocations: 39.98 kB / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1757, allocations: 0 / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.165e-05/0.1758, allocations: 23.92 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.176, allocations: 19.98 kB / 477.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.1765, allocations: 273.9 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1769, allocations: 0.7121 MB / 478.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.669e-05/0.1769, allocations: 20.41 kB / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.177, allocations: 11.44 kB / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.177, allocations: 0 / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of Templates: time 0.004434/0.1814, allocations: 1.403 MB / 479.9 MB, free: 5.105 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches