Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009072/0.0009072, allocations: 95.2 kB / 17 MB, free: 6.355 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.0009477/0.000948, allocations: 184.2 kB / 17.89 MB, free: 5.926 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.443/1.443, allocations: 223.3 MB / 241.9 MB, free: 60 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2246/0.2246, allocations: 44.26 MB / 337.3 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004172, allocations: 12 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1683, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002835/0.1712, allocations: 1.858 MB / 473.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1734, allocations: 1.115 MB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.1738, allocations: 11.94 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.1743, allocations: 115.6 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004863/0.1748, allocations: 163.3 kB / 474.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009139/0.1757, allocations: 276.8 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.1763, allocations: 370.8 kB / 475.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1765, allocations: 48.92 kB / 475.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004538/0.177, allocations: 239.1 kB / 475.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1772, allocations: 143.2 kB / 475.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.1772, allocations: 8 kB / 475.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.1774, allocations: 55.98 kB / 476 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.1776, allocations: 135.5 kB / 476.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1777, allocations: 101.4 kB / 476.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.1781, allocations: 327.5 kB / 476.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1781, allocations: 0 / 476.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1781, allocations: 4 kB / 476.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1782, allocations: 0 / 476.5 MB, free: 8.742 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001351/0.1795, allocations: 0.7934 MB / 477.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.1796, allocations: 8.031 kB / 477.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.1797, allocations: 67.16 kB / 477.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.1803, allocations: 391.6 kB / 477.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.1804, allocations: 19.97 kB / 477.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.1804, allocations: 15.95 kB / 477.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.1808, allocations: 201.4 kB / 478 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1808, allocations: 0 / 478 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.1809, allocations: 8 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1809, allocations: 4 kB / 478 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.1811, allocations: 95.84 kB / 478.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1822, allocations: 0.8171 MB / 478.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.1828, allocations: 242.5 kB / 479.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.183, allocations: 95.47 kB / 479.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.1831, allocations: 12.16 kB / 479.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.1835, allocations: 208.4 kB / 479.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.1835, allocations: 0 / 479.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.00239/0.1859, allocations: 1.141 MB / 480.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.186, allocations: 140.5 kB / 480.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.1871, allocations: 0.9144 MB / 481.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.1871, allocations: 41.69 kB / 481.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.1874, allocations: 257 kB / 482 MB, free: 3.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.1875, allocations: 138.1 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.1876, allocations: 8 kB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1878, allocations: 386.7 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.188, allocations: 112.8 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.1883, allocations: 179.2 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.1886, allocations: 144.2 kB / 482.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1886, allocations: 0 / 482.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007333/0.1893, allocations: 432.8 kB / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1894, allocations: 8 kB / 483.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1894, allocations: 0 / 483.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1894, allocations: 4 kB / 483.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.1897, allocations: 95.77 kB / 483.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.1897, allocations: 8.125 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1899, allocations: 23.92 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.1899, allocations: 16 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002919/0.1902, allocations: 259.8 kB / 483.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.023e-05/0.1903, allocations: 75.12 kB / 483.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.1905, allocations: 81.38 kB / 483.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1905, allocations: 4 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.1905, allocations: 4 kB / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1905, allocations: 7.984 kB / 483.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.1922, allocations: 1.322 MB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.1923, allocations: 4 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1924, allocations: 63.88 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.1924, allocations: 4 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.1925, allocations: 16.23 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.1925, allocations: 11.94 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.1925, allocations: 4 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.1934, allocations: 0.7814 MB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.1936, allocations: 188.2 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.1937, allocations: 19.95 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.1939, allocations: 19.98 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.194, allocations: 39.89 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.1941, allocations: 23.98 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007027/0.1948, allocations: 0.6747 MB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1948, allocations: 0 / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005403/0.1953, allocations: 87.91 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001311/0.1967, allocations: 0.539 MB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006796/0.1974, allocations: 311.6 kB / 488 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1974, allocations: 0 / 488 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.1977, allocations: 164.1 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.1986, allocations: 114.9 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.2007, allocations: 1.274 MB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000711/0.2015, allocations: 0.9112 MB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.2017, allocations: 83.23 kB / 490.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.2019, allocations: 55.36 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2019, allocations: 0 / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Templates: time 0.01127/0.2132, allocations: 4.884 MB / 495.5 MB, free: 5.465 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches