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.0007504/0.0007504, allocations: 94.03 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008739/0.0008739, allocations: 203.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.7 MB / 246.8 MB, free: 9.664 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 12.38 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 63.57 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003267/0.1353, allocations: 1.964 MB / 485.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.1379, allocations: 1.271 MB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.1383, allocations: 11.94 kB / 486.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.1388, allocations: 115.5 kB / 486.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005723/0.1394, allocations: 215.2 kB / 486.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.1399, allocations: 159.7 kB / 486.8 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007072/0.1406, allocations: 434.6 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1408, allocations: 57.08 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004759/0.1413, allocations: 259 kB / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.1416, allocations: 143.1 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.1416, allocations: 8 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.1418, allocations: 59.98 kB / 487.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.142, allocations: 127.5 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.1422, allocations: 204.2 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.1427, allocations: 414.4 kB / 488.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1427, allocations: 8 kB / 488.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1427, allocations: 0 / 488.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.1428, allocations: 4 kB / 488.5 MB, free: 14.7 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.001162/0.1439, allocations: 0.7419 MB / 489.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.144, allocations: 13.95 kB / 489.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.1442, allocations: 64.19 kB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.1448, allocations: 412.4 kB / 489.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.1448, allocations: 8.375 kB / 489.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.1449, allocations: 28.11 kB / 489.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.1453, allocations: 189.5 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1453, allocations: 7.922 kB / 490 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.1453, allocations: 8 kB / 490 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.1453, allocations: 4 kB / 490 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1456, allocations: 87.88 kB / 490.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1466, allocations: 0.8054 MB / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/0.1473, allocations: 246.5 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.1475, allocations: 91.53 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.1476, allocations: 7.984 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004182/0.148, allocations: 202.1 kB / 491.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.547e-06/0.148, allocations: 0 / 491.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002573/0.1506, allocations: 1.122 MB / 492.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.1507, allocations: 132.5 kB / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008958/0.1516, allocations: 0.8008 MB / 493.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.1516, allocations: 37.7 kB / 493.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.1519, allocations: 237 kB / 493.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.152, allocations: 142.1 kB / 493.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.1522, allocations: 37.7 kB / 493.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.1524, allocations: 374.8 kB / 494.3 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.1527, allocations: 116.8 kB / 494.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.153, allocations: 183.2 kB / 494.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/0.1536, allocations: 323 kB / 494.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1536, allocations: 0 / 494.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008316/0.1544, allocations: 444.5 kB / 495.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1545, allocations: 10.34 kB / 495.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1545, allocations: 160 / 495.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1545, allocations: 7.984 kB / 495.3 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.1548, allocations: 87.89 kB / 495.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.1548, allocations: 7.984 kB / 495.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.155, allocations: 23.94 kB / 495.4 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.155, allocations: 15.98 kB / 495.4 MB, free: 7.383 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.0002558/0.1553, allocations: 235.9 kB / 495.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.1554, allocations: 67.16 kB / 495.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.1555, allocations: 76.92 kB / 495.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1555, allocations: 4 kB / 495.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.1555, allocations: 4 kB / 495.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.1556, allocations: 7.922 kB / 495.8 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.1575, allocations: 1.314 MB / 497.1 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/0.1575, allocations: 4 kB / 497.2 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1577, allocations: 63.86 kB / 497.2 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.1577, allocations: 4 kB / 497.2 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.1577, allocations: 15.98 kB / 497.2 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.1578, allocations: 4 kB / 497.2 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1578, allocations: 4 kB / 497.2 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009439/0.1587, allocations: 0.7853 MB / 498 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.1589, allocations: 180.3 kB / 498.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.069e-05/0.159, allocations: 20 kB / 498.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.1593, allocations: 19.98 kB / 498.2 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.1594, allocations: 43.83 kB / 498.3 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.1594, allocations: 27.98 kB / 498.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005993/0.16, allocations: 0.5771 MB / 498.9 MB, free: 3.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1601, allocations: 0 / 498.9 MB, free: 3.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000526/0.1606, allocations: 91.89 kB / 499 MB, free: 3.688 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.00133/0.1619, allocations: 0.5213 MB / 499.5 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.1626, allocations: 308.3 kB / 499.8 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1626, allocations: 4 kB / 499.8 MB, free: 3.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.1629, allocations: 159.7 kB / 500 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.1641, allocations: 128.5 kB / 0.4884 GB, free: 2.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1657, allocations: 1.225 MB / 0.4896 GB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.1664, allocations: 0.8863 MB / 0.4904 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.1667, allocations: 79.25 kB / 0.4905 GB, free: 492 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.1668, allocations: 59.34 kB / 0.4906 GB, free: 432 kB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1668, allocations: 0 / 0.4906 GB, free: 432 kB / 366.1 MB Notification: Performance of Templates: time 0.01132/0.1782, allocations: 5.033 MB / 0.4955 GB, free: 11.43 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/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_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches