Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 96.7 kB / 15.7 MB, free: 468 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.0019/0.0019, allocations: 176.7 kB / 16.58 MB, free: 6.062 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.014/2.014, allocations: 205.4 MB / 222.8 MB, free: 5.891 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.4996/0.4996, allocations: 43.57 MB / 314.6 MB, free: 8.621 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.0005204/0.0005204, allocations: 20 kB / 384 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1677, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002395/0.1702, allocations: 1.515 MB / 444.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1716, allocations: 0.8435 MB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.1717, allocations: 0 / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.1722, allocations: 251.4 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.1726, allocations: 159.6 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.1729, allocations: 135.6 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.1732, allocations: 203.4 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.1734, allocations: 17.55 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1736, allocations: 119.5 kB / 446.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.1738, allocations: 143.6 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.1739, allocations: 11.92 kB / 446.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.174, allocations: 35.98 kB / 446.2 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.1741, allocations: 51.83 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.1741, allocations: 65.5 kB / 446.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1744, allocations: 160 kB / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1744, allocations: 0 / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1744, allocations: 0 / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1745, allocations: 0 / 446.5 MB, free: 9.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008262/0.1753, allocations: 0.5368 MB / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.1753, allocations: 16.02 kB / 447.1 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.1754, allocations: 27.62 kB / 447.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.1758, allocations: 263 kB / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.1759, allocations: 8 kB / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1759, allocations: 4 kB / 447.4 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.1761, allocations: 91.36 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1762, allocations: 8 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1762, allocations: 3.953 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1762, allocations: 0 / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1763, allocations: 47.84 kB / 447.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.177, allocations: 449 kB / 447.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1772, allocations: 121.3 kB / 448.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.1773, allocations: 45.69 kB / 448.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.1774, allocations: 3.953 kB / 448.1 MB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.1777, allocations: 117 kB / 448.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1777, allocations: 0 / 448.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009176/0.1786, allocations: 384.2 kB / 448.6 MB, free: 7.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1787, allocations: 77.11 kB / 448.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.1792, allocations: 485.6 kB / 449.2 MB, free: 6.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.1792, allocations: 33.7 kB / 449.2 MB, free: 6.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1793, allocations: 156.4 kB / 449.3 MB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.1794, allocations: 43.36 kB / 449.4 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-06/0.1794, allocations: 8 kB / 449.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1796, allocations: 342.8 kB / 449.7 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-05/0.1797, allocations: 39.94 kB / 449.8 MB, free: 5.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1798, allocations: 75.41 kB / 449.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.1799, allocations: 44 kB / 449.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1799, allocations: 0 / 449.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000301/0.1802, allocations: 185.3 kB / 450.1 MB, free: 5.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1802, allocations: 8 kB / 450.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1802, allocations: 0 / 450.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1803, allocations: 4.062 kB / 450.1 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1804, allocations: 35.98 kB / 450.1 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1804, allocations: 3.938 kB / 450.1 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.1805, allocations: 15.98 kB / 450.1 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1805, allocations: 4 kB / 450.1 MB, free: 5.43 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.0001709/0.1807, allocations: 169.7 kB / 450.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.1808, allocations: 31.62 kB / 450.3 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.1808, allocations: 38.81 kB / 450.4 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1809, allocations: 11.98 kB / 450.4 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1809, allocations: 0 / 450.4 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1809, allocations: 0 / 450.4 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007501/0.1816, allocations: 0.6284 MB / 451 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1817, allocations: 0 / 451 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.1817, allocations: 19.94 kB / 451 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1817, allocations: 8.047 kB / 451 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1817, allocations: 11.94 kB / 451 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1818, allocations: 4 kB / 451 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1818, allocations: 3.953 kB / 451.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.1821, allocations: 360.2 kB / 451.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.1822, allocations: 108.7 kB / 451.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.1823, allocations: 11.94 kB / 451.5 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1824, allocations: 4 kB / 451.5 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.1825, allocations: 27.86 kB / 451.6 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1825, allocations: 8 kB / 451.6 MB, free: 3.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003472/0.1828, allocations: 359.1 kB / 451.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1829, allocations: 0 / 451.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.1832, allocations: 36 kB / 451.9 MB, free: 3.496 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.001179/0.1844, allocations: 476.1 kB / 452.4 MB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.1847, allocations: 119.8 kB / 452.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.1847, allocations: 0 / 452.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1848, allocations: 59.86 kB / 452.6 MB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.1853, allocations: 57.39 kB / 452.6 MB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008788/0.1862, allocations: 0.557 MB / 453.2 MB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.1866, allocations: 0.7713 MB / 454 MB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.1867, allocations: 38.53 kB / 454 MB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.1868, allocations: 23.44 kB / 454 MB, free: 1.387 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1868, allocations: 7.938 kB / 454 MB, free: 1.379 MB / 382.1 MB Notification: Performance of Templates: time 0.269/0.4557, allocations: 2.504 MB / 456.5 MB, free: 45.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches