Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 110 kB / 18.3 MB, free: 4.84 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.001333/0.001333, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.466/1.466, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.002171, allocations: 64.25 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1343, allocations: 60.82 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004442/0.1388, allocations: 2.228 MB / 472.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.1414, allocations: 1.189 MB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.1417, allocations: 7.938 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.1422, allocations: 139.3 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006317/0.1429, allocations: 195.1 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000933/0.1439, allocations: 311.2 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.1445, allocations: 426.8 kB / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.1447, allocations: 60.72 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.1451, allocations: 287.2 kB / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1454, allocations: 151.2 kB / 474.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.266e-05/0.1455, allocations: 16 kB / 474.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.1457, allocations: 79.95 kB / 475 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.1459, allocations: 147.4 kB / 475.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.1461, allocations: 190.4 kB / 475.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005389/0.1466, allocations: 458.4 kB / 475.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.1467, allocations: 7.938 kB / 475.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1467, allocations: 3.938 kB / 475.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.1467, allocations: 0 / 475.8 MB, free: 8.48 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.001349/0.1481, allocations: 0.8632 MB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1481, allocations: 8.031 kB / 476.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1482, allocations: 68.03 kB / 476.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.1488, allocations: 432.2 kB / 477.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.1488, allocations: 8.375 kB / 477.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.154e-05/0.1489, allocations: 24.03 kB / 477.2 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1493, allocations: 193 kB / 477.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.1493, allocations: 8 kB / 477.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.1494, allocations: 0 / 477.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1494, allocations: 7.984 kB / 477.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.1496, allocations: 95.88 kB / 477.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.1507, allocations: 0.8133 MB / 478.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.1515, allocations: 246.4 kB / 478.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.1517, allocations: 91.52 kB / 478.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.1517, allocations: 16.06 kB / 478.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/0.1522, allocations: 198.1 kB / 478.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.356e-06/0.1522, allocations: 4 kB / 478.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002642/0.1549, allocations: 1.141 MB / 480 MB, free: 4.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.1549, allocations: 140.5 kB / 480.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.156, allocations: 0.926 MB / 481 MB, free: 2.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.156, allocations: 37.7 kB / 481.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.1563, allocations: 256.9 kB / 481.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.1564, allocations: 142.1 kB / 481.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1565, allocations: 82.03 kB / 481.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1567, allocations: 378.8 kB / 481.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.1569, allocations: 112.8 kB / 482 MB, free: 1.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.1572, allocations: 195.1 kB / 482.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.1579, allocations: 315 kB / 482.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1579, allocations: 3.984 kB / 482.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008778/0.1588, allocations: 436.5 kB / 482.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.1588, allocations: 4 kB / 482.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1588, allocations: 4 kB / 483 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.1588, allocations: 8.125 kB / 483 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.1591, allocations: 87.89 kB / 483 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1591, allocations: 4 kB / 483 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.1593, allocations: 23.83 kB / 483.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.1594, allocations: 16 kB / 483.1 MB, free: 0.7969 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.000309/0.1597, allocations: 251.9 kB / 483.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.1598, allocations: 71.16 kB / 483.4 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.16, allocations: 97.52 kB / 483.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.16, allocations: 8 kB / 483.5 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.16, allocations: 0 / 483.5 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.16, allocations: 11.92 kB / 483.5 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.1618, allocations: 1.314 MB / 484.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1618, allocations: 0 / 484.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1619, allocations: 60.17 kB / 484.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.162, allocations: 11.94 kB / 484.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.162, allocations: 19.98 kB / 484.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.162, allocations: 4 kB / 484.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.162, allocations: 0 / 484.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.1629, allocations: 0.7892 MB / 485.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.1632, allocations: 180.2 kB / 485.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/0.1633, allocations: 20 kB / 485.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.1636, allocations: 23.86 kB / 485.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1637, allocations: 51.81 kB / 486 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.1637, allocations: 19.98 kB / 486 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007069/0.1645, allocations: 0.6748 MB / 486.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1645, allocations: 4 kB / 486.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005502/0.165, allocations: 87.98 kB / 486.8 MB, free: 12.96 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.001626/0.1667, allocations: 0.5298 MB / 487.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009927/0.1677, allocations: 331.5 kB / 487.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.1677, allocations: 4.25 kB / 487.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.168, allocations: 167.7 kB / 487.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.1691, allocations: 128.9 kB / 487.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.1712, allocations: 1.229 MB / 489.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008675/0.172, allocations: 0.9029 MB / 490 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1722, allocations: 63.41 kB / 490.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1722, allocations: 0 / 490.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of Templates: time 0.01225/0.1844, allocations: 6.587 MB / 496.7 MB, free: 3.18 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches