Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001952/0.001952, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.256/2.256, allocations: 227.3 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3621/0.3621, allocations: 46.11 MB / 344.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002505/0.002505, allocations: 80.45 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1655, allocations: 62.44 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.005297/0.1709, allocations: 2.327 MB / 482.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.1742, allocations: 1.301 MB / 483.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.1745, allocations: 7.938 kB / 483.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.175, allocations: 127.6 kB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006906/0.1758, allocations: 219.2 kB / 483.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.1764, allocations: 167.6 kB / 484.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007064/0.1771, allocations: 442.6 kB / 484.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.1773, allocations: 61.05 kB / 484.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004904/0.1779, allocations: 294.9 kB / 484.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1781, allocations: 151.1 kB / 485 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.1782, allocations: 15.98 kB / 485 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.1785, allocations: 63.97 kB / 485.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.1787, allocations: 147.4 kB / 485.2 MB, free: 396 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.179, allocations: 206.2 kB / 485.4 MB, free: 188 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.1795, allocations: 347.6 kB / 485.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1796, allocations: 0 / 485.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1796, allocations: 0 / 485.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1796, allocations: 4 kB / 485.8 MB, free: 15.84 MB / 366.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.00168/0.1813, allocations: 0.8786 MB / 486.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.1814, allocations: 13.95 kB / 486.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.1815, allocations: 75.98 kB / 486.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/0.1823, allocations: 436.2 kB / 487.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.1824, allocations: 8.375 kB / 487.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.1824, allocations: 24.11 kB / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.183, allocations: 201.4 kB / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.183, allocations: 3.984 kB / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.1831, allocations: 8 kB / 487.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1831, allocations: 0 / 487.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.1835, allocations: 91.88 kB / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.1848, allocations: 0.8326 MB / 488.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.1857, allocations: 242.5 kB / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.186, allocations: 99.45 kB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1861, allocations: 4 kB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006444/0.1867, allocations: 198.2 kB / 488.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.1867, allocations: 4 kB / 488.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.003716/0.1905, allocations: 1.168 MB / 490 MB, free: 11.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.1906, allocations: 140.5 kB / 490.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.1923, allocations: 0.9614 MB / 491.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.1924, allocations: 33.7 kB / 491.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.1927, allocations: 273 kB / 491.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.1929, allocations: 138.1 kB / 491.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.1931, allocations: 82.03 kB / 491.6 MB, free: 9.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1933, allocations: 322 kB / 492 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.1936, allocations: 116.8 kB / 492.1 MB, free: 9.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.1941, allocations: 183.2 kB / 492.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007993/0.1949, allocations: 315.1 kB / 492.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1949, allocations: 4 kB / 492.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001171/0.1961, allocations: 448.2 kB / 493 MB, free: 8.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.1961, allocations: 12.12 kB / 493 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1961, allocations: 0 / 493 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.1962, allocations: 4 kB / 493 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.1966, allocations: 95.83 kB / 493.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.1966, allocations: 7.938 kB / 493.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.1969, allocations: 23.92 kB / 493.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.197, allocations: 12 kB / 493.2 MB, free: 8.082 MB / 366.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.0004327/0.1974, allocations: 255.9 kB / 493.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.1976, allocations: 87.06 kB / 493.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.1978, allocations: 85.73 kB / 493.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.1978, allocations: 8 kB / 493.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.1979, allocations: 0 / 493.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.1979, allocations: 7.922 kB / 493.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.2004, allocations: 1.334 MB / 494.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.2004, allocations: 8.25 kB / 494.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.2007, allocations: 59.92 kB / 495 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.2007, allocations: 4 kB / 495 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.2008, allocations: 16.36 kB / 495 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.2008, allocations: 4 kB / 495 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.2008, allocations: 7.938 kB / 495 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.2021, allocations: 0.7966 MB / 495.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.2024, allocations: 180.2 kB / 496 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.2025, allocations: 12 kB / 496 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.203, allocations: 15.98 kB / 496 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.2031, allocations: 39.89 kB / 496.1 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.2032, allocations: 23.98 kB / 496.1 MB, free: 4.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001115/0.2043, allocations: 0.7098 MB / 496.8 MB, free: 4.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2043, allocations: 0 / 496.8 MB, free: 4.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008521/0.2052, allocations: 87.98 kB / 496.9 MB, free: 4.199 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.001819/0.207, allocations: 0.5212 MB / 497.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009069/0.208, allocations: 316.2 kB / 497.7 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.208, allocations: 0 / 497.7 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.2084, allocations: 155.8 kB / 497.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.2098, allocations: 136.1 kB / 498 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.2124, allocations: 1.437 MB / 499.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.2131, allocations: 0.9136 MB / 0.4886 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.2133, allocations: 59.41 kB / 0.4887 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2133, allocations: 0 / 0.4887 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of Templates: time 0.01561/0.2289, allocations: 6.775 MB / 0.4953 GB, free: 10.01 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches