Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008735, allocations: 96.47 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.001766/0.001767, allocations: 171.1 kB / 16.57 MB, free: 6.395 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.057/2.057, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.5418/0.5418, allocations: 43.57 MB / 314.6 MB, free: 8.703 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.000516/0.0005161, allocations: 16 kB / 384 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1688, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002517/0.1714, allocations: 1.515 MB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1731, allocations: 0.8357 MB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.1732, allocations: 11.94 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.1736, allocations: 203.5 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.1739, allocations: 155.5 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.1742, allocations: 131.8 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.1745, allocations: 191.4 kB / 445.9 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1746, allocations: 25.53 kB / 445.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1748, allocations: 99.59 kB / 446 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1749, allocations: 119.5 kB / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1749, allocations: 4 kB / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-05/0.175, allocations: 35.98 kB / 446.1 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.1751, allocations: 51.81 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.1752, allocations: 57.58 kB / 446.2 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.1754, allocations: 163.9 kB / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1754, allocations: 0 / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1754, allocations: 0 / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1754, allocations: 0 / 446.4 MB, free: 9.422 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006438/0.1761, allocations: 0.5058 MB / 446.9 MB, free: 8.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1761, allocations: 12.02 kB / 446.9 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.1762, allocations: 23.72 kB / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1765, allocations: 278.9 kB / 447.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1765, allocations: 0 / 447.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1765, allocations: 8 kB / 447.2 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.1767, allocations: 99.3 kB / 447.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1768, allocations: 0 / 447.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1768, allocations: 3.953 kB / 447.3 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1768, allocations: 4 kB / 447.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1769, allocations: 39.91 kB / 447.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.1774, allocations: 449 kB / 447.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.1777, allocations: 117.3 kB / 447.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.403e-05/0.1778, allocations: 41.69 kB / 448 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1778, allocations: 7.953 kB / 448 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.1781, allocations: 112.9 kB / 448.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.1781, allocations: 4 kB / 448.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008402/0.1789, allocations: 367.9 kB / 448.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.179, allocations: 85.03 kB / 448.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.1794, allocations: 428.5 kB / 448.9 MB, free: 6.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1795, allocations: 33.64 kB / 449 MB, free: 6.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1796, allocations: 156.3 kB / 449.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.1797, allocations: 43.3 kB / 449.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.1797, allocations: 12 kB / 449.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1798, allocations: 342.8 kB / 449.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.3e-05/0.1799, allocations: 43.92 kB / 449.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.1801, allocations: 71.41 kB / 449.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.617e-05/0.1802, allocations: 44 kB / 449.7 MB, free: 5.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1802, allocations: 4 kB / 449.7 MB, free: 5.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003025/0.1805, allocations: 181.2 kB / 449.9 MB, free: 5.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1805, allocations: 4 kB / 449.9 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1805, allocations: 0 / 449.9 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1805, allocations: 4 kB / 449.9 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1807, allocations: 27.98 kB / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1807, allocations: 4 kB / 449.9 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.1807, allocations: 11.98 kB / 449.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1808, allocations: 8.062 kB / 449.9 MB, free: 5.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001628/0.1809, allocations: 169.7 kB / 450.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.181, allocations: 27.62 kB / 450.1 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.529e-05/0.181, allocations: 38.62 kB / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1811, allocations: 0 / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1811, allocations: 4 kB / 450.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1811, allocations: 0 / 450.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007135/0.1818, allocations: 0.6283 MB / 450.8 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1818, allocations: 0.75 kB / 450.8 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.1819, allocations: 23.98 kB / 450.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1819, allocations: 0 / 450.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1819, allocations: 4 kB / 450.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1819, allocations: 3.938 kB / 450.8 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.1819, allocations: 11.95 kB / 450.8 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.1823, allocations: 364.1 kB / 451.2 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.1824, allocations: 104.8 kB / 451.3 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.1824, allocations: 0 / 451.3 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1826, allocations: 15.98 kB / 451.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.1826, allocations: 19.88 kB / 451.3 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.1826, allocations: 12 kB / 451.3 MB, free: 4.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.183, allocations: 319 kB / 451.6 MB, free: 3.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.183, allocations: 0 / 451.6 MB, free: 3.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003264/0.1833, allocations: 32 kB / 451.7 MB, free: 3.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001114/0.1844, allocations: 477.6 kB / 452.1 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.1847, allocations: 111.9 kB / 452.2 MB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1847, allocations: 3.938 kB / 452.2 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1848, allocations: 55.92 kB / 452.3 MB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.1853, allocations: 53.3 kB / 452.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/0.1862, allocations: 0.5208 MB / 452.9 MB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.1866, allocations: 0.7635 MB / 453.6 MB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.229e-05/0.1867, allocations: 38.53 kB / 453.7 MB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.1868, allocations: 23.44 kB / 453.7 MB, free: 1.711 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1868, allocations: 0 / 453.7 MB, free: 1.711 MB / 382.1 MB Notification: Performance of Templates: time 0.2735/0.4603, allocations: 2.5 MB / 456.2 MB, free: 45.29 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches