Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008953/0.0008954, 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.000964/0.0009641, 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.452/1.452, allocations: 223.2 MB / 241.9 MB, free: 32 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.2283/0.2283, allocations: 44.25 MB / 337.3 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004873, allocations: 12 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1682, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002409/0.1707, allocations: 1.421 MB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1721, allocations: 0.7959 MB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.641e-05/0.1722, allocations: 4 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.1726, allocations: 95.73 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1729, allocations: 79.78 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.1732, allocations: 91.77 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1734, allocations: 107.7 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1736, allocations: 19.98 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1737, allocations: 51.77 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1738, allocations: 55.81 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1739, allocations: 0 / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.174, allocations: 51.98 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.1741, allocations: 31.84 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.1742, allocations: 45.56 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1744, allocations: 108.1 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1744, allocations: 0 / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1744, allocations: 0 / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1744, allocations: 4 kB / 474.6 MB, free: 10.71 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00073/0.1751, allocations: 438.6 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.1752, allocations: 8.562 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.1753, allocations: 11.91 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.1756, allocations: 214.6 kB / 475.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1756, allocations: 8 kB / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1756, allocations: 4 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.1758, allocations: 73.61 kB / 475.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1758, allocations: 0 / 475.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1759, allocations: 0 / 475.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1759, allocations: 4 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.176, allocations: 31.92 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.1765, allocations: 316.7 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.1769, allocations: 74.55 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.1769, allocations: 28.84 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.177, allocations: 0 / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.1772, allocations: 75.41 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.1772, allocations: 0 / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009052/0.1781, allocations: 277.5 kB / 476.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.1782, allocations: 55.41 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.1785, allocations: 246.5 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1785, allocations: 29.7 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.355e-05/0.1786, allocations: 112.1 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.1787, allocations: 35.45 kB / 476.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.1787, allocations: 4 kB / 476.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1788, allocations: 330.8 kB / 476.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.1789, allocations: 31.98 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.179, allocations: 56.83 kB / 477 MB, free: 8.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.344e-05/0.1791, allocations: 39.92 kB / 477 MB, free: 8.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1792, allocations: 4 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002622/0.1794, allocations: 137.4 kB / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1795, allocations: 4 kB / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1795, allocations: 4.172 kB / 477.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1795, allocations: 0 / 477.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.1796, allocations: 35.95 kB / 477.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1796, allocations: 3.984 kB / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.1797, allocations: 4 kB / 477.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1797, allocations: 4 kB / 477.2 MB, free: 7.84 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 (14): * Single equations (assignments): 14 * 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.0001456/0.1798, allocations: 137.8 kB / 477.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1799, allocations: 19.81 kB / 477.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/0.18, allocations: 21.39 kB / 477.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.18, allocations: 0 / 477.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.18, allocations: 0 / 477.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.18, allocations: 4 kB / 477.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.1806, allocations: 480 kB / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1806, allocations: 4 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.1807, allocations: 19.92 kB / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1807, allocations: 4 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1807, allocations: 4 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1807, allocations: 8.062 kB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1807, allocations: 0 / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.181, allocations: 244.9 kB / 478.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.1811, allocations: 88.92 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1811, allocations: 15.92 kB / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.1812, allocations: 7.984 kB / 478.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.1813, allocations: 11.95 kB / 478.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.1813, allocations: 11.98 kB / 478.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.1815, allocations: 187 kB / 478.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1815, allocations: 0 / 478.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1818, allocations: 28 kB / 478.5 MB, free: 6.457 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 (12): * Single equations (assignments): 10 * 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.001226/0.183, allocations: 0.5107 MB / 479 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.1833, allocations: 87.91 kB / 479.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1833, allocations: 0 / 479.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1834, allocations: 51.86 kB / 479.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1838, allocations: 28.16 kB / 479.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.1845, allocations: 332 kB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1848, allocations: 0.7243 MB / 480.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.199e-05/0.1849, allocations: 21.06 kB / 480.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.185, allocations: 23.42 kB / 480.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.185, allocations: 0 / 480.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of Templates: time 0.005365/0.1904, allocations: 1.931 MB / 482.2 MB, free: 2.922 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches