Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 178.8 kB / 16.41 MB, free: 5.703 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.989/1.989, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.00075/0.0007502, allocations: 86.31 kB / 270.9 MB, free: 8.355 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.4791/0.4791, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005445/0.0005443, allocations: 16 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1637, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003451/0.1672, allocations: 1.526 MB / 491.8 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1692, allocations: 0.8318 MB / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.1694, allocations: 0 / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.17, allocations: 223.5 kB / 492.8 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.1705, allocations: 139.6 kB / 493 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.1711, allocations: 135.6 kB / 493.1 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.1715, allocations: 199.4 kB / 493.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1717, allocations: 17.53 kB / 493.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1719, allocations: 95.61 kB / 493.4 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1721, allocations: 131.5 kB / 493.5 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1721, allocations: 4 kB / 493.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.1723, allocations: 35.97 kB / 493.6 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.1724, allocations: 47.83 kB / 493.6 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.1725, allocations: 57.56 kB / 493.7 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.1728, allocations: 159.9 kB / 493.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1728, allocations: 0 / 493.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1728, allocations: 0 / 493.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1728, allocations: 0 / 493.8 MB, free: 7.375 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008671/0.1737, allocations: 0.5097 MB / 494.3 MB, free: 6.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1738, allocations: 12.02 kB / 494.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.1738, allocations: 27.7 kB / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.1743, allocations: 267 kB / 494.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.1743, allocations: 11.94 kB / 494.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1743, allocations: 4 kB / 494.6 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.1746, allocations: 99.28 kB / 494.7 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1747, allocations: 8 kB / 494.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1747, allocations: 3.953 kB / 494.8 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1747, allocations: 0 / 494.8 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.1749, allocations: 39.97 kB / 494.8 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.1755, allocations: 437 kB / 495.2 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.1759, allocations: 125.2 kB / 495.3 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1761, allocations: 37.7 kB / 495.4 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.1761, allocations: 3.953 kB / 495.4 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.1764, allocations: 117 kB / 495.5 MB, free: 5.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.1764, allocations: 0 / 495.5 MB, free: 5.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001158/0.1776, allocations: 372 kB / 495.9 MB, free: 5.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.1777, allocations: 81.11 kB / 495.9 MB, free: 5.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.1783, allocations: 424.5 kB / 496.4 MB, free: 4.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1783, allocations: 37.7 kB / 496.4 MB, free: 4.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1785, allocations: 152.3 kB / 496.5 MB, free: 4.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.1786, allocations: 51.34 kB / 496.6 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.1786, allocations: 3.938 kB / 496.6 MB, free: 4.359 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1788, allocations: 346.8 kB / 496.9 MB, free: 4.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1789, allocations: 43.94 kB / 497 MB, free: 3.969 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.1791, allocations: 71.34 kB / 497 MB, free: 3.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1793, allocations: 48.06 kB / 497.1 MB, free: 3.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1793, allocations: 0 / 497.1 MB, free: 3.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000459/0.1798, allocations: 177.3 kB / 497.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1798, allocations: 8 kB / 497.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1798, allocations: 0 / 497.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1798, allocations: 0 / 497.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.18, allocations: 43.98 kB / 497.3 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1801, allocations: 3.984 kB / 497.3 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1802, allocations: 8 kB / 497.3 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1802, allocations: 8 kB / 497.3 MB, free: 3.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002118/0.1804, allocations: 165.6 kB / 497.5 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.1805, allocations: 31.62 kB / 497.5 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.725e-05/0.1806, allocations: 34.62 kB / 497.6 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1806, allocations: 4 kB / 497.6 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1806, allocations: 4 kB / 497.6 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1806, allocations: 3.984 kB / 497.6 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1817, allocations: 0.6202 MB / 498.2 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1817, allocations: 0 / 498.2 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/0.1818, allocations: 19.98 kB / 498.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1818, allocations: 4 kB / 498.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1818, allocations: 8.062 kB / 498.2 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1818, allocations: 0 / 498.2 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1818, allocations: 3.953 kB / 498.2 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.1824, allocations: 360.1 kB / 498.6 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.1825, allocations: 108.8 kB / 498.7 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.1825, allocations: 8.75 kB / 498.7 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1827, allocations: 7.984 kB / 498.7 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.1828, allocations: 23.88 kB / 498.7 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1828, allocations: 4 kB / 498.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004452/0.1833, allocations: 319 kB / 499 MB, free: 1.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1833, allocations: 0 / 499 MB, free: 1.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005197/0.1838, allocations: 39.98 kB / 499.1 MB, free: 1.727 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001395/0.1852, allocations: 483.4 kB / 499.6 MB, free: 1.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.1857, allocations: 111.9 kB / 499.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1857, allocations: 4.125 kB / 499.7 MB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.1859, allocations: 55.92 kB / 499.7 MB, free: 1.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/0.1867, allocations: 60.42 kB / 499.8 MB, free: 1.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1878, allocations: 0.5539 MB / 0.4886 GB, free: 496 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.259/0.4468, allocations: 0.7563 MB / 0.4893 GB, free: 42.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.4469, allocations: 26.19 kB / 0.4894 GB, free: 42.41 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4469, allocations: 2.844 kB / 0.4894 GB, free: 42.41 MB / 378.7 MB Notification: Performance of Templates: time 0.006151/0.4531, allocations: 3.231 MB / 0.4925 GB, free: 42.22 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,der(d_t_new.u),der(d_t_new_2.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time