Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.09 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 79.88 kB / 419 MB, free: 18.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 62.44 MB / 481.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003319/0.1446, allocations: 1.723 MB / 483.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1463, allocations: 1.025 MB / 484.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.1464, allocations: 0 / 484.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1467, allocations: 47.75 kB / 484.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.147, allocations: 107.5 kB / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.1472, allocations: 79.67 kB / 484.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1474, allocations: 107.7 kB / 484.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1475, allocations: 7.984 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.1476, allocations: 43.78 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.1477, allocations: 39.78 kB / 484.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1477, allocations: 8 kB / 484.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.066e-05/0.1478, allocations: 43.98 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.1479, allocations: 23.86 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.1479, allocations: 51.66 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1481, allocations: 135.5 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1481, allocations: 4 kB / 484.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1481, allocations: 0 / 484.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1482, allocations: 0 / 484.9 MB, free: 1.031 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005755/0.1487, allocations: 438.7 kB / 485.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1488, allocations: 12.03 kB / 485.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.1488, allocations: 12.84 kB / 485.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1491, allocations: 224.8 kB / 485.6 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1491, allocations: 4.375 kB / 485.6 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1492, allocations: 4.125 kB / 485.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1493, allocations: 53.67 kB / 485.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1493, allocations: 7.938 kB / 485.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1494, allocations: 3.984 kB / 485.6 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1494, allocations: 0 / 485.6 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.1494, allocations: 23.98 kB / 485.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.1498, allocations: 288.9 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.15, allocations: 66.61 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.1501, allocations: 20.84 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1501, allocations: 4 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.1502, allocations: 71.33 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1503, allocations: 0 / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005643/0.1508, allocations: 188.9 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.1509, allocations: 51.41 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.1512, allocations: 267 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1512, allocations: 33.7 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.1513, allocations: 116.1 kB / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.1514, allocations: 23.7 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.1514, allocations: 21.66 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1515, allocations: 330.8 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.1516, allocations: 19.98 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.1517, allocations: 37.7 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1518, allocations: 65.77 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1518, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.152, allocations: 105.4 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.152, allocations: 4 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.152, allocations: 4 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1521, allocations: 0 / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.1521, allocations: 15.98 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.1522, allocations: 3.938 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.1522, allocations: 11.88 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1522, allocations: 8.031 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001174/0.1523, allocations: 132.6 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.1524, allocations: 15.81 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.1524, allocations: 25.39 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1524, allocations: 0 / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1525, allocations: 4 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1525, allocations: 3.938 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.1529, allocations: 407.5 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1529, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.153, allocations: 15.92 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.153, allocations: 384 / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.153, allocations: 11.94 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.153, allocations: 4 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.153, allocations: 0 / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1533, allocations: 216.1 kB / 488.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.1534, allocations: 92.92 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1534, allocations: 3.938 kB / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.1535, allocations: 3.984 kB / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1535, allocations: 4 kB / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1535, allocations: 4 kB / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.1537, allocations: 212.4 kB / 488.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1537, allocations: 0 / 488.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.154, allocations: 24 kB / 488.5 MB, free: 13.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001135/0.1551, allocations: 448.4 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1553, allocations: 59.91 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1553, allocations: 8.062 kB / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.1554, allocations: 27.92 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1558, allocations: 35.56 kB / 489.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.1563, allocations: 295.6 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1566, allocations: 0.7236 MB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.322e-05/0.1567, allocations: 8.891 kB / 490.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.1567, allocations: 23.42 kB / 490.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1567, allocations: 0 / 490.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of Templates: time 0.004454/0.1612, allocations: 1.765 MB / 491.9 MB, free: 9.785 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches