Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 107.7 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.001297/0.001297, 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.459/1.459, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.225/0.225, allocations: 44.18 MB / 336.1 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 64.16 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1549, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004295/0.1593, allocations: 1.714 MB / 470.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1611, allocations: 0.8536 MB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1613, allocations: 0 / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.1618, allocations: 51.86 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.1624, allocations: 51.81 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.1629, allocations: 91.77 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.1631, allocations: 91.7 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.1633, allocations: 11.98 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.1635, allocations: 39.78 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1637, allocations: 31.84 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.1637, allocations: 4 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.1639, allocations: 27.92 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.164, allocations: 23.92 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.1641, allocations: 43.66 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.1646, allocations: 107.9 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.728e-05/0.1646, allocations: 4 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1646, allocations: 4 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1646, allocations: 0 / 471.7 MB, free: 11.69 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.001284/0.1659, allocations: 430.8 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/0.166, allocations: 8.031 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.1661, allocations: 16.75 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.1665, allocations: 215.9 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1666, allocations: 4.375 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1666, allocations: 8.125 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.1668, allocations: 45.69 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1668, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.1669, allocations: 7.984 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1669, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.167, allocations: 8 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1673, allocations: 193.7 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.1675, allocations: 50.56 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.1676, allocations: 28.78 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.1676, allocations: 0 / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.1679, allocations: 67.38 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1679, allocations: 4 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000303/0.1682, allocations: 97.42 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.1683, allocations: 63.33 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.1686, allocations: 262.9 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1686, allocations: 29.7 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1687, allocations: 108.1 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.1687, allocations: 11.89 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.1688, allocations: 17.72 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1689, allocations: 334.8 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.169, allocations: 15.92 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/0.169, allocations: 33.7 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.988e-05/0.1692, allocations: 41.66 kB / 473.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1692, allocations: 0 / 473.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000203/0.1694, allocations: 89.42 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1694, allocations: 8 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1694, allocations: 0 / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1694, allocations: 0 / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.1695, allocations: 15.97 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1695, allocations: 0 / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.1696, allocations: 8.25 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1696, allocations: 8 kB / 473.9 MB, free: 9.262 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 (7): * Single equations (assignments): 7 * 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.0001775/0.1698, allocations: 136.6 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.1698, allocations: 15.81 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.1699, allocations: 21 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1699, allocations: 3.984 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1699, allocations: 0 / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1699, allocations: 4 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.1703, allocations: 197.6 kB / 474.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1703, allocations: 0 / 474.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.1703, allocations: 4 kB / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1703, allocations: 0 / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1703, allocations: 3.984 kB / 474.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1703, allocations: 4 kB / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1703, allocations: 0 / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1706, allocations: 120.8 kB / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.1707, allocations: 88.92 kB / 474.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1707, allocations: 0 / 474.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-05/0.1708, allocations: 4 kB / 474.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.1708, allocations: 7.922 kB / 474.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1709, allocations: 4 kB / 474.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.1711, allocations: 200.2 kB / 474.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1711, allocations: 0 / 474.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1713, allocations: 16 kB / 474.7 MB, free: 8.352 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 (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.00129/0.1726, allocations: 411.9 kB / 475.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.1728, allocations: 43.91 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1728, allocations: 0 / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.276e-05/0.1729, allocations: 20 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.1732, allocations: 27.91 kB / 475.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.1739, allocations: 276.5 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1742, allocations: 0.716 MB / 476.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.082e-05/0.1743, allocations: 24.39 kB / 476.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.1744, allocations: 11.44 kB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1744, allocations: 0 / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Templates: time 0.005411/0.1798, allocations: 1.466 MB / 477.6 MB, free: 5.492 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches