Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 99.14 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 191.1 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.18 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002566, allocations: 8 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 63.56 MB / 482.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002437/0.1431, allocations: 1.31 MB / 483.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009531/0.1441, allocations: 0.5031 MB / 484.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.1442, allocations: 3.938 kB / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1445, allocations: 127.7 kB / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.1448, allocations: 107.7 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1452, allocations: 99.33 kB / 484.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1454, allocations: 79.73 kB / 484.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.1455, allocations: 15.98 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.1456, allocations: 35.89 kB / 484.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1457, allocations: 75.78 kB / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1457, allocations: 0 / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.1458, allocations: 35.98 kB / 484.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.1459, allocations: 31.84 kB / 484.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.1459, allocations: 37.64 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1461, allocations: 87.88 kB / 484.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1461, allocations: 0 / 484.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1461, allocations: 0 / 484.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1461, allocations: 0 / 484.9 MB, free: 1.996 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005311/0.1466, allocations: 430.9 kB / 485.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1467, allocations: 8.031 kB / 485.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1467, allocations: 11.91 kB / 485.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.147, allocations: 203.4 kB / 485.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.147, allocations: 4 kB / 485.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.147, allocations: 0 / 485.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1472, allocations: 65.59 kB / 485.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1472, allocations: 0 / 485.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1472, allocations: 4 kB / 485.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1472, allocations: 4 kB / 485.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.664e-05/0.1473, allocations: 31.97 kB / 485.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.1477, allocations: 316.7 kB / 486 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.1479, allocations: 50.5 kB / 486 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.1479, allocations: 20.94 kB / 486.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1479, allocations: 0 / 486.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.148, allocations: 38.56 kB / 486.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.148, allocations: 0 / 486.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008771/0.1489, allocations: 281.2 kB / 486.4 MB, free: 396 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1489, allocations: 59.36 kB / 486.4 MB, free: 324 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.1492, allocations: 275.8 kB / 486.7 MB, free: 36 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1492, allocations: 25.7 kB / 486.7 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.1493, allocations: 124.1 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1494, allocations: 23.7 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.1494, allocations: 7.875 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1495, allocations: 322.8 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.1496, allocations: 31.98 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.1497, allocations: 39.91 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.716e-05/0.1498, allocations: 39.98 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1498, allocations: 0 / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000241/0.15, allocations: 129.4 kB / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.15, allocations: 4 kB / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1501, allocations: 0 / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1501, allocations: 4 kB / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1502, allocations: 19.98 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1502, allocations: 7.891 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.1502, allocations: 8 kB / 487.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1503, allocations: 0 / 487.5 MB, free: 15.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001097/0.1504, allocations: 136.3 kB / 487.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1504, allocations: 15.81 kB / 487.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.1507, allocations: 155.2 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1507, allocations: 0 / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1508, allocations: 4 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1508, allocations: 3.953 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.1513, allocations: 439.3 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1513, allocations: 0 / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.1514, allocations: 23.92 kB / 488.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1514, allocations: 4 kB / 488.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1514, allocations: 11.98 kB / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1514, allocations: 0 / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1514, allocations: 0 / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1517, allocations: 220.2 kB / 488.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.1518, allocations: 96.91 kB / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1518, allocations: 4 kB / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.1519, allocations: 7.953 kB / 488.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.1519, allocations: 11.92 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1519, allocations: 4 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1521, allocations: 208.2 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1521, allocations: 0 / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1524, allocations: 23.94 kB / 488.8 MB, free: 13.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009756/0.1533, allocations: 442.4 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1536, allocations: 83.95 kB / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1536, allocations: 0 / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.1537, allocations: 47.91 kB / 489.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.154, allocations: 17.39 kB / 489.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.1546, allocations: 347.5 kB / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1549, allocations: 0.7316 MB / 490.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.022e-05/0.155, allocations: 20.95 kB / 490.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.155, allocations: 15.44 kB / 490.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.155, allocations: 0 / 490.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of Templates: time 0.003626/0.1587, allocations: 1.328 MB / 491.8 MB, free: 10.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches