Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001447/0.001447, allocations: 194 kB / 18.77 MB, free: 4.742 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.355/1.355, allocations: 222.9 MB / 242.4 MB, free: 15.5 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.2124/0.2124, allocations: 44.18 MB / 336.8 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 69.38 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1537, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003265/0.1571, allocations: 1.749 MB / 470.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1586, allocations: 0.8693 MB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.1587, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.159, allocations: 43.81 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.1593, allocations: 51.81 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1596, allocations: 91.84 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1598, allocations: 103.6 kB / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1599, allocations: 16.16 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.16, allocations: 43.78 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.1601, allocations: 31.84 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1602, allocations: 0 / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1603, allocations: 39.98 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.1604, allocations: 23.92 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.1604, allocations: 39.69 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.1606, allocations: 92.03 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1606, allocations: 0 / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1606, allocations: 0 / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1606, allocations: 0 / 472.4 MB, free: 11.65 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.0005876/0.1612, allocations: 415 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1613, allocations: 12.03 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.1613, allocations: 16.73 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1616, allocations: 212.6 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1616, allocations: 4.375 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1617, allocations: 12.11 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1619, allocations: 61.61 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1619, allocations: 0 / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1619, allocations: 0 / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1619, allocations: 7.938 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.814e-05/0.162, allocations: 15.98 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.1624, allocations: 304.7 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1626, allocations: 58.61 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.1627, allocations: 20.86 kB / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.1627, allocations: 0 / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.163, allocations: 63.39 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.163, allocations: 4 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005842/0.1636, allocations: 185.2 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1636, allocations: 55.41 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1639, allocations: 222.7 kB / 474 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1639, allocations: 25.7 kB / 474 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.164, allocations: 116 kB / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.164, allocations: 23.66 kB / 474.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.1641, allocations: 25.7 kB / 474.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1642, allocations: 326.8 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-05/0.1643, allocations: 23.98 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.1644, allocations: 41.58 kB / 474.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1645, allocations: 57.72 kB / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1645, allocations: 0 / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.1647, allocations: 105.5 kB / 474.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1647, allocations: 4 kB / 474.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1647, allocations: 0 / 474.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1648, allocations: 0 / 474.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.1649, allocations: 19.98 kB / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1649, allocations: 0 / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.1649, allocations: 7.938 kB / 474.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1649, allocations: 4 kB / 474.8 MB, free: 9.012 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.0001127/0.1651, allocations: 129.8 kB / 474.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.1651, allocations: 19.84 kB / 474.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.1652, allocations: 17.41 kB / 474.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1652, allocations: 384 / 474.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1652, allocations: 4 kB / 474.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1652, allocations: 7.922 kB / 474.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.1656, allocations: 395.3 kB / 475.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1656, allocations: 3.984 kB / 475.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.1657, allocations: 15.97 kB / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1657, allocations: 0 / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1657, allocations: 11.92 kB / 475.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1657, allocations: 0 / 475.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1657, allocations: 0 / 475.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.166, allocations: 208.1 kB / 475.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.166, allocations: 85.02 kB / 475.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1661, allocations: 11.94 kB / 475.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.1662, allocations: 4 kB / 475.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.1662, allocations: 7.984 kB / 475.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1662, allocations: 4 kB / 475.7 MB, free: 8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.1664, allocations: 172.3 kB / 475.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1664, allocations: 0 / 475.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1667, allocations: 24 kB / 475.9 MB, free: 7.809 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.001083/0.1677, allocations: 464 kB / 476.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1679, allocations: 67.84 kB / 476.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.168, allocations: 0 / 476.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.168, allocations: 23.98 kB / 476.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1684, allocations: 37.88 kB / 476.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.169, allocations: 318.5 kB / 476.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1693, allocations: 0.7083 MB / 477.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.1694, allocations: 15.44 kB / 477.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1694, allocations: 0 / 477.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of Templates: time 0.00415/0.1735, allocations: 1.966 MB / 479.4 MB, free: 4.352 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches