Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 93.09 kB / 17.35 MB, free: 6.371 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.00162/0.00162, allocations: 172.4 kB / 18.25 MB, free: 5.523 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.525/1.525, allocations: 223.3 MB / 242.3 MB, free: 14.51 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.2088/0.2088, allocations: 44.25 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 12 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1575, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002417/0.16, allocations: 1.413 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1615, allocations: 0.8537 MB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.1616, allocations: 4 kB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1619, allocations: 39.88 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1621, allocations: 55.81 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1624, allocations: 94.14 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1626, allocations: 95.69 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1627, allocations: 12.23 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.1628, allocations: 39.78 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.1629, allocations: 31.84 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.163, allocations: 0 / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1631, allocations: 43.92 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.1632, allocations: 23.92 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.355e-05/0.1632, allocations: 61.44 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1635, allocations: 115.8 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1635, allocations: 8 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1635, allocations: 0 / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1635, allocations: 0 / 475.1 MB, free: 10.41 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.0006289/0.1641, allocations: 403 kB / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1642, allocations: 12.03 kB / 475.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.1643, allocations: 8.844 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1645, allocations: 224.4 kB / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1646, allocations: 4.375 kB / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1646, allocations: 8.125 kB / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1647, allocations: 57.67 kB / 475.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1648, allocations: 0 / 475.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1648, allocations: 0 / 475.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1648, allocations: 4 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.1649, allocations: 15.98 kB / 475.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.1653, allocations: 300.8 kB / 476.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1655, allocations: 58.69 kB / 476.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.1656, allocations: 20.84 kB / 476.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.1656, allocations: 0 / 476.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.1659, allocations: 75.33 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1659, allocations: 0 / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005683/0.1665, allocations: 177.2 kB / 476.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.1665, allocations: 59.34 kB / 476.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1668, allocations: 222.7 kB / 476.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1668, allocations: 29.7 kB / 476.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.1669, allocations: 108.1 kB / 476.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.1669, allocations: 23.66 kB / 476.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.1669, allocations: 17.7 kB / 476.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1671, allocations: 326.8 kB / 477.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.1672, allocations: 24 kB / 477.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.238e-05/0.1672, allocations: 33.7 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1673, allocations: 57.7 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1674, allocations: 3.938 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002017/0.1676, allocations: 101.6 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1676, allocations: 11.98 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.1676, allocations: 4.109 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1676, allocations: 0 / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.1677, allocations: 15.94 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1677, allocations: 7.984 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.1678, allocations: 3.938 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1678, allocations: 12.17 kB / 477.5 MB, free: 7.785 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 0.0001274/0.168, allocations: 121.8 kB / 477.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.168, allocations: 19.75 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/0.168, allocations: 25.33 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1681, allocations: 4 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.1681, allocations: 7.984 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1681, allocations: 3.938 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.1686, allocations: 391.3 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1686, allocations: 0 / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.1686, allocations: 8 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1686, allocations: 0 / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1686, allocations: 7.938 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1686, allocations: 4.031 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1686, allocations: 384 / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1689, allocations: 208.1 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.169, allocations: 89 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.169, allocations: 7.938 kB / 478.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.1691, allocations: 8 kB / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.1691, allocations: 11.98 kB / 478.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1691, allocations: 4 kB / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1693, allocations: 176.3 kB / 478.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1693, allocations: 0 / 478.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.1696, allocations: 20 kB / 478.6 MB, free: 6.586 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.001359/0.171, allocations: 468.6 kB / 479.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.1712, allocations: 55.97 kB / 479.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1712, allocations: 0 / 479.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/0.1713, allocations: 31.94 kB / 479.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1717, allocations: 27.91 kB / 479.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.1722, allocations: 290.3 kB / 479.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1726, allocations: 0.7083 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.1727, allocations: 17.17 kB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.1727, allocations: 19.44 kB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1727, allocations: 0 / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of Templates: time 0.00492/0.1777, allocations: 1.638 MB / 481.8 MB, free: 3.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches