Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 116.5 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 77.78 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1353, allocations: 62.45 MB / 479.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003216/0.1386, allocations: 1.735 MB / 481.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1397, allocations: 0.5494 MB / 481.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.1397, allocations: 0 / 481.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.1403, allocations: 447.2 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.1408, allocations: 287.4 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.1411, allocations: 119.4 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1414, allocations: 167.6 kB / 482.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1415, allocations: 27.98 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1416, allocations: 111.7 kB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.1419, allocations: 219.6 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1419, allocations: 8 kB / 483.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.142, allocations: 47.98 kB / 483.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1421, allocations: 91.67 kB / 483.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.1422, allocations: 99 kB / 483.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.1425, allocations: 274.9 kB / 483.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1426, allocations: 0 / 483.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1426, allocations: 0 / 483.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1426, allocations: 0 / 483.6 MB, free: 1.477 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.0007049/0.1433, allocations: 0.6455 MB / 484.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1433, allocations: 8.031 kB / 484.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.1434, allocations: 48.38 kB / 484.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1437, allocations: 292.2 kB / 484.6 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1437, allocations: 8.375 kB / 484.6 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1437, allocations: 4.375 kB / 484.6 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1439, allocations: 73.67 kB / 484.7 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1439, allocations: 3.906 kB / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.144, allocations: 0 / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.144, allocations: 4 kB / 484.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.636e-05/0.1441, allocations: 23.98 kB / 484.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.1446, allocations: 404.5 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1447, allocations: 42.56 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.1448, allocations: 20.94 kB / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1448, allocations: 0 / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1449, allocations: 38.66 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1449, allocations: 3.938 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009989/0.1459, allocations: 300.3 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.146, allocations: 59.34 kB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.1469, allocations: 0.8653 MB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1469, allocations: 25.7 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1471, allocations: 228 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1471, allocations: 23.66 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1471, allocations: 25.7 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1473, allocations: 358.8 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.1474, allocations: 23.98 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.1475, allocations: 27.97 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1476, allocations: 60.84 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1476, allocations: 0 / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002475/0.1479, allocations: 137 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1479, allocations: 10.75 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1479, allocations: 0 / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.148, allocations: 0 / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1481, allocations: 24.03 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1481, allocations: 4.25 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.215e-05/0.1482, allocations: 15.97 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1482, allocations: 0 / 487.4 MB, free: 13.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 (8): * Single equations (assignments): 8 * 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.0001922/0.1484, allocations: 209.8 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.1484, allocations: 43.44 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.1488, allocations: 169.4 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1488, allocations: 0 / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1488, allocations: 7.922 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1488, allocations: 0 / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.1494, allocations: 0.4992 MB / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1494, allocations: 7.969 kB / 488.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-05/0.1495, allocations: 23.98 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1496, allocations: 3.938 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1496, allocations: 4 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1496, allocations: 0 / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1496, allocations: 0 / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.1499, allocations: 239.8 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.1499, allocations: 112.5 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.15, allocations: 7.984 kB / 488.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.1501, allocations: 4 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.1501, allocations: 7.984 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.1501, allocations: 4 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005897/0.1507, allocations: 0.6511 MB / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1507, allocations: 0 / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.151, allocations: 28 kB / 489.4 MB, free: 11.37 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 (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.001054/0.1521, allocations: 451 kB / 489.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1523, allocations: 67.97 kB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1524, allocations: 0 / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.1525, allocations: 39.91 kB / 489.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.153, allocations: 37.88 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1543, allocations: 0.91 MB / 490.9 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.1548, allocations: 0.826 MB / 491.7 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.643e-05/0.1548, allocations: 12.42 kB / 491.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.1549, allocations: 19.42 kB / 491.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1549, allocations: 4 kB / 491.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of Templates: time 0.005969/0.1609, allocations: 1.687 MB / 493.4 MB, free: 7.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches