Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009101/0.0009098, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.001092/0.001092, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.522/1.522, allocations: 223.3 MB / 242.3 MB, free: 232 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.2671/0.2671, allocations: 44.26 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 13.28 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1494, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002281/0.1517, allocations: 1.409 MB / 473.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.154, allocations: 1.429 MB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.154, allocations: 3.938 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1544, allocations: 31.91 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.1546, allocations: 55.83 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.1549, allocations: 95.14 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1551, allocations: 91.69 kB / 475.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.1552, allocations: 8.234 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.255e-05/0.1553, allocations: 39.78 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1554, allocations: 35.84 kB / 475.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1554, allocations: 4 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1556, allocations: 63.89 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.1556, allocations: 15.92 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.1557, allocations: 53.52 kB / 475.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.1559, allocations: 116 kB / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.156, allocations: 0 / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.156, allocations: 0 / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.156, allocations: 3.938 kB / 475.7 MB, free: 9.891 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.0005782/0.1566, allocations: 387.2 kB / 476.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1566, allocations: 8.031 kB / 476.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.1567, allocations: 16.75 kB / 476.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1569, allocations: 206.2 kB / 476.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.157, allocations: 8.359 kB / 476.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.157, allocations: 8.125 kB / 476.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1572, allocations: 67.39 kB / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1572, allocations: 0 / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1572, allocations: 0 / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1573, allocations: 4 kB / 476.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.1573, allocations: 23.92 kB / 476.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.1578, allocations: 288.8 kB / 476.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.1579, allocations: 54.69 kB / 476.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.158, allocations: 20.84 kB / 476.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.158, allocations: 0 / 476.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.1582, allocations: 75.33 kB / 476.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1582, allocations: 3.938 kB / 476.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005941/0.1588, allocations: 169.2 kB / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.1589, allocations: 81.11 kB / 477.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1591, allocations: 152.6 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1591, allocations: 29.7 kB / 477.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.1592, allocations: 96.14 kB / 477.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1592, allocations: 27.69 kB / 477.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.1592, allocations: 13.72 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1594, allocations: 326.8 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.1594, allocations: 19.98 kB / 477.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-05/0.1595, allocations: 38.56 kB / 477.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1596, allocations: 65.69 kB / 477.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1596, allocations: 0 / 477.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.1598, allocations: 93.58 kB / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1598, allocations: 6.5 kB / 478 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1599, allocations: 4 kB / 478 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1599, allocations: 0 / 478 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.16, allocations: 23.92 kB / 478 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.16, allocations: 4.141 kB / 478 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.1601, allocations: 11.88 kB / 478 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1601, allocations: 8.219 kB / 478 MB, free: 7.352 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.0001019/0.1602, allocations: 113.8 kB / 478.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1602, allocations: 23.81 kB / 478.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.1603, allocations: 12.72 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1603, allocations: 4 kB / 478.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1603, allocations: 0 / 478.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1603, allocations: 3.938 kB / 478.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.1608, allocations: 391.2 kB / 478.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1608, allocations: 3.984 kB / 478.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.1608, allocations: 8 kB / 478.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1608, allocations: 3.938 kB / 478.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1608, allocations: 12.31 kB / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.1608, allocations: 0 / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1608, allocations: 0 / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.1611, allocations: 204.3 kB / 478.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.1612, allocations: 93 kB / 478.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1612, allocations: 7.875 kB / 478.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.1613, allocations: 4 kB / 478.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.1614, allocations: 11.98 kB / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1614, allocations: 4 kB / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.788e-05/0.1615, allocations: 115.2 kB / 479 MB, free: 6.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1615, allocations: 0 / 479 MB, free: 6.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.1618, allocations: 31.98 kB / 479 MB, free: 6.215 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.001296/0.1631, allocations: 495.9 kB / 479.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1633, allocations: 59.97 kB / 479.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1633, allocations: 0 / 479.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.44e-05/0.1634, allocations: 35.86 kB / 479.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1638, allocations: 27.97 kB / 479.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.1642, allocations: 210.1 kB / 479.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1645, allocations: 0.6965 MB / 480.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.658e-05/0.1646, allocations: 24.81 kB / 480.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.1646, allocations: 19.42 kB / 480.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1646, allocations: 0 / 480.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of Templates: time 0.004754/0.1694, allocations: 1.882 MB / 482.5 MB, free: 2.926 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches