Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 180.5 kB / 16.41 MB, free: 5.727 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.653/1.653, 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.0008529/0.0008536, allocations: 98.33 kB / 270.9 MB, free: 8.352 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.5092/0.5092, allocations: 43.56 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004287, allocations: 16 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.171, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002595/0.1736, allocations: 1.401 MB / 491.6 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1753, allocations: 0.7344 MB / 492.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1755, allocations: 4 kB / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.1759, allocations: 39.83 kB / 492.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.1762, allocations: 43.83 kB / 492.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.1765, allocations: 67.86 kB / 492.5 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.1767, allocations: 83.75 kB / 492.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1768, allocations: 20.2 kB / 492.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.1769, allocations: 35.8 kB / 492.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.46e-05/0.177, allocations: 27.84 kB / 492.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.177, allocations: 4 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1771, allocations: 35.98 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1772, allocations: 19.92 kB / 492.8 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.1772, allocations: 41.58 kB / 492.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1774, allocations: 92.08 kB / 492.9 MB, free: 8.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1774, allocations: 0 / 492.9 MB, free: 8.312 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1774, allocations: 0 / 492.9 MB, free: 8.312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1775, allocations: 4 kB / 492.9 MB, free: 8.309 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.0006371/0.1781, allocations: 406.4 kB / 493.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1782, allocations: 12.02 kB / 493.3 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.1782, allocations: 11.91 kB / 493.3 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.1785, allocations: 207.5 kB / 493.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1785, allocations: 0 / 493.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1786, allocations: 0 / 493.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1787, allocations: 57.67 kB / 493.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1788, allocations: 11.84 kB / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1788, allocations: 0 / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1788, allocations: 3.953 kB / 493.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.662e-05/0.1789, allocations: 27.92 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.1794, allocations: 277 kB / 493.9 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1795, allocations: 54.67 kB / 493.9 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.1796, allocations: 28.84 kB / 494 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1797, allocations: 0 / 494 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.1799, allocations: 83.22 kB / 494 MB, free: 6.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1799, allocations: 0 / 494 MB, free: 6.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005884/0.1805, allocations: 165.2 kB / 494.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.1806, allocations: 55.39 kB / 494.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.1808, allocations: 200.7 kB / 494.5 MB, free: 6.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1808, allocations: 29.7 kB / 494.5 MB, free: 6.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.1809, allocations: 104.1 kB / 494.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.1809, allocations: 19.72 kB / 494.6 MB, free: 6.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.1809, allocations: 4 kB / 494.6 MB, free: 6.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1811, allocations: 322.8 kB / 494.9 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.1811, allocations: 19.98 kB / 494.9 MB, free: 6.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.1812, allocations: 41.7 kB / 495 MB, free: 5.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.463e-05/0.1813, allocations: 23.98 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1813, allocations: 0 / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.1815, allocations: 105.4 kB / 495.1 MB, free: 5.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1815, allocations: 4 kB / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1815, allocations: 4 kB / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1815, allocations: 0 / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1817, allocations: 19.94 kB / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1817, allocations: 0 / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.1817, allocations: 12.02 kB / 495.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.1817, allocations: 4 kB / 495.2 MB, free: 5.82 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.0001141/0.1819, allocations: 121.8 kB / 495.3 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.1819, allocations: 15.86 kB / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.1819, allocations: 17.39 kB / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.182, allocations: 0 / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.182, allocations: 0 / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.182, allocations: 0 / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.1825, allocations: 407.3 kB / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1825, allocations: 0 / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.1826, allocations: 11.98 kB / 495.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1826, allocations: 0 / 495.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1826, allocations: 4 kB / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1826, allocations: 0 / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1826, allocations: 80 / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1829, allocations: 208.2 kB / 495.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.183, allocations: 93.14 kB / 496 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.183, allocations: 4 kB / 496 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.1831, allocations: 7.938 kB / 496 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.1831, allocations: 8.359 kB / 496 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1832, allocations: 7.984 kB / 496 MB, free: 4.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001432/0.1833, allocations: 152.9 kB / 496.2 MB, free: 4.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1833, allocations: 8 kB / 496.2 MB, free: 4.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.1836, allocations: 27.91 kB / 496.2 MB, free: 4.645 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.001056/0.1847, allocations: 463.4 kB / 496.7 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.1849, allocations: 63.97 kB / 496.7 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1849, allocations: 0 / 496.7 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.505e-05/0.185, allocations: 31.91 kB / 496.8 MB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1853, allocations: 23.98 kB / 496.8 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.1859, allocations: 276.2 kB / 497.1 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1863, allocations: 0.7121 MB / 497.8 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.1864, allocations: 15.44 kB / 497.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.1864, allocations: 0 / 497.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of Templates: time 0.003881/0.1903, allocations: 1.898 MB / 499.7 MB, free: 1.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches