Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008734/0.0008734, allocations: 93.05 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.001075/0.001075, allocations: 201.9 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.48/1.48, allocations: 227.7 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1327, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002409/0.1352, allocations: 1.618 MB / 484.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1371, allocations: 1.103 MB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.579e-05/0.1372, allocations: 3.938 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005395/0.1378, allocations: 211.6 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.1382, allocations: 199.4 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1386, allocations: 95.78 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.139, allocations: 239.3 kB / 486.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.1392, allocations: 33.66 kB / 486.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1393, allocations: 107.5 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1396, allocations: 159.4 kB / 486.8 MB, free: 388 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.1396, allocations: 4 kB / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.1398, allocations: 59.97 kB / 486.9 MB, free: 324 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.801e-05/0.1399, allocations: 51.72 kB / 487 MB, free: 272 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.14, allocations: 113 kB / 487.1 MB, free: 152 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.1404, allocations: 235.3 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1404, allocations: 0 / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1404, allocations: 0 / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1404, allocations: 0 / 487.3 MB, free: 15.92 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000963/0.1414, allocations: 0.5294 MB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.715e-05/0.1415, allocations: 8.031 kB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.807e-05/0.1416, allocations: 36.56 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.142, allocations: 288 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.142, allocations: 4.375 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.1421, allocations: 12.12 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.1424, allocations: 111.3 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1424, allocations: 8 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1424, allocations: 0 / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1424, allocations: 0 / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1426, allocations: 51.91 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.1432, allocations: 472.8 kB / 488.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.1436, allocations: 125.2 kB / 488.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1437, allocations: 41.83 kB / 489 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1438, allocations: 8 kB / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.144, allocations: 121 kB / 489.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.144, allocations: 0 / 489.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001261/0.1453, allocations: 0.4965 MB / 489.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.1454, allocations: 81.11 kB / 489.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.1459, allocations: 452.5 kB / 490.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1459, allocations: 33.7 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1461, allocations: 156.5 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.1462, allocations: 71 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.1462, allocations: 29.7 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.1464, allocations: 342.8 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1466, allocations: 59.91 kB / 490.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.1468, allocations: 100.1 kB / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.147, allocations: 155.3 kB / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1471, allocations: 0 / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000397/0.1475, allocations: 229.1 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1475, allocations: 16 kB / 491.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1475, allocations: 0 / 491.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1475, allocations: 4 kB / 491.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.1477, allocations: 39.92 kB / 491.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1477, allocations: 4 kB / 491.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.1478, allocations: 11.98 kB / 491.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1478, allocations: 15.94 kB / 491.3 MB, free: 11.58 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.0001598/0.148, allocations: 170.2 kB / 491.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.1481, allocations: 39.56 kB / 491.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.802e-05/0.1481, allocations: 42.81 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1482, allocations: 4 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1482, allocations: 0 / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1482, allocations: 7.984 kB / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.1491, allocations: 0.7349 MB / 492.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1491, allocations: 0 / 492.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/0.1492, allocations: 28 kB / 492.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.1492, allocations: 7.984 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1492, allocations: 4 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-05/0.1492, allocations: 3.938 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1493, allocations: 4 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.1498, allocations: 421.8 kB / 492.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.1498, allocations: 112.7 kB / 492.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.1499, allocations: 8 kB / 492.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.15, allocations: 12 kB / 492.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.1501, allocations: 19.91 kB / 492.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.1501, allocations: 16 kB / 493 MB, free: 9.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003258/0.1505, allocations: 331 kB / 493.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.763e-06/0.1505, allocations: 0 / 493.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1508, allocations: 55.92 kB / 493.3 MB, free: 9.461 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.001183/0.152, allocations: 0.5121 MB / 493.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.1524, allocations: 155.8 kB / 494 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1524, allocations: 0 / 494 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1525, allocations: 79.84 kB / 494.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.1531, allocations: 65.31 kB / 494.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008942/0.154, allocations: 0.6367 MB / 494.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.1544, allocations: 0.7744 MB / 495.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.1545, allocations: 37.92 kB / 495.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.1546, allocations: 35.42 kB / 495.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1546, allocations: 0 / 495.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of Templates: time 0.006239/0.1609, allocations: 2.965 MB / 498.6 MB, free: 4.344 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches