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.0007998/0.0007998, allocations: 101 kB / 17.01 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009137/0.0009139, allocations: 193.9 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2395/0.2395, allocations: 46.19 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 12.22 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 63.57 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002528/0.1417, allocations: 1.587 MB / 484 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1434, allocations: 1.042 MB / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.1435, allocations: 0 / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.144, allocations: 215.5 kB / 485.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.1444, allocations: 183.5 kB / 485.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.1446, allocations: 91.83 kB / 485.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.1449, allocations: 219.3 kB / 485.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.145, allocations: 21.69 kB / 485.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.1452, allocations: 119.5 kB / 485.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1454, allocations: 123.5 kB / 486 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1454, allocations: 4 kB / 486 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1455, allocations: 51.98 kB / 486.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.764e-05/0.1456, allocations: 59.75 kB / 486.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.525e-05/0.1457, allocations: 53.58 kB / 486.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.146, allocations: 183.9 kB / 486.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.146, allocations: 0 / 486.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.146, allocations: 3.938 kB / 486.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.146, allocations: 0 / 486.3 MB, free: 0.5703 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.0007253/0.1467, allocations: 0.5215 MB / 486.9 MB, free: 0 / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1468, allocations: 12.08 kB / 486.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.1469, allocations: 27.62 kB / 486.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1472, allocations: 278.8 kB / 487.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1472, allocations: 4 kB / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.1473, allocations: 11.98 kB / 487.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.1475, allocations: 118 kB / 487.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1475, allocations: 0 / 487.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1475, allocations: 4 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1476, allocations: 0 / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1477, allocations: 55.83 kB / 487.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.1483, allocations: 472.8 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.1487, allocations: 121.2 kB / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.446e-05/0.1488, allocations: 45.83 kB / 488 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1488, allocations: 4 kB / 488 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.1491, allocations: 117.2 kB / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.1491, allocations: 0 / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001336/0.1504, allocations: 0.5006 MB / 488.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.1505, allocations: 81.11 kB / 488.7 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.151, allocations: 448.4 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.151, allocations: 33.64 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1512, allocations: 160.5 kB / 489.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.1512, allocations: 71 kB / 489.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-06/0.1512, allocations: 4 kB / 489.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1514, allocations: 346.8 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1515, allocations: 59.92 kB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1517, allocations: 91.39 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1518, allocations: 64 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1518, allocations: 0 / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003581/0.1522, allocations: 229.5 kB / 490.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1522, allocations: 12.02 kB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1522, allocations: 0 / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1522, allocations: 7.938 kB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1524, allocations: 43.92 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1524, allocations: 0 / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.1525, allocations: 11.98 kB / 490.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1525, allocations: 8 kB / 490.2 MB, free: 12.39 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.1527, allocations: 174.3 kB / 490.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.1527, allocations: 31.62 kB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.1528, allocations: 46.77 kB / 490.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1528, allocations: 4 kB / 490.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1528, allocations: 0 / 490.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1528, allocations: 3.984 kB / 490.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008403/0.1537, allocations: 0.7427 MB / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1537, allocations: 0 / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-05/0.1538, allocations: 24 kB / 491.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.934e-06/0.1538, allocations: 7.984 kB / 491.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.1538, allocations: 11.94 kB / 491.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1538, allocations: 0 / 491.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1538, allocations: 4 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.1543, allocations: 428.7 kB / 491.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/0.1544, allocations: 116.7 kB / 491.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.1544, allocations: 12 kB / 491.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1546, allocations: 8 kB / 491.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.1546, allocations: 19.97 kB / 491.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.1547, allocations: 8 kB / 491.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000335/0.155, allocations: 343 kB / 492.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.155, allocations: 0 / 492.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.1554, allocations: 48.19 kB / 492.3 MB, free: 10.27 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 (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.001222/0.1566, allocations: 0.5127 MB / 492.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.157, allocations: 147.8 kB / 492.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.157, allocations: 0 / 492.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.1571, allocations: 83.84 kB / 493 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.1577, allocations: 53.39 kB / 493 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1587, allocations: 0.6017 MB / 493.6 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.1592, allocations: 0.7716 MB / 494.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.1594, allocations: 45.92 kB / 494.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.1595, allocations: 27.81 kB / 494.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1595, allocations: 0 / 494.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of Templates: time 0.006788/0.1663, allocations: 2.902 MB / 497.4 MB, free: 5.266 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