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.001295/0.001295, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.001676/0.001676, allocations: 181.3 kB / 17.87 MB, free: 5.609 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.527/1.527, 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.2353/0.2353, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 14.66 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002441/0.1356, allocations: 1.835 MB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1374, allocations: 1.077 MB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1375, allocations: 7.938 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.1379, allocations: 111.5 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.1382, allocations: 155.6 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.1388, allocations: 273.7 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.1392, allocations: 267.5 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1393, allocations: 48.89 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.1396, allocations: 191.3 kB / 475.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.1397, allocations: 131.3 kB / 475.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.1398, allocations: 8 kB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1399, allocations: 39.98 kB / 475.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.14, allocations: 119.5 kB / 475.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.78e-05/0.1401, allocations: 93.39 kB / 475.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1404, allocations: 291.7 kB / 476.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.1405, allocations: 0 / 476.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1405, allocations: 0 / 476.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1405, allocations: 4 kB / 476.1 MB, free: 9.113 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.0009557/0.1414, allocations: 0.7275 MB / 476.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1415, allocations: 12.03 kB / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.1416, allocations: 55.25 kB / 476.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.1421, allocations: 379 kB / 477.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.1421, allocations: 11.98 kB / 477.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.1422, allocations: 19.95 kB / 477.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.1425, allocations: 193.4 kB / 477.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.1425, allocations: 8 kB / 477.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.1426, allocations: 0 / 477.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1426, allocations: 4 kB / 477.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.1428, allocations: 103.8 kB / 477.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/0.1437, allocations: 0.7898 MB / 478.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.1443, allocations: 254.4 kB / 478.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1443, allocations: 4 kB / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.1447, allocations: 212.6 kB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.1447, allocations: 0 / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002308/0.147, allocations: 1.076 MB / 479.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.1471, allocations: 144.4 kB / 480 MB, free: 4.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.148, allocations: 0.7413 MB / 480.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.148, allocations: 37.7 kB / 480.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.1482, allocations: 240.9 kB / 481.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1483, allocations: 142.1 kB / 481.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/0.1484, allocations: 4 kB / 481.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1485, allocations: 378.8 kB / 481.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.1488, allocations: 108.8 kB / 481.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.149, allocations: 183.1 kB / 481.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.1493, allocations: 132 kB / 482 MB, free: 2.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1493, allocations: 0 / 482 MB, free: 2.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006911/0.15, allocations: 440.7 kB / 482.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.15, allocations: 8 kB / 482.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.15, allocations: 80 / 482.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1501, allocations: 4 kB / 482.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.1503, allocations: 91.83 kB / 482.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1504, allocations: 11.92 kB / 482.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1505, allocations: 16 kB / 482.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.1506, allocations: 19.98 kB / 482.6 MB, free: 2.297 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 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.1508, allocations: 236 kB / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.1509, allocations: 59.25 kB / 482.9 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.151, allocations: 72.5 kB / 482.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.151, allocations: 12 kB / 482.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.151, allocations: 0 / 482.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.151, allocations: 11.86 kB / 482.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.1526, allocations: 1.299 MB / 484.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1526, allocations: 4 kB / 484.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.1527, allocations: 59.91 kB / 484.3 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/0.1528, allocations: 11.95 kB / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.1528, allocations: 15.98 kB / 484.3 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1528, allocations: 4 kB / 484.3 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1528, allocations: 7.938 kB / 484.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.1537, allocations: 0.9095 MB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.1539, allocations: 176.3 kB / 485.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/0.154, allocations: 19.98 kB / 485.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.1542, allocations: 23.94 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.1543, allocations: 39.89 kB / 485.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.1544, allocations: 20 kB / 485.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006998/0.1551, allocations: 0.5495 MB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1551, allocations: 0 / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.1556, allocations: 83.98 kB / 486.2 MB, free: 14.48 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 (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.00124/0.1569, allocations: 0.527 MB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000653/0.1575, allocations: 315.6 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1576, allocations: 0 / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.1578, allocations: 159.7 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007489/0.1586, allocations: 111.8 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.1602, allocations: 1.132 MB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/0.1608, allocations: 0.8902 MB / 489.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.161, allocations: 71.27 kB / 489.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1612, allocations: 55.41 kB / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1612, allocations: 0 / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Templates: time 0.009516/0.1707, allocations: 4.83 MB / 494.2 MB, free: 6.578 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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches