Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.11 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003206/0.003206, allocations: 83.39 kB / 417.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1264, allocations: 62.45 MB / 480.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004068/0.1305, allocations: 2.319 MB / 482.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.1329, allocations: 1.298 MB / 483.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.1331, allocations: 7.938 kB / 483.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.1335, allocations: 107.6 kB / 484 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005261/0.1341, allocations: 215.2 kB / 484.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.1345, allocations: 163.7 kB / 484.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.135, allocations: 458.6 kB / 484.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1352, allocations: 69.06 kB / 484.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.1356, allocations: 271 kB / 485.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.1358, allocations: 167.1 kB / 485.3 MB, free: 464 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.1358, allocations: 16 kB / 485.3 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.136, allocations: 67.98 kB / 485.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1362, allocations: 131.5 kB / 485.5 MB, free: 248 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.1363, allocations: 186.6 kB / 485.7 MB, free: 60 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.1368, allocations: 327.6 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1368, allocations: 4 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.1368, allocations: 0 / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1368, allocations: 3.938 kB / 486 MB, free: 15.73 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.001187/0.138, allocations: 0.8128 MB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1381, allocations: 9.109 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1382, allocations: 60.19 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.1387, allocations: 412.5 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.1387, allocations: 16.36 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.1388, allocations: 24.03 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.1392, allocations: 193.4 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1392, allocations: 0 / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.1392, allocations: 8 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.1393, allocations: 4 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.1395, allocations: 95.86 kB / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009917/0.1405, allocations: 0.8015 MB / 488.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.1412, allocations: 258.4 kB / 488.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.1414, allocations: 91.52 kB / 488.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1414, allocations: 4 kB / 488.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.1419, allocations: 210 kB / 489 MB, free: 12.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.1419, allocations: 0 / 489 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002596/0.1445, allocations: 1.126 MB / 490.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.1447, allocations: 136.5 kB / 490.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.1456, allocations: 0.7931 MB / 491 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.1457, allocations: 37.7 kB / 491.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.1459, allocations: 244.9 kB / 491.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.146, allocations: 142.1 kB / 491.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.1462, allocations: 74.05 kB / 491.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.1464, allocations: 386.8 kB / 491.9 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.1466, allocations: 108.8 kB / 492 MB, free: 9.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.1469, allocations: 183.2 kB / 492.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.1475, allocations: 326.6 kB / 492.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1475, allocations: 0 / 492.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008073/0.1483, allocations: 432.6 kB / 492.9 MB, free: 8.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1483, allocations: 8 kB / 492.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1484, allocations: 0 / 492.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1484, allocations: 4 kB / 492.9 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1487, allocations: 91.83 kB / 493 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1487, allocations: 4 kB / 493 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.1489, allocations: 19.92 kB / 493 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.1489, allocations: 20 kB / 493.1 MB, free: 8.293 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.0002906/0.1492, allocations: 228.1 kB / 493.3 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1493, allocations: 67.16 kB / 493.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.1495, allocations: 88.84 kB / 493.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1495, allocations: 4 kB / 493.4 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1495, allocations: 0 / 493.4 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.1495, allocations: 15.86 kB / 493.4 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.1514, allocations: 1.307 MB / 494.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1514, allocations: 4 kB / 494.8 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.1516, allocations: 55.91 kB / 494.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.1516, allocations: 8 kB / 494.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.1516, allocations: 19.98 kB / 494.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.1516, allocations: 4 kB / 494.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.1516, allocations: 11.92 kB / 494.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/0.1526, allocations: 0.7814 MB / 495.6 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.1528, allocations: 164.3 kB / 495.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.1529, allocations: 19.98 kB / 495.8 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.1532, allocations: 15.98 kB / 495.8 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.1533, allocations: 47.84 kB / 495.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.1533, allocations: 23.98 kB / 495.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006994/0.154, allocations: 0.5811 MB / 496.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1541, allocations: 0 / 496.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005491/0.1546, allocations: 91.89 kB / 496.6 MB, free: 4.613 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.001936/0.1566, allocations: 0.5252 MB / 497.1 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000733/0.1573, allocations: 335.9 kB / 497.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1573, allocations: 0 / 497.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.1576, allocations: 163.7 kB / 497.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/0.1586, allocations: 125.9 kB / 497.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.1605, allocations: 1.271 MB / 499 MB, free: 2.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.1611, allocations: 0.8899 MB / 499.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.1613, allocations: 55.36 kB / 499.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1613, allocations: 0 / 499.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of Templates: time 0.01102/0.1723, allocations: 6.466 MB / 0.4945 GB, free: 10.93 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches