Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 102.6 kB / 16.27 MB, free: 5.93 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.00154/0.00154, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2635/0.2635, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001603/0.001603, allocations: 71.42 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1645, allocations: 57.8 MB / 440.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003367/0.1679, allocations: 1.648 MB / 442.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1692, allocations: 0.7866 MB / 443 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.705e-05/0.1693, allocations: 0 / 443 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.1698, allocations: 51.81 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.17, allocations: 63.69 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1703, allocations: 79.77 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1705, allocations: 91.7 kB / 443.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.1705, allocations: 11.98 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.1706, allocations: 31.86 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.1707, allocations: 27.8 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1707, allocations: 4 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.996e-05/0.1708, allocations: 39.97 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.1709, allocations: 19.92 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.1709, allocations: 39.69 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1711, allocations: 115.8 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1711, allocations: 0 / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1711, allocations: 0 / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.1712, allocations: 4 kB / 443.5 MB, free: 3.859 MB / 318.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.0004609/0.1716, allocations: 434.6 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1717, allocations: 11.89 kB / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.1717, allocations: 8.844 kB / 444 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1719, allocations: 227.5 kB / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1719, allocations: 384 / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.1719, allocations: 4.125 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1721, allocations: 53.61 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.1721, allocations: 4 kB / 444.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1721, allocations: 0 / 444.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1721, allocations: 0 / 444.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.162e-05/0.1722, allocations: 15.98 kB / 444.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.1724, allocations: 193.7 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1725, allocations: 50.61 kB / 444.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.1726, allocations: 28.78 kB / 444.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.1726, allocations: 7.875 kB / 444.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.1729, allocations: 71.3 kB / 444.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1729, allocations: 0 / 444.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002616/0.1732, allocations: 93.58 kB / 444.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.1732, allocations: 51.41 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1734, allocations: 259.7 kB / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.1734, allocations: 29.7 kB / 445 MB, free: 2.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.1734, allocations: 112.1 kB / 445.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1735, allocations: 19.75 kB / 445.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.1735, allocations: 21.7 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.1736, allocations: 322.8 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.1736, allocations: 12 kB / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.834e-05/0.1737, allocations: 33.7 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.923e-05/0.1738, allocations: 45.7 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1738, allocations: 0 / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001258/0.1739, allocations: 93.31 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1739, allocations: 4 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1739, allocations: 4 kB / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.174, allocations: 0 / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.174, allocations: 11.98 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.174, allocations: 4.031 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/0.1741, allocations: 4 kB / 445.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1741, allocations: 0 / 445.7 MB, free: 1.43 MB / 318.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 8.359e-05/0.1742, allocations: 149.2 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.1742, allocations: 15.81 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.1743, allocations: 16.98 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1743, allocations: 4 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1743, allocations: 0 / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1743, allocations: 0 / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.574e-05/0.1744, allocations: 201.5 kB / 446.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1744, allocations: 320 / 446.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.1744, allocations: 4 kB / 446.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1744, allocations: 4 kB / 446.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1744, allocations: 4 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1744, allocations: 0 / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1744, allocations: 4 kB / 446.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.1746, allocations: 112.8 kB / 446.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.1746, allocations: 89.02 kB / 446.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.1747, allocations: 4 kB / 446.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.1747, allocations: 7.984 kB / 446.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.1748, allocations: 0 / 446.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.1748, allocations: 4 kB / 446.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1749, allocations: 203.2 kB / 446.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1749, allocations: 0 / 446.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.1751, allocations: 20 kB / 446.5 MB, free: 0.5117 MB / 318.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.0008697/0.176, allocations: 416.3 kB / 447 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.1761, allocations: 39.92 kB / 447 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1762, allocations: 0 / 447 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.617e-05/0.1762, allocations: 19.98 kB / 447 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.1765, allocations: 39.78 kB / 447.1 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.177, allocations: 258.7 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1774, allocations: 0.7158 MB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.864e-05/0.1774, allocations: 12.55 kB / 448 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.1775, allocations: 19.42 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1775, allocations: 0 / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Templates: time 0.004412/0.1819, allocations: 1.501 MB / 449.6 MB, free: 13.55 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches