Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 103 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.4 MB, free: 9.105 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001638, allocations: 81.12 kB / 417.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 62.43 MB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003551/0.1381, allocations: 1.978 MB / 481.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1401, allocations: 1.115 MB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.1403, allocations: 4 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.1408, allocations: 219.5 kB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.1412, allocations: 191.5 kB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1415, allocations: 95.84 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.1419, allocations: 263.2 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.142, allocations: 25.67 kB / 483.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.1422, allocations: 123.5 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1424, allocations: 167.4 kB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1424, allocations: 8 kB / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1425, allocations: 59.98 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.1426, allocations: 63.75 kB / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.1427, allocations: 95.23 kB / 483.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.143, allocations: 239.5 kB / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.143, allocations: 0 / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.143, allocations: 0 / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1431, allocations: 0 / 484.1 MB, free: 0.9492 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006948/0.1437, allocations: 0.5565 MB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1438, allocations: 8.031 kB / 484.7 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.1439, allocations: 32.55 kB / 484.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.1442, allocations: 288 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1442, allocations: 16.36 kB / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.1443, allocations: 8.125 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.1445, allocations: 111.3 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1445, allocations: 0 / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1446, allocations: 4 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1446, allocations: 7.984 kB / 485.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1447, allocations: 43.91 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.1453, allocations: 480.7 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.1457, allocations: 117.2 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.1459, allocations: 53.81 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1459, allocations: 0 / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.1462, allocations: 117 kB / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1462, allocations: 0 / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001349/0.1476, allocations: 0.5078 MB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.1477, allocations: 92.98 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.1481, allocations: 440.5 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.1482, allocations: 29.7 kB / 487 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1483, allocations: 160.5 kB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.1484, allocations: 74.98 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.1484, allocations: 49.7 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1486, allocations: 342.8 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1487, allocations: 51.98 kB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1489, allocations: 91.39 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.1492, allocations: 167.5 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1492, allocations: 0 / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000386/0.1496, allocations: 229.1 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1496, allocations: 14.59 kB / 488.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1496, allocations: 0 / 488.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1496, allocations: 0 / 488.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1498, allocations: 43.92 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1498, allocations: 4 kB / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/0.1499, allocations: 16.05 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.1499, allocations: 8 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001455/0.1501, allocations: 170.3 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.1501, allocations: 39.47 kB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.066e-05/0.1502, allocations: 38.81 kB / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1502, allocations: 4 kB / 488.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1502, allocations: 0 / 488.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1502, allocations: 3.984 kB / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.1511, allocations: 0.7272 MB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1511, allocations: 4 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/0.1512, allocations: 35.92 kB / 489.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1512, allocations: 4.125 kB / 489.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1512, allocations: 7.984 kB / 489.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1512, allocations: 4.188 kB / 489.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1512, allocations: 4 kB / 489.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.1517, allocations: 433.6 kB / 489.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.1518, allocations: 100.7 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.1518, allocations: 12 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.152, allocations: 7.984 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.152, allocations: 23.92 kB / 489.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.1521, allocations: 11.94 kB / 489.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003431/0.1524, allocations: 339 kB / 490.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1524, allocations: 0 / 490.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.1528, allocations: 47.98 kB / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001219/0.154, allocations: 0.5041 MB / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.1544, allocations: 171.7 kB / 490.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1544, allocations: 3.938 kB / 490.9 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1546, allocations: 83.92 kB / 490.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.1551, allocations: 65.97 kB / 491 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000911/0.1561, allocations: 0.6335 MB / 491.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1565, allocations: 0.7753 MB / 492.4 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.1566, allocations: 41.92 kB / 492.5 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.1567, allocations: 31.44 kB / 492.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1567, allocations: 4 kB / 492.5 MB, free: 8.25 MB / 366.1 MB Notification: Performance of Templates: time 0.006839/0.1635, allocations: 3.107 MB / 495.6 MB, free: 5.176 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches