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.001148/0.001148, allocations: 97.03 kB / 17.35 MB, free: 6.367 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.001266/0.001266, allocations: 176.5 kB / 18.25 MB, free: 5.527 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.48/1.48, 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.2382/0.2382, allocations: 44.25 MB / 337.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 8 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002334/0.1544, allocations: 1.378 MB / 473.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1562, allocations: 0.8382 MB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.1563, allocations: 0 / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.1568, allocations: 51.86 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.157, allocations: 47.83 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.1573, allocations: 94.64 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1575, allocations: 95.69 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.1576, allocations: 7.984 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.809e-05/0.1577, allocations: 31.86 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.158, allocations: 39.73 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.158, allocations: 0 / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-05/0.1581, allocations: 31.97 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.1582, allocations: 27.91 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.1583, allocations: 61.39 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.1585, allocations: 119.8 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1586, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.1586, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1586, allocations: 0 / 475.1 MB, free: 10.5 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.0007049/0.1593, allocations: 414.9 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.1593, allocations: 12.03 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.1594, allocations: 8.844 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1597, allocations: 215.9 kB / 475.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.1598, allocations: 4.375 kB / 475.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1598, allocations: 4.125 kB / 475.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.16, allocations: 53.67 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.16, allocations: 0 / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.16, allocations: 0 / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.16, allocations: 0 / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.805e-05/0.1601, allocations: 19.98 kB / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.1605, allocations: 189.6 kB / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1607, allocations: 50.62 kB / 476 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.577e-05/0.1608, allocations: 24.78 kB / 476 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.1608, allocations: 4 kB / 476 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.1611, allocations: 71.3 kB / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.1611, allocations: 0 / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000329/0.1614, allocations: 97.52 kB / 476.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1615, allocations: 51.41 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.1619, allocations: 262.9 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1619, allocations: 29.7 kB / 476.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.162, allocations: 112.1 kB / 476.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.162, allocations: 15.81 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.1621, allocations: 17.7 kB / 476.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1622, allocations: 322.8 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.1622, allocations: 12 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.1623, allocations: 33.7 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1624, allocations: 45.64 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1624, allocations: 7.938 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001588/0.1626, allocations: 85.44 kB / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1626, allocations: 7.938 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1626, allocations: 0 / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1627, allocations: 4 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.1627, allocations: 11.98 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1628, allocations: 0 / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.1628, allocations: 7.938 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1628, allocations: 0 / 477.2 MB, free: 8.109 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.0001236/0.163, allocations: 145.7 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.163, allocations: 15.81 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.1631, allocations: 20.97 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1631, allocations: 4 kB / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1631, allocations: 0 / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1631, allocations: 0 / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1633, allocations: 197.5 kB / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1633, allocations: 0 / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.1633, allocations: 8 kB / 477.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1633, allocations: 0 / 477.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1633, allocations: 4 kB / 477.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1633, allocations: 3.938 kB / 477.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1634, allocations: 4.312 kB / 477.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.1635, allocations: 112.9 kB / 477.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.1636, allocations: 93 kB / 477.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1636, allocations: 0 / 477.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.1637, allocations: 4 kB / 477.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1637, allocations: 4 kB / 477.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1638, allocations: 7.984 kB / 477.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.164, allocations: 200.2 kB / 478 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.164, allocations: 0 / 478 MB, free: 7.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1642, allocations: 12 kB / 478 MB, free: 7.191 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.001169/0.1654, allocations: 412.6 kB / 478.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1656, allocations: 43.92 kB / 478.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1656, allocations: 4.062 kB / 478.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.1657, allocations: 19.98 kB / 478.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.166, allocations: 27.92 kB / 478.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.1667, allocations: 285.7 kB / 478.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.1672, allocations: 0.716 MB / 479.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.212e-05/0.1673, allocations: 16.41 kB / 479.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.1673, allocations: 15.42 kB / 479.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1673, allocations: 0 / 479.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of Templates: time 0.005346/0.1727, allocations: 1.438 MB / 481 MB, free: 4.344 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches