Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007638/0.007639, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.002079/0.002079, allocations: 195.9 kB / 16.79 MB, free: 6.238 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.838/1.838, allocations: 205.1 MB / 222.6 MB, free: 4.727 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.4281/0.4281, allocations: 43.49 MB / 313.5 MB, free: 8.27 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.001468/0.001468, allocations: 63.91 kB / 382 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1684, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003489/0.1719, allocations: 1.76 MB / 441.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.174, allocations: 1.375 MB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.1741, allocations: 4 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.1744, allocations: 31.91 kB / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1747, allocations: 47.83 kB / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.1749, allocations: 75.84 kB / 443.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1751, allocations: 91.69 kB / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1752, allocations: 20.14 kB / 443.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.009e-05/0.1753, allocations: 35.86 kB / 443.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1755, allocations: 43.77 kB / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1755, allocations: 4 kB / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1756, allocations: 51.98 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.1757, allocations: 15.92 kB / 443.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.1758, allocations: 35.72 kB / 443.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.176, allocations: 123.9 kB / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.176, allocations: 0 / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.176, allocations: 0 / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.176, allocations: 0 / 443.5 MB, free: 10.87 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.0005863/0.1766, allocations: 411.1 kB / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1767, allocations: 8.031 kB / 443.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.1767, allocations: 8.844 kB / 443.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.177, allocations: 204.1 kB / 444.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.177, allocations: 4.375 kB / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.177, allocations: 8.125 kB / 444.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1772, allocations: 67.33 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1772, allocations: 3.984 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1773, allocations: 4 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1773, allocations: 4 kB / 444.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.499e-05/0.1774, allocations: 15.98 kB / 444.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.1778, allocations: 288.8 kB / 444.5 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.178, allocations: 62.61 kB / 444.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.1781, allocations: 20.86 kB / 444.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1781, allocations: 0 / 444.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.1783, allocations: 71.38 kB / 444.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1784, allocations: 0 / 444.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006294/0.179, allocations: 169.2 kB / 444.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.1791, allocations: 77.11 kB / 444.9 MB, free: 9.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1793, allocations: 157.8 kB / 445.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1793, allocations: 25.7 kB / 445.1 MB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.1793, allocations: 96.12 kB / 445.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1794, allocations: 23.66 kB / 445.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1794, allocations: 29.7 kB / 445.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1795, allocations: 318.8 kB / 445.6 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.1796, allocations: 23.92 kB / 445.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.1797, allocations: 46.94 kB / 445.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1798, allocations: 57.7 kB / 445.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1798, allocations: 0 / 445.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.18, allocations: 105.5 kB / 445.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1801, allocations: 4.188 kB / 445.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1801, allocations: 0 / 445.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1801, allocations: 7.922 kB / 445.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1802, allocations: 20 kB / 445.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1802, allocations: 8 kB / 445.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.1803, allocations: 7.875 kB / 445.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1803, allocations: 4 kB / 445.8 MB, free: 8.301 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 ($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 (10): * Single equations (assignments): 10 * 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 9.301e-05/0.1804, allocations: 125.8 kB / 446 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.1804, allocations: 11.81 kB / 446 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.1805, allocations: 12.72 kB / 446 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1805, allocations: 0 / 446 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1805, allocations: 0 / 446 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1805, allocations: 7.922 kB / 446 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.1809, allocations: 387.3 kB / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.181, allocations: 0 / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.181, allocations: 8 kB / 446.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.181, allocations: 4 kB / 446.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.181, allocations: 11.92 kB / 446.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.181, allocations: 0 / 446.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.181, allocations: 0 / 446.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1813, allocations: 204.5 kB / 446.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.1813, allocations: 85.02 kB / 446.7 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1814, allocations: 7.938 kB / 446.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.1814, allocations: 4 kB / 446.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.1815, allocations: 7.984 kB / 446.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1815, allocations: 4 kB / 446.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.22e-05/0.1816, allocations: 122.5 kB / 446.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1816, allocations: 0 / 446.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.1819, allocations: 35.98 kB / 446.9 MB, free: 7.184 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 (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.00123/0.1831, allocations: 0.5018 MB / 447.4 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.1834, allocations: 67.89 kB / 447.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1834, allocations: 0 / 447.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.1835, allocations: 23.94 kB / 447.5 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1838, allocations: 31.97 kB / 447.5 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.1843, allocations: 208.8 kB / 447.7 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1847, allocations: 0.7004 MB / 448.4 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.084e-05/0.1847, allocations: 21.17 kB / 448.4 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.1848, allocations: 15.44 kB / 448.4 MB, free: 5.598 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1848, allocations: 0 / 448.4 MB, free: 5.598 MB / 382.1 MB Notification: Performance of Templates: time 0.004698/0.1895, allocations: 1.893 MB / 450.3 MB, free: 3.707 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches