Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 99.52 kB / 17.01 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 193.6 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 46.18 MB / 344.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002735, allocations: 12.2 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 63.57 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002148/0.1423, allocations: 1.357 MB / 483.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1439, allocations: 1.082 MB / 484.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.144, allocations: 7.938 kB / 484.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.1442, allocations: 23.86 kB / 484.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1444, allocations: 59.81 kB / 484.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1447, allocations: 115.8 kB / 485.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1449, allocations: 63.77 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.145, allocations: 12 kB / 485.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.145, allocations: 23.86 kB / 485.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1452, allocations: 35.83 kB / 485.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1452, allocations: 4 kB / 485.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1454, allocations: 83.94 kB / 485.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.1454, allocations: 15.94 kB / 485.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.1455, allocations: 33.64 kB / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1456, allocations: 99.84 kB / 485.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1457, allocations: 0 / 485.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1457, allocations: 0 / 485.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1457, allocations: 4 kB / 485.4 MB, free: 1.488 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.00052/0.1462, allocations: 409.5 kB / 485.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1462, allocations: 8.031 kB / 485.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.1463, allocations: 7.906 kB / 485.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1465, allocations: 190.9 kB / 486 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1465, allocations: 4 kB / 486 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1466, allocations: 0 / 486 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1468, allocations: 83.33 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1468, allocations: 3.938 kB / 486.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1468, allocations: 0 / 486.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1468, allocations: 3.984 kB / 486.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1469, allocations: 51.95 kB / 486.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.1474, allocations: 292.8 kB / 486.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1475, allocations: 54.5 kB / 486.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.141e-05/0.1476, allocations: 24.94 kB / 486.5 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1476, allocations: 0 / 486.5 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1477, allocations: 38.55 kB / 486.6 MB, free: 176 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1477, allocations: 0 / 486.6 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000832/0.1485, allocations: 241.2 kB / 486.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.1486, allocations: 81.06 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1488, allocations: 142 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1488, allocations: 29.7 kB / 487.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.1489, allocations: 100 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1489, allocations: 23.66 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.1489, allocations: 0 / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1491, allocations: 322.8 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1492, allocations: 43.97 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1493, allocations: 53.69 kB / 487.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1494, allocations: 51.97 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1494, allocations: 4.031 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002761/0.1497, allocations: 125.8 kB / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1497, allocations: 8 kB / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1497, allocations: 0 / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1498, allocations: 0 / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1499, allocations: 23.98 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1499, allocations: 4.062 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.15, allocations: 15.94 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.15, allocations: 4 kB / 487.8 MB, free: 14.86 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 (7): * Single equations (assignments): 7 * 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.0001002/0.1501, allocations: 118.4 kB / 487.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.1501, allocations: 15.83 kB / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.1505, allocations: 138.3 kB / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1505, allocations: 0 / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.1505, allocations: 4 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1505, allocations: 0 / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.1511, allocations: 414.4 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1511, allocations: 4 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.326e-05/0.1512, allocations: 19.98 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1512, allocations: 4 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1512, allocations: 8 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1512, allocations: 3.984 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1512, allocations: 7.891 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.1515, allocations: 223.4 kB / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1516, allocations: 89 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1516, allocations: 7.938 kB / 488.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.1517, allocations: 15.98 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.1518, allocations: 3.953 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1518, allocations: 8 kB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.796e-05/0.1519, allocations: 113.4 kB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1519, allocations: 0 / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.1522, allocations: 43.94 kB / 489 MB, free: 13.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001239/0.1535, allocations: 492.2 kB / 489.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.1538, allocations: 95.94 kB / 489.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1538, allocations: 0 / 489.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.1539, allocations: 51.89 kB / 489.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.1542, allocations: 19.98 kB / 489.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.1548, allocations: 233.2 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.1551, allocations: 0.6983 MB / 490.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.088e-05/0.1551, allocations: 12.3 kB / 490.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.1552, allocations: 23.42 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1552, allocations: 4 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.004616/0.1598, allocations: 1.788 MB / 492.4 MB, free: 10.25 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches