Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009411/0.0009412, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.581/1.581, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008347/0.0008346, allocations: 94.27 kB / 270.9 MB, free: 8.359 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.5072/0.5072, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 12 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1702, allocations: 58.85 MB / 490.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002371/0.1726, allocations: 1.394 MB / 491.6 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1739, allocations: 0.7383 MB / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.174, allocations: 0 / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.1744, allocations: 75.77 kB / 492.5 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.1746, allocations: 71.78 kB / 492.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1749, allocations: 67.86 kB / 492.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1751, allocations: 91.73 kB / 492.7 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1752, allocations: 16.22 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1753, allocations: 47.77 kB / 492.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1754, allocations: 43.83 kB / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1754, allocations: 4 kB / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.732e-05/0.1755, allocations: 39.92 kB / 492.8 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.1756, allocations: 23.91 kB / 492.9 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.1756, allocations: 37.64 kB / 492.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1758, allocations: 92.03 kB / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1758, allocations: 0 / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1759, allocations: 0 / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1759, allocations: 4 kB / 493 MB, free: 8.211 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.0006496/0.1765, allocations: 406.8 kB / 493.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1766, allocations: 12.02 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.1766, allocations: 11.81 kB / 493.4 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1769, allocations: 202.9 kB / 493.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1769, allocations: 8 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.177, allocations: 0 / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1771, allocations: 53.67 kB / 493.7 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1772, allocations: 11.88 kB / 493.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1772, allocations: 4 kB / 493.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.1772, allocations: 7.938 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/0.1773, allocations: 12 kB / 493.7 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1778, allocations: 288.9 kB / 494 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.178, allocations: 62.62 kB / 494 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.1781, allocations: 20.84 kB / 494.1 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1781, allocations: 0 / 494.1 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.1783, allocations: 71.34 kB / 494.1 MB, free: 6.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1783, allocations: 0 / 494.1 MB, free: 6.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006379/0.1789, allocations: 181 kB / 494.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.179, allocations: 55.41 kB / 494.4 MB, free: 6.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.1792, allocations: 210.3 kB / 494.6 MB, free: 6.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1793, allocations: 29.7 kB / 494.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.1793, allocations: 104.1 kB / 494.7 MB, free: 6.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.1794, allocations: 27.64 kB / 494.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.1794, allocations: 3.938 kB / 494.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1796, allocations: 322.8 kB / 495 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.1796, allocations: 23.98 kB / 495.1 MB, free: 5.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.1797, allocations: 37.7 kB / 495.1 MB, free: 5.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.476e-05/0.1798, allocations: 28 kB / 495.1 MB, free: 5.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1798, allocations: 0 / 495.1 MB, free: 5.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001794/0.18, allocations: 101.5 kB / 495.2 MB, free: 5.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.18, allocations: 8 kB / 495.2 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.18, allocations: 3.984 kB / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.18, allocations: 0 / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.1801, allocations: 15.94 kB / 495.3 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1802, allocations: 8.031 kB / 495.3 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.1802, allocations: 3.906 kB / 495.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1802, allocations: 7.984 kB / 495.3 MB, free: 5.688 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.1804, allocations: 125.8 kB / 495.4 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.1804, allocations: 15.84 kB / 495.4 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.1804, allocations: 21.39 kB / 495.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1805, allocations: 0 / 495.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1805, allocations: 0 / 495.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1805, allocations: 4 kB / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.1809, allocations: 395.2 kB / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1809, allocations: 0 / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.181, allocations: 11.98 kB / 495.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.181, allocations: 0 / 495.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.181, allocations: 8 kB / 495.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.181, allocations: 3.938 kB / 495.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.181, allocations: 384 / 495.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1813, allocations: 204.2 kB / 496.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.1813, allocations: 96.95 kB / 496.1 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1814, allocations: 8 kB / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1814, allocations: 0 / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.1815, allocations: 7.984 kB / 496.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1815, allocations: 8 kB / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.1817, allocations: 160.2 kB / 496.3 MB, free: 4.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1817, allocations: 0 / 496.3 MB, free: 4.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.1819, allocations: 27.98 kB / 496.4 MB, free: 4.508 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 (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.001058/0.183, allocations: 471.7 kB / 496.8 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1832, allocations: 51.98 kB / 496.9 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1832, allocations: 0 / 496.9 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.693e-05/0.1833, allocations: 32.08 kB / 496.9 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1836, allocations: 36.02 kB / 496.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.1841, allocations: 284 kB / 497.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1845, allocations: 0.7082 MB / 497.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.1845, allocations: 15.44 kB / 497.9 MB, free: 2.914 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1845, allocations: 4 kB / 497.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of Templates: time 0.003848/0.1884, allocations: 1.911 MB / 499.8 MB, free: 1.004 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches