Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009325/0.0009325, allocations: 179.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009618/0.0009618, allocations: 91.94 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4798/0.4798, allocations: 43.56 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004071, allocations: 12 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1639, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002411/0.1664, allocations: 1.361 MB / 491.6 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1678, allocations: 0.72 MB / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.168, allocations: 3.938 kB / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.1684, allocations: 63.78 kB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.1687, allocations: 47.83 kB / 492.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.169, allocations: 83.83 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.1692, allocations: 79.7 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.1693, allocations: 7.984 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1695, allocations: 43.83 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1696, allocations: 35.84 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1696, allocations: 4 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1697, allocations: 23.98 kB / 492.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.1698, allocations: 19.91 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.1699, allocations: 37.64 kB / 492.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1701, allocations: 80.06 kB / 492.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1701, allocations: 0 / 492.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1701, allocations: 0 / 492.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1701, allocations: 0 / 492.8 MB, free: 8.59 MB / 378.7 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.0007026/0.1708, allocations: 394.8 kB / 493.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.1709, allocations: 11.97 kB / 493.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.1709, allocations: 11.89 kB / 493.2 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.1713, allocations: 198.9 kB / 493.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.1713, allocations: 4 kB / 493.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1713, allocations: 4 kB / 493.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1715, allocations: 45.67 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1715, allocations: 3.984 kB / 493.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1715, allocations: 4 kB / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1715, allocations: 3.953 kB / 493.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/0.1716, allocations: 11.98 kB / 493.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.1719, allocations: 185.6 kB / 493.7 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.172, allocations: 62.55 kB / 493.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.1721, allocations: 16.86 kB / 493.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.1721, allocations: 3.938 kB / 493.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.1724, allocations: 59.39 kB / 493.8 MB, free: 7.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.124e-06/0.1724, allocations: 0 / 493.8 MB, free: 7.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003242/0.1727, allocations: 101.5 kB / 493.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.1728, allocations: 63.36 kB / 494 MB, free: 7.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.173, allocations: 174.2 kB / 494.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.173, allocations: 25.7 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.1731, allocations: 104.1 kB / 494.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.1732, allocations: 11.81 kB / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.1732, allocations: 0 / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1733, allocations: 326.8 kB / 494.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.675e-05/0.1734, allocations: 19.98 kB / 494.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.1734, allocations: 29.69 kB / 494.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.716e-05/0.1735, allocations: 16.19 kB / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1735, allocations: 0 / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.1737, allocations: 89.53 kB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1737, allocations: 7.281 kB / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1737, allocations: 0 / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1738, allocations: 0 / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.1739, allocations: 20.02 kB / 494.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.1739, allocations: 7.891 kB / 494.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.315e-05/0.1739, allocations: 3.906 kB / 494.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.174, allocations: 4 kB / 494.8 MB, free: 6.379 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.1741, allocations: 129.6 kB / 494.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.1741, allocations: 7.906 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.1741, allocations: 12.31 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1742, allocations: 4 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1742, allocations: 4 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1742, allocations: 3.953 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1744, allocations: 189.6 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1744, allocations: 0 / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.1744, allocations: 0 / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1744, allocations: 4 kB / 495.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-06/0.1744, allocations: 0 / 495.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1744, allocations: 0 / 495.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1744, allocations: 0 / 495.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1747, allocations: 120.8 kB / 495.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.1747, allocations: 96.84 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1748, allocations: 0 / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.378e-05/0.1748, allocations: 4 kB / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.1749, allocations: 4 kB / 495.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1749, allocations: 7.984 kB / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.175, allocations: 140.1 kB / 495.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.175, allocations: 0 / 495.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.1753, allocations: 15.98 kB / 495.5 MB, free: 5.562 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/0.1763, allocations: 414.2 kB / 496 MB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1765, allocations: 39.92 kB / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1765, allocations: 0 / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.381e-05/0.1766, allocations: 16 kB / 496 MB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1769, allocations: 31.92 kB / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.1774, allocations: 234.9 kB / 496.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1777, allocations: 0.7004 MB / 497 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.1778, allocations: 11.44 kB / 497 MB, free: 4.102 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1778, allocations: 4 kB / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of Templates: time 0.003985/0.1818, allocations: 1.668 MB / 498.7 MB, free: 2.434 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches