Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006217/0.006217, allocations: 101.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.001363/0.001363, allocations: 196.2 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.996/1.996, 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.4164/0.4164, allocations: 43.49 MB / 313.5 MB, free: 8.512 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.001517/0.001517, allocations: 66.56 kB / 382 MB, free: 8.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1671, allocations: 57.78 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.005529/0.1727, allocations: 1.753 MB / 441.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1742, allocations: 0.804 MB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1743, allocations: 3.938 kB / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.1748, allocations: 39.88 kB / 442.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.1751, allocations: 55.81 kB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.1753, allocations: 83.84 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1755, allocations: 87.77 kB / 442.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1757, allocations: 8.219 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.1758, allocations: 39.78 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1759, allocations: 39.72 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1759, allocations: 4 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.176, allocations: 39.98 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.1761, allocations: 23.91 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.1762, allocations: 39.73 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.1764, allocations: 115.9 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.1764, allocations: 0 / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1765, allocations: 0 / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1765, allocations: 0 / 443 MB, free: 11.68 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.0006079/0.1771, allocations: 426.8 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1771, allocations: 12.03 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.1772, allocations: 12.84 kB / 443.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1775, allocations: 220 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1775, allocations: 384 / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1775, allocations: 8.125 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1777, allocations: 53.67 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1777, allocations: 0 / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1777, allocations: 3.938 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1777, allocations: 4 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.1778, allocations: 19.92 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.1783, allocations: 300.8 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1784, allocations: 50.69 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.1785, allocations: 24.84 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1786, allocations: 0 / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.1788, allocations: 75.33 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1788, allocations: 0 / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000617/0.1795, allocations: 177.1 kB / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1795, allocations: 55.41 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1797, allocations: 218.7 kB / 444.6 MB, free: 9.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1798, allocations: 25.7 kB / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.1798, allocations: 108.1 kB / 444.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.1799, allocations: 27.66 kB / 444.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.1799, allocations: 29.64 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1801, allocations: 326.8 kB / 445.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.1802, allocations: 20 kB / 445.1 MB, free: 9.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.1802, allocations: 33.7 kB / 445.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1803, allocations: 65.62 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1804, allocations: 4 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.1805, allocations: 101.5 kB / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1806, allocations: 8 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1806, allocations: 0 / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1806, allocations: 7.922 kB / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.1807, allocations: 16 kB / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.1807, allocations: 160 / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.1808, allocations: 7.922 kB / 445.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1808, allocations: 11.98 kB / 445.4 MB, free: 9.035 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 0.0001109/0.1809, allocations: 125.9 kB / 445.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1809, allocations: 15.89 kB / 445.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.181, allocations: 13.41 kB / 445.5 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.181, allocations: 0 / 445.5 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.181, allocations: 4 kB / 445.5 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.181, allocations: 3.938 kB / 445.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.1815, allocations: 403.2 kB / 445.9 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1815, allocations: 4.219 kB / 445.9 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.1815, allocations: 11.94 kB / 445.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1815, allocations: 3.938 kB / 445.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1816, allocations: 8.312 kB / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1816, allocations: 0 / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1816, allocations: 0 / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1818, allocations: 204.3 kB / 446.1 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.1819, allocations: 92.92 kB / 446.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.1819, allocations: 7.938 kB / 446.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.182, allocations: 0 / 446.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.182, allocations: 11.98 kB / 446.2 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.182, allocations: 4 kB / 446.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1822, allocations: 168.3 kB / 446.4 MB, free: 7.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1822, allocations: 0 / 446.4 MB, free: 7.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1825, allocations: 35.92 kB / 446.4 MB, free: 7.832 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.001135/0.1836, allocations: 461.1 kB / 446.9 MB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1838, allocations: 63.95 kB / 447 MB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1838, allocations: 0 / 447 MB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.1839, allocations: 28 kB / 447 MB, free: 7.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1842, allocations: 31.97 kB / 447 MB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.1847, allocations: 284.7 kB / 447.3 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.1852, allocations: 0.7082 MB / 448 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.1853, allocations: 17.12 kB / 448 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.1853, allocations: 19.42 kB / 448 MB, free: 6.223 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1853, allocations: 0 / 448 MB, free: 6.223 MB / 382.1 MB Notification: Performance of Templates: time 0.004337/0.1897, allocations: 1.646 MB / 449.7 MB, free: 4.578 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches