Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 94.66 kB / 16.98 MB, free: 6.398 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.001834/0.001834, allocations: 184.1 kB / 17.87 MB, free: 5.957 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.546/1.546, allocations: 223.2 MB / 241.8 MB, free: 376 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.283/0.283, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 13.66 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1672, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002871/0.1702, allocations: 1.543 MB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1719, allocations: 0.8933 MB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1721, allocations: 3.938 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005557/0.1726, allocations: 211.5 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.173, allocations: 143.7 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.1735, allocations: 158.9 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.1738, allocations: 163.6 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1739, allocations: 21.67 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1741, allocations: 95.64 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1743, allocations: 119.6 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1743, allocations: 4 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1744, allocations: 43.97 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.1745, allocations: 47.83 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.1746, allocations: 61.52 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.1748, allocations: 167.9 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1748, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.1749, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1749, allocations: 0 / 475.1 MB, free: 10.08 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007902/0.1757, allocations: 0.5253 MB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1757, allocations: 8.031 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.1758, allocations: 23.72 kB / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1762, allocations: 263.1 kB / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.1762, allocations: 4 kB / 475.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.1762, allocations: 11.91 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.1765, allocations: 114.5 kB / 476.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1765, allocations: 4 kB / 476.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.1765, allocations: 8 kB / 476.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1766, allocations: 0 / 476.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1767, allocations: 47.95 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.1773, allocations: 472.6 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.1778, allocations: 125.2 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.1778, allocations: 8.109 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003059/0.1781, allocations: 116.1 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.1781, allocations: 4 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001424/0.1796, allocations: 0.5045 MB / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.1796, allocations: 85.05 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.1802, allocations: 428.5 kB / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.1802, allocations: 29.7 kB / 477.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.1804, allocations: 160.5 kB / 478 MB, free: 6.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.1805, allocations: 63.11 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.1805, allocations: 8 kB / 478.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1807, allocations: 342.8 kB / 478.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1808, allocations: 55.97 kB / 478.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.181, allocations: 91.34 kB / 478.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1811, allocations: 67.98 kB / 478.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1811, allocations: 3.938 kB / 478.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004007/0.1816, allocations: 229.3 kB / 478.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1816, allocations: 7.938 kB / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1816, allocations: 7.938 kB / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1816, allocations: 0 / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1818, allocations: 47.91 kB / 478.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1818, allocations: 0 / 478.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.1819, allocations: 19.95 kB / 478.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.1819, allocations: 8 kB / 478.9 MB, free: 5.98 MB / 350.1 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 (26): * Single equations (assignments): 26 * 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.0002138/0.1821, allocations: 174.3 kB / 479.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.1822, allocations: 27.62 kB / 479.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.842e-05/0.1823, allocations: 42.62 kB / 479.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1823, allocations: 0 / 479.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.1823, allocations: 3.984 kB / 479.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1823, allocations: 4 kB / 479.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.1833, allocations: 0.7194 MB / 479.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1833, allocations: 0 / 479.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.1834, allocations: 39.88 kB / 479.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1834, allocations: 8.125 kB / 480 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1834, allocations: 4 kB / 480 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1835, allocations: 7.984 kB / 480 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1835, allocations: 0 / 480 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.184, allocations: 481.2 kB / 480.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.1841, allocations: 104.8 kB / 480.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.1842, allocations: 11.95 kB / 480.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1843, allocations: 15.98 kB / 480.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.1844, allocations: 15.92 kB / 480.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.1844, allocations: 15.98 kB / 480.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003342/0.1847, allocations: 319 kB / 480.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1848, allocations: 192 / 480.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003687/0.1851, allocations: 51.91 kB / 481 MB, free: 3.809 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001226/0.1864, allocations: 0.5077 MB / 481.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.1867, allocations: 155.8 kB / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1867, allocations: 4 kB / 481.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1869, allocations: 79.84 kB / 481.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.1873, allocations: 45.06 kB / 481.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1883, allocations: 0.5859 MB / 482.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.1888, allocations: 0.7833 MB / 483.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.189, allocations: 41.92 kB / 483.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.1891, allocations: 31.42 kB / 483.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1891, allocations: 0 / 483.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Templates: time 0.006738/0.1958, allocations: 2.849 MB / 486 MB, free: 14.88 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches