Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.001458/0.001458, allocations: 182.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 223.3 MB / 241.9 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 44.25 MB / 337.3 MB, free: 2.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005075, allocations: 15.98 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1701, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002734/0.1729, allocations: 1.417 MB / 473 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1744, allocations: 0.7959 MB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.1745, allocations: 3.938 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.1749, allocations: 71.83 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1751, allocations: 79.78 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1754, allocations: 91.77 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1756, allocations: 91.75 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1757, allocations: 11.97 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.1759, allocations: 43.78 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1761, allocations: 51.77 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1761, allocations: 4 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1762, allocations: 51.98 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.1763, allocations: 19.91 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.1763, allocations: 45.62 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1765, allocations: 100.1 kB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1766, allocations: 0 / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1766, allocations: 3.938 kB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1766, allocations: 0 / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007028/0.1773, allocations: 406.8 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1773, allocations: 20.55 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.1774, allocations: 7.906 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.1777, allocations: 202.7 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.1777, allocations: 11.98 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1778, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.178, allocations: 61.62 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.178, allocations: 0 / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.178, allocations: 0 / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.178, allocations: 0 / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.1781, allocations: 31.97 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.1787, allocations: 300.7 kB / 475.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.1789, allocations: 62.55 kB / 475.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.179, allocations: 20.97 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.179, allocations: 4 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1793, allocations: 67.39 kB / 475.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1793, allocations: 0 / 475.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008607/0.1801, allocations: 249.2 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1802, allocations: 55.41 kB / 476 MB, free: 9.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.1804, allocations: 211.2 kB / 476.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1805, allocations: 29.7 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.1805, allocations: 112 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.1806, allocations: 35.55 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.1806, allocations: 0 / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1808, allocations: 326.8 kB / 476.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.1809, allocations: 31.98 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.181, allocations: 41.7 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.1811, allocations: 28 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1811, allocations: 4 kB / 476.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000229/0.1813, allocations: 137.4 kB / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.1813, allocations: 8 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1813, allocations: 0 / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1814, allocations: 0 / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.1815, allocations: 19.98 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1815, allocations: 4 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.1815, allocations: 4 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.1816, allocations: 11.94 kB / 476.9 MB, free: 8.094 MB / 350.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 ($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 (13): * Single equations (assignments): 13 * 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.0001626/0.1817, allocations: 137.8 kB / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1818, allocations: 15.89 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.1818, allocations: 17.39 kB / 477.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1818, allocations: 7.938 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.1819, allocations: 0 / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1819, allocations: 0 / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.1825, allocations: 463.9 kB / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1825, allocations: 0 / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.1825, allocations: 12 kB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1825, allocations: 0 / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1826, allocations: 4 kB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1826, allocations: 0 / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1826, allocations: 7.984 kB / 477.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.1829, allocations: 237 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.1829, allocations: 93 kB / 477.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.183, allocations: 0 / 477.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.1831, allocations: 4 kB / 477.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.1831, allocations: 15.94 kB / 477.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1831, allocations: 4 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1833, allocations: 159.2 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1833, allocations: 0 / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1836, allocations: 31.98 kB / 478.1 MB, free: 6.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00134/0.1849, allocations: 0.5157 MB / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1852, allocations: 75.91 kB / 478.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1852, allocations: 0 / 478.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.072e-05/0.1853, allocations: 40.11 kB / 478.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.1857, allocations: 31.97 kB / 478.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.1865, allocations: 291.4 kB / 479.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.1869, allocations: 0.7083 MB / 479.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.187, allocations: 20.77 kB / 479.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.1871, allocations: 19.42 kB / 479.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1871, allocations: 7.938 kB / 479.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of Templates: time 0.005643/0.1927, allocations: 1.831 MB / 481.6 MB, free: 3.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches