Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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 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 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 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008882, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 178.5 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4493/0.4493, allocations: 43.58 MB / 314.6 MB, free: 8.742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005978/0.0005979, allocations: 24 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1624, allocations: 58.87 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002855/0.1654, allocations: 1.387 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1669, allocations: 0.7461 MB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.98e-05/0.167, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.1674, allocations: 47.86 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1677, allocations: 47.83 kB / 445.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1679, allocations: 71.84 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1681, allocations: 91.69 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1683, allocations: 8.219 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1684, allocations: 43.77 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.1685, allocations: 27.86 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.1685, allocations: 4 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1686, allocations: 35.98 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.1687, allocations: 23.91 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.1688, allocations: 37.64 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1689, allocations: 96.03 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1689, allocations: 0 / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.169, allocations: 0 / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.169, allocations: 4 kB / 445.5 MB, free: 10.32 MB / 382.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.0007222/0.1697, allocations: 406.8 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.1698, allocations: 12.03 kB / 445.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.1698, allocations: 11.81 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.1702, allocations: 206.8 kB / 446.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.1702, allocations: 8 kB / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1702, allocations: 7.984 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1704, allocations: 53.67 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1705, allocations: 0 / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1705, allocations: 0 / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1705, allocations: 7.953 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1706, allocations: 23.92 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.1711, allocations: 292.8 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.1713, allocations: 66.56 kB / 446.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.1714, allocations: 20.84 kB / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1714, allocations: 0 / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.1717, allocations: 75.28 kB / 446.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1717, allocations: 0 / 446.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006304/0.1723, allocations: 181.2 kB / 446.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1724, allocations: 51.41 kB / 446.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.1726, allocations: 218.7 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1726, allocations: 25.7 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.1727, allocations: 112 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1728, allocations: 23.66 kB / 447.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-06/0.1728, allocations: 4 kB / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1729, allocations: 326.8 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.422e-05/0.173, allocations: 24 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.1731, allocations: 33.7 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.369e-05/0.1731, allocations: 20 kB / 447.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1732, allocations: 0 / 447.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.1733, allocations: 105.5 kB / 447.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1734, allocations: 4 kB / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1734, allocations: 0 / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1734, allocations: 4.031 kB / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.1735, allocations: 23.98 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.1735, allocations: 3.938 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.1736, allocations: 4 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.1736, allocations: 0 / 447.8 MB, free: 7.785 MB / 382.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 ($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 (10): * Single equations (assignments): 10 * 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.0001192/0.1737, allocations: 129.8 kB / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1738, allocations: 19.77 kB / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.1738, allocations: 13.56 kB / 448 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1738, allocations: 11.98 kB / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1738, allocations: 0 / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1738, allocations: 0 / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.1744, allocations: 399.3 kB / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1744, allocations: 0 / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.1745, allocations: 8 kB / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1745, allocations: 0 / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1745, allocations: 11.98 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1745, allocations: 8.531 kB / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1745, allocations: 0 / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1748, allocations: 208.1 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.1748, allocations: 96.97 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.1749, allocations: 7.984 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.175, allocations: 0 / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.175, allocations: 8 kB / 448.7 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.175, allocations: 11.98 kB / 448.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1752, allocations: 168.3 kB / 448.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1752, allocations: 0 / 448.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1755, allocations: 27.98 kB / 448.9 MB, free: 6.574 MB / 382.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 (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.001378/0.1769, allocations: 456.2 kB / 449.4 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1771, allocations: 55.92 kB / 449.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1771, allocations: 0 / 449.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.1772, allocations: 31.92 kB / 449.4 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1775, allocations: 36.03 kB / 449.5 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006509/0.1782, allocations: 278.3 kB / 449.7 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1785, allocations: 0.7122 MB / 450.5 MB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.896e-05/0.1786, allocations: 17.17 kB / 450.5 MB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.1786, allocations: 15.44 kB / 450.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1786, allocations: 0 / 450.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of Templates: time 0.004678/0.1833, allocations: 1.595 MB / 452.1 MB, free: 3.375 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches