Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,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.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009135/0.0009136, allocations: 91.06 kB / 17.35 MB, free: 5.996 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.0008198/0.0008199, allocations: 177.9 kB / 18.26 MB, free: 5.391 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.467/1.467, allocations: 223.3 MB / 242.3 MB, free: 196 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.2153/0.2153, allocations: 44.25 MB / 337.7 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005805/0.0005805, allocations: 15.98 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.162, allocations: 61.93 MB / 472.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002975/0.165, allocations: 1.911 MB / 474.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1673, allocations: 1.162 MB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1675, allocations: 4 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.168, allocations: 111.5 kB / 475.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.1685, allocations: 155.4 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.1694, allocations: 296.7 kB / 475.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.1698, allocations: 402.8 kB / 476.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.17, allocations: 48.72 kB / 476.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.1703, allocations: 251 kB / 476.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1705, allocations: 135.2 kB / 476.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.1706, allocations: 8 kB / 476.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.1707, allocations: 63.97 kB / 476.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.1709, allocations: 119.5 kB / 476.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.1711, allocations: 200.3 kB / 477.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.1716, allocations: 394.5 kB / 477.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.1716, allocations: 0 / 477.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1716, allocations: 0 / 477.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.1716, allocations: 0 / 477.5 MB, free: 8.141 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.001028/0.1727, allocations: 0.7276 MB / 478.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.1727, allocations: 8.031 kB / 478.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.1728, allocations: 60.19 kB / 478.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.1734, allocations: 403.7 kB / 478.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.1734, allocations: 8.375 kB / 478.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.1734, allocations: 20.12 kB / 478.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.1738, allocations: 197.5 kB / 478.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.1739, allocations: 15.86 kB / 478.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.1739, allocations: 8 kB / 478.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1739, allocations: 0 / 478.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.1742, allocations: 91.92 kB / 479 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.1751, allocations: 0.7937 MB / 479.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.1758, allocations: 250.5 kB / 480 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.176, allocations: 87.53 kB / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.1761, allocations: 15.94 kB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.1765, allocations: 204.3 kB / 480.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.1765, allocations: 0 / 480.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002487/0.179, allocations: 1.083 MB / 481.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.1792, allocations: 136.5 kB / 481.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.1801, allocations: 0.749 MB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.1802, allocations: 37.69 kB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.1804, allocations: 240.9 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.1805, allocations: 142.1 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.1806, allocations: 41.64 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.1808, allocations: 374.8 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.1811, allocations: 112.8 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.1814, allocations: 183.2 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.1819, allocations: 323 kB / 483.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.182, allocations: 0 / 483.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00073/0.1827, allocations: 432.7 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1827, allocations: 8 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1827, allocations: 0 / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1828, allocations: 4 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.183, allocations: 87.91 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.1831, allocations: 12.11 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.1832, allocations: 23.94 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.1833, allocations: 23.92 kB / 484.3 MB, free: 0.9375 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 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.1835, allocations: 224 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/0.1836, allocations: 67.14 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.1838, allocations: 72.5 kB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.1838, allocations: 8 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.1838, allocations: 3.938 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.1838, allocations: 11.92 kB / 484.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.1856, allocations: 1.303 MB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1856, allocations: 0 / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.1858, allocations: 63.84 kB / 486.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.1858, allocations: 4 kB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.1858, allocations: 20.23 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.1858, allocations: 12 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1858, allocations: 0 / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.1871, allocations: 0.7773 MB / 486.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.1873, allocations: 176.3 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.1874, allocations: 19.92 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.1877, allocations: 20 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.1879, allocations: 39.89 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.1879, allocations: 23.98 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007691/0.1887, allocations: 0.5496 MB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1887, allocations: 0 / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005639/0.1893, allocations: 83.91 kB / 487.8 MB, free: 13.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.1908, allocations: 0.5443 MB / 488.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006672/0.1915, allocations: 311.6 kB / 488.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1915, allocations: 7.875 kB / 488.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.1919, allocations: 160.3 kB / 488.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.193, allocations: 118.1 kB / 488.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.1948, allocations: 1.182 MB / 490.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.1953, allocations: 0.8746 MB / 491 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002395/0.1956, allocations: 83.22 kB / 491 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1957, allocations: 55.42 kB / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1957, allocations: 0 / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01067/0.2064, allocations: 4.964 MB / 496.1 MB, free: 5.207 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches