Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 94.95 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.001308/0.001308, 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.524/1.524, 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.2492/0.2492, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003051, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 63.55 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002345/0.1423, allocations: 1.388 MB / 484.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1434, allocations: 0.5457 MB / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.1435, allocations: 4 kB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1437, allocations: 51.81 kB / 485.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.144, allocations: 83.78 kB / 485.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1445, allocations: 123 kB / 485.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1446, allocations: 79.77 kB / 485.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1448, allocations: 12.23 kB / 485.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.1448, allocations: 43.77 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.145, allocations: 43.83 kB / 485.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.145, allocations: 0 / 485.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1451, allocations: 47.98 kB / 485.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.1452, allocations: 23.92 kB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.1453, allocations: 57.42 kB / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1455, allocations: 95.7 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1455, allocations: 0 / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1455, allocations: 7.938 kB / 485.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1455, allocations: 0 / 485.7 MB, free: 1.543 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005894/0.1461, allocations: 409.9 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1462, allocations: 12.03 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.1463, allocations: 12.84 kB / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1465, allocations: 196.1 kB / 486.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1465, allocations: 384 / 486.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1466, allocations: 8.375 kB / 486.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1468, allocations: 77.72 kB / 486.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1468, allocations: 3.906 kB / 486.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1468, allocations: 0 / 486.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1468, allocations: 0 / 486.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.147, allocations: 51.97 kB / 486.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.1475, allocations: 308.7 kB / 486.7 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.1478, allocations: 62.55 kB / 486.8 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.497e-05/0.1479, allocations: 28.97 kB / 486.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.148, allocations: 3.984 kB / 486.8 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.148, allocations: 38.5 kB / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.1481, allocations: 0 / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001884/0.1499, allocations: 477 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.15, allocations: 55.34 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.1503, allocations: 190.2 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1503, allocations: 25.7 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/0.1504, allocations: 104.1 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.1505, allocations: 35.45 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.1506, allocations: 13.72 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1507, allocations: 322.8 kB / 488.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1509, allocations: 59.95 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.151, allocations: 47.97 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.1513, allocations: 121.1 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1513, allocations: 0 / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003732/0.1517, allocations: 169.3 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1517, allocations: 4 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1517, allocations: 0 / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1517, allocations: 4 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1518, allocations: 31.92 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1519, allocations: 3.844 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.1519, allocations: 20.55 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.152, allocations: 0 / 488.5 MB, free: 14.48 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 (11): * Single equations (assignments): 11 * 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.0001148/0.1521, allocations: 133.8 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.1521, allocations: 7.906 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004217/0.1525, allocations: 190.2 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1526, allocations: 3.938 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1526, allocations: 0 / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1526, allocations: 0 / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/0.1533, allocations: 499.9 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1533, allocations: 0 / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1534, allocations: 27.98 kB / 489.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1534, allocations: 8.062 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1534, allocations: 0 / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1534, allocations: 4 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1534, allocations: 0 / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.1538, allocations: 272.9 kB / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.1538, allocations: 92.91 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.1539, allocations: 4 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.154, allocations: 19.98 kB / 489.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.154, allocations: 4 kB / 489.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.154, allocations: 7.984 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1542, allocations: 143.2 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1542, allocations: 0 / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1544, allocations: 24 kB / 489.9 MB, free: 12.95 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001098/0.1556, allocations: 465.4 kB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.1559, allocations: 123.9 kB / 490.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1559, allocations: 4 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1561, allocations: 64.03 kB / 490.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1565, allocations: 23.92 kB / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.1572, allocations: 327.5 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1576, allocations: 0.7083 MB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.571e-05/0.1576, allocations: 20.53 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.1577, allocations: 15.62 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1577, allocations: 0 / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Templates: time 0.004219/0.1619, allocations: 1.444 MB / 493.1 MB, free: 9.879 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches