Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001202, allocations: 101.5 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4641/0.4641, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 56.11 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1702, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003115/0.1734, allocations: 1.76 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1746, allocations: 0.7885 MB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.1747, allocations: 0 / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.175, allocations: 31.84 kB / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.1753, allocations: 51.81 kB / 489.7 MB, free: 9.883 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.1755, allocations: 71.86 kB / 489.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1757, allocations: 95.67 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1758, allocations: 20.22 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.1759, allocations: 35.8 kB / 489.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.176, allocations: 35.78 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.176, allocations: 0 / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.1761, allocations: 39.98 kB / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.1762, allocations: 15.92 kB / 490 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.1762, allocations: 35.73 kB / 490 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1764, allocations: 111.9 kB / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1764, allocations: 0 / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1764, allocations: 0 / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1764, allocations: 0 / 490.1 MB, free: 9.43 MB / 378.7 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.0005316/0.177, allocations: 418.9 kB / 490.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.177, allocations: 12.03 kB / 490.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.1771, allocations: 8.844 kB / 490.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1773, allocations: 204 kB / 490.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1773, allocations: 8.375 kB / 490.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1774, allocations: 8.109 kB / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1775, allocations: 57.61 kB / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1775, allocations: 4 kB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1775, allocations: 4 kB / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1776, allocations: 0 / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.1776, allocations: 27.86 kB / 490.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.178, allocations: 280.9 kB / 491.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1782, allocations: 54.69 kB / 491.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.1783, allocations: 24.84 kB / 491.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1783, allocations: 3.984 kB / 491.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1785, allocations: 75.23 kB / 491.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1785, allocations: 0 / 491.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005187/0.1791, allocations: 165.3 kB / 491.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1791, allocations: 55.39 kB / 491.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1793, allocations: 190.1 kB / 491.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1793, allocations: 29.7 kB / 491.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1794, allocations: 100.1 kB / 491.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1794, allocations: 23.7 kB / 491.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.1794, allocations: 25.72 kB / 491.8 MB, free: 7.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1796, allocations: 322.8 kB / 492.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.1796, allocations: 23.98 kB / 492.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.1797, allocations: 41.7 kB / 492.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1798, allocations: 61.7 kB / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1798, allocations: 384 / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001626/0.18, allocations: 93.59 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.18, allocations: 8 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.18, allocations: 0 / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.18, allocations: 4 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/0.1801, allocations: 19.92 kB / 492.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1801, allocations: 8.031 kB / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1802, allocations: 3.938 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1802, allocations: 4 kB / 492.4 MB, free: 6.867 MB / 378.7 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 8.543e-05/0.1803, allocations: 125.8 kB / 492.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1803, allocations: 7.906 kB / 492.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.47e-05/0.1804, allocations: 16.72 kB / 492.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1804, allocations: 3.984 kB / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1804, allocations: 0 / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1804, allocations: 11.88 kB / 492.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.1808, allocations: 395.2 kB / 493 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1808, allocations: 0 / 493 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.1809, allocations: 8 kB / 493 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1809, allocations: 192 / 493 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1809, allocations: 7.875 kB / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1809, allocations: 7.938 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1809, allocations: 0 / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.1814, allocations: 0.7832 MB / 493.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.1815, allocations: 89 kB / 493.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1815, allocations: 4 kB / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.1816, allocations: 0 / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1816, allocations: 15.98 kB / 493.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1817, allocations: 4 kB / 493.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1818, allocations: 140.1 kB / 494 MB, free: 5.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1818, allocations: 0 / 494 MB, free: 5.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003582/0.1822, allocations: 27.89 kB / 494.1 MB, free: 5.094 MB / 378.7 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.001149/0.1833, allocations: 477.2 kB / 494.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1835, allocations: 67.83 kB / 494.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1835, allocations: 0 / 494.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.1836, allocations: 27.94 kB / 494.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.184, allocations: 24.58 kB / 494.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.1845, allocations: 368 kB / 495 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1848, allocations: 0.716 MB / 495.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.697e-05/0.1849, allocations: 8.891 kB / 495.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.1849, allocations: 19.42 kB / 495.7 MB, free: 3.383 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1849, allocations: 0 / 495.7 MB, free: 3.383 MB / 378.7 MB Notification: Performance of Templates: time 0.004076/0.189, allocations: 1.673 MB / 497.4 MB, free: 1.715 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches