Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001415/0.001415, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.548/1.548, allocations: 222.9 MB / 243 MB, free: 15.14 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.2626/0.2626, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 68.08 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1634, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003352/0.1667, allocations: 1.719 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1681, allocations: 0.8885 MB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.1682, allocations: 0 / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.1685, allocations: 91.69 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.1687, allocations: 79.7 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.169, allocations: 111.6 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1691, allocations: 115.7 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.316e-05/0.1692, allocations: 15.98 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/0.1693, allocations: 47.78 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.1694, allocations: 63.75 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1694, allocations: 4 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.1695, allocations: 71.89 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.1696, allocations: 19.92 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.1696, allocations: 39.75 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1698, allocations: 143.5 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1698, allocations: 0 / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1698, allocations: 0 / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1698, allocations: 0 / 474.1 MB, free: 10.24 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004348/0.1703, allocations: 418.9 kB / 474.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1703, allocations: 12.03 kB / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.1704, allocations: 16.69 kB / 474.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1706, allocations: 216 kB / 474.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1706, allocations: 4.375 kB / 474.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1707, allocations: 12.11 kB / 474.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1708, allocations: 61.64 kB / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1708, allocations: 3.906 kB / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1708, allocations: 4 kB / 474.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1708, allocations: 0 / 474.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.029e-05/0.1709, allocations: 23.98 kB / 474.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.1713, allocations: 308.7 kB / 475.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.1715, allocations: 62.48 kB / 475.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.1715, allocations: 24.97 kB / 475.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.1716, allocations: 0 / 475.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.1717, allocations: 75.31 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1717, allocations: 4 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000676/0.1724, allocations: 237.1 kB / 475.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.1724, allocations: 55.34 kB / 475.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1726, allocations: 219.5 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1726, allocations: 33.69 kB / 475.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.1727, allocations: 112 kB / 476 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.1728, allocations: 31.55 kB / 476 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.1728, allocations: 37.64 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1729, allocations: 326.8 kB / 476.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.173, allocations: 27.98 kB / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.1731, allocations: 45.7 kB / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1732, allocations: 81.64 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1732, allocations: 0 / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002165/0.1734, allocations: 133.4 kB / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.1735, allocations: 4 kB / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.1735, allocations: 0 / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1735, allocations: 4 kB / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.1736, allocations: 16 kB / 476.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1736, allocations: 11.86 kB / 476.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.1736, allocations: 8 kB / 476.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1736, allocations: 4 kB / 476.7 MB, free: 7.418 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 (13): * Single equations (assignments): 13 * 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.0001045/0.1738, allocations: 133.9 kB / 476.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1738, allocations: 15.75 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.1738, allocations: 21.41 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1738, allocations: 0 / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1738, allocations: 7.938 kB / 476.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1739, allocations: 3.984 kB / 476.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.1744, allocations: 440.1 kB / 477.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1744, allocations: 4.062 kB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.1744, allocations: 19.92 kB / 477.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1744, allocations: 4 kB / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1744, allocations: 4 kB / 477.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1745, allocations: 4.094 kB / 477.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1745, allocations: 3.938 kB / 477.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1747, allocations: 240.9 kB / 477.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.1748, allocations: 85.02 kB / 477.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1748, allocations: 8 kB / 477.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.1749, allocations: 0 / 477.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.175, allocations: 7.984 kB / 477.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.175, allocations: 4 kB / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1751, allocations: 175.5 kB / 477.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1751, allocations: 0 / 477.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1754, allocations: 31.91 kB / 477.9 MB, free: 6.117 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001162/0.1766, allocations: 0.5206 MB / 478.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1768, allocations: 83.78 kB / 478.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1768, allocations: 0 / 478.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.1769, allocations: 43.92 kB / 478.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1772, allocations: 27.92 kB / 478.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.1778, allocations: 280.7 kB / 478.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.1783, allocations: 0.7233 MB / 479.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.1784, allocations: 16.66 kB / 479.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.1784, allocations: 19.42 kB / 479.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1784, allocations: 0 / 479.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of Templates: time 0.006019/0.1845, allocations: 1.958 MB / 481.5 MB, free: 2.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches