Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008906/0.0008908, allocations: 93.92 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001055, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003006, allocations: 11.98 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 63.56 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002557/0.1307, allocations: 1.629 MB / 484.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.1332, allocations: 1.084 MB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.1334, allocations: 8 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.1339, allocations: 251.4 kB / 486.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.1344, allocations: 207.4 kB / 486.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.1348, allocations: 99.78 kB / 486.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.1352, allocations: 259.3 kB / 486.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1354, allocations: 25.67 kB / 486.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.1357, allocations: 119.5 kB / 486.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.1359, allocations: 183.4 kB / 486.9 MB, free: 288 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.136, allocations: 8 kB / 486.9 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.1362, allocations: 59.95 kB / 487 MB, free: 220 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.031e-05/0.1363, allocations: 59.77 kB / 487.1 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1364, allocations: 124.9 kB / 487.2 MB, free: 28 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.1368, allocations: 239.4 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1368, allocations: 4 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1368, allocations: 0 / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1368, allocations: 0 / 487.4 MB, free: 15.79 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.0007798/0.1376, allocations: 0.5396 MB / 488 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1376, allocations: 12.03 kB / 488 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.843e-05/0.1377, allocations: 28.56 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.138, allocations: 298.3 kB / 488.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1381, allocations: 8.375 kB / 488.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.1381, allocations: 12.11 kB / 488.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.1384, allocations: 107.3 kB / 488.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1384, allocations: 4 kB / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1384, allocations: 11.94 kB / 488.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1384, allocations: 0 / 488.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.1386, allocations: 47.95 kB / 488.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.1392, allocations: 488.7 kB / 489 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.1397, allocations: 117.2 kB / 489.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1398, allocations: 45.81 kB / 489.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1398, allocations: 11.94 kB / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.1401, allocations: 116.3 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.943e-06/0.1401, allocations: 3.938 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001449/0.1416, allocations: 0.5073 MB / 489.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1417, allocations: 85.05 kB / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.1422, allocations: 0.4938 MB / 490.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.1423, allocations: 33.7 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1424, allocations: 168.4 kB / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/0.1425, allocations: 75.08 kB / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.1425, allocations: 17.72 kB / 490.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1427, allocations: 350.8 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1428, allocations: 55.97 kB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.143, allocations: 91.41 kB / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.1432, allocations: 163.5 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1433, allocations: 0 / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004789/0.1437, allocations: 237 kB / 491.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1438, allocations: 18.12 kB / 491.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1438, allocations: 0 / 491.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1438, allocations: 4 kB / 491.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.144, allocations: 43.97 kB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.144, allocations: 5.172 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.493e-05/0.1441, allocations: 4 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1441, allocations: 12 kB / 491.6 MB, free: 11.35 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.0001881/0.1443, allocations: 178.2 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.1444, allocations: 39.47 kB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.835e-05/0.1445, allocations: 46.89 kB / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1445, allocations: 4 kB / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1445, allocations: 0 / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1445, allocations: 3.984 kB / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.1454, allocations: 0.7389 MB / 492.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1454, allocations: 0 / 492.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-05/0.1455, allocations: 35.92 kB / 492.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.1455, allocations: 4.188 kB / 492.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1456, allocations: 4 kB / 492.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1456, allocations: 3.938 kB / 492.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.1456, allocations: 4 kB / 492.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.1461, allocations: 425.8 kB / 493.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.1462, allocations: 116.6 kB / 493.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.1462, allocations: 12 kB / 493.2 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.1464, allocations: 15.98 kB / 493.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.1464, allocations: 19.92 kB / 493.2 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.1465, allocations: 12 kB / 493.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003818/0.1469, allocations: 371.1 kB / 493.6 MB, free: 9.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.1469, allocations: 0 / 493.6 MB, free: 9.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.1472, allocations: 59.92 kB / 493.6 MB, free: 9.152 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.001358/0.1486, allocations: 0.5064 MB / 494.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003651/0.149, allocations: 147.8 kB / 494.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.149, allocations: 4 kB / 494.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1492, allocations: 79.78 kB / 494.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.1498, allocations: 69.83 kB / 494.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.1509, allocations: 0.672 MB / 495.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1513, allocations: 0.7907 MB / 495.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.1514, allocations: 41.92 kB / 495.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.1515, allocations: 27.42 kB / 496 MB, free: 6.938 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1515, allocations: 0 / 496 MB, free: 6.938 MB / 366.1 MB Notification: Performance of Templates: time 0.006966/0.1585, allocations: 2.98 MB / 499 MB, free: 3.984 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches