Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.001051, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, 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.2177/0.2177, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002738, allocations: 12.28 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002466/0.1344, allocations: 1.462 MB / 484.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1362, allocations: 0.9902 MB / 485.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1363, allocations: 0 / 485.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.1367, allocations: 51.81 kB / 485.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.1371, allocations: 75.75 kB / 485.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.1374, allocations: 71.8 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1376, allocations: 123.7 kB / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1378, allocations: 12 kB / 485.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1379, allocations: 47.78 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.138, allocations: 51.7 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.138, allocations: 4 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1382, allocations: 55.98 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-05/0.1383, allocations: 27.89 kB / 486.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.8e-05/0.1384, allocations: 69.39 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.1386, allocations: 143.8 kB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1387, allocations: 0 / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1387, allocations: 0 / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1387, allocations: 0 / 486.3 MB, free: 0.9609 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005816/0.1393, allocations: 421.6 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1393, allocations: 8.031 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.1394, allocations: 12.75 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1397, allocations: 220 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1397, allocations: 12.38 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1397, allocations: 12.11 kB / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1399, allocations: 73.59 kB / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1399, allocations: 0 / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1399, allocations: 0 / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.14, allocations: 4 kB / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1401, allocations: 43.91 kB / 487.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.1406, allocations: 328.6 kB / 487.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.1409, allocations: 98.55 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.462e-05/0.141, allocations: 28.84 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.141, allocations: 4 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.1412, allocations: 79.38 kB / 487.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1412, allocations: 4 kB / 487.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009291/0.1421, allocations: 288.4 kB / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.1422, allocations: 55.34 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.1424, allocations: 202.9 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.1425, allocations: 25.7 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.1425, allocations: 104.4 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.1426, allocations: 51.44 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.1426, allocations: 17.72 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1428, allocations: 330.8 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.1429, allocations: 39.92 kB / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.143, allocations: 57.69 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.1432, allocations: 93.7 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1432, allocations: 0.8438 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002845/0.1435, allocations: 157.5 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.1436, allocations: 6.344 kB / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1436, allocations: 0 / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1436, allocations: 7.938 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1437, allocations: 23.98 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1437, allocations: 3.938 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.1438, allocations: 4 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1438, allocations: 8 kB / 489 MB, free: 13.96 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 (15): * Single equations (assignments): 15 * 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.0001466/0.144, allocations: 140.4 kB / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.144, allocations: 15.81 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.1441, allocations: 25.52 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1441, allocations: 0 / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1441, allocations: 3.938 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1441, allocations: 0 / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.1448, allocations: 488 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1448, allocations: 4.062 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.1448, allocations: 19.94 kB / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1449, allocations: 0 / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1449, allocations: 7.984 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1449, allocations: 0 / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1449, allocations: 3.938 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.1452, allocations: 260.9 kB / 490 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.1453, allocations: 89.02 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.1453, allocations: 4 kB / 490.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.1454, allocations: 15.98 kB / 490.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1455, allocations: 7.984 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.1455, allocations: 4 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1456, allocations: 148.3 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1456, allocations: 0 / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000297/0.146, allocations: 36 kB / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001285/0.1472, allocations: 0.4964 MB / 490.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1475, allocations: 95.91 kB / 490.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1475, allocations: 0 / 490.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1476, allocations: 47.92 kB / 490.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.148, allocations: 45.69 kB / 491 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.1486, allocations: 323.5 kB / 491.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1489, allocations: 0.7126 MB / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.365e-05/0.1491, allocations: 25.41 kB / 492 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.1491, allocations: 27.36 kB / 492 MB, free: 10.97 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1491, allocations: 0 / 492 MB, free: 10.97 MB / 366.1 MB Notification: Performance of Templates: time 0.00539/0.1545, allocations: 2.055 MB / 494.1 MB, free: 8.93 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches