Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.13 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002204, allocations: 85.52 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1401, allocations: 62.45 MB / 480.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003409/0.1436, allocations: 1.658 MB / 482.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1447, allocations: 0.5532 MB / 483 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.1447, allocations: 8 kB / 483 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006187/0.1454, allocations: 451.1 kB / 483.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.1459, allocations: 291.3 kB / 483.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.1463, allocations: 139.2 kB / 483.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1466, allocations: 171.6 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1467, allocations: 15.98 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1468, allocations: 111.8 kB / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1471, allocations: 215.6 kB / 484.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1471, allocations: 7.938 kB / 484.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1472, allocations: 43.92 kB / 484.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1473, allocations: 79.69 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.298e-05/0.1474, allocations: 103 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.1477, allocations: 251 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1478, allocations: 0 / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1478, allocations: 0 / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1478, allocations: 0 / 484.8 MB, free: 1.156 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.0007774/0.1486, allocations: 0.6494 MB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1486, allocations: 8.031 kB / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.1487, allocations: 44.38 kB / 485.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.149, allocations: 300.1 kB / 485.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.149, allocations: 8.359 kB / 485.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1491, allocations: 4.375 kB / 485.8 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1493, allocations: 61.98 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1493, allocations: 8 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1493, allocations: 0 / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1493, allocations: 0 / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.1495, allocations: 31.97 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.1501, allocations: 392.7 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1502, allocations: 50.55 kB / 486.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.1503, allocations: 24.94 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1504, allocations: 3.938 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1504, allocations: 30.56 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1504, allocations: 0 / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008828/0.1513, allocations: 295.8 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1514, allocations: 51.41 kB / 486.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009499/0.1523, allocations: 0.8652 MB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1523, allocations: 25.7 kB / 487.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1525, allocations: 208.1 kB / 487.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.1526, allocations: 35.7 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.1526, allocations: 17.72 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1528, allocations: 366.7 kB / 488.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.153, allocations: 31.97 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1531, allocations: 31.91 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1533, allocations: 76.81 kB / 488.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1533, allocations: 0 / 488.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003166/0.1536, allocations: 145.1 kB / 488.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1537, allocations: 8 kB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1537, allocations: 0 / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1537, allocations: 0 / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1538, allocations: 31.91 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.1539, allocations: 3.938 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.1539, allocations: 4 kB / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.154, allocations: 7.938 kB / 488.6 MB, free: 13.14 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.1542, allocations: 213.8 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.1543, allocations: 43.44 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.1547, allocations: 173.7 kB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1547, allocations: 4 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1547, allocations: 0 / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1547, allocations: 0 / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.1554, allocations: 0.4905 MB / 489.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1554, allocations: 4 kB / 489.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.146e-05/0.1555, allocations: 19.98 kB / 489.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1555, allocations: 0 / 489.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1556, allocations: 0 / 489.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.1556, allocations: 3.938 kB / 489.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1556, allocations: 3.938 kB / 489.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.156, allocations: 254.8 kB / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.1561, allocations: 104.6 kB / 489.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.1561, allocations: 4 kB / 489.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1562, allocations: 15.92 kB / 489.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.1563, allocations: 4.281 kB / 489.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1563, allocations: 0 / 489.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006917/0.157, allocations: 0.655 MB / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.157, allocations: 0 / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1572, allocations: 24 kB / 490.6 MB, free: 11.04 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 (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.001494/0.1587, allocations: 400.8 kB / 491 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.1591, allocations: 83.86 kB / 491.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1591, allocations: 0 / 491.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1592, allocations: 43.97 kB / 491.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.1596, allocations: 25.95 kB / 491.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.161, allocations: 0.8556 MB / 492 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.1615, allocations: 0.8221 MB / 492.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.1615, allocations: 19.44 kB / 492.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1616, allocations: 11.88 kB / 492.8 MB, free: 8.859 MB / 366.1 MB Notification: Performance of Templates: time 0.007969/0.1695, allocations: 3.83 MB / 496.7 MB, free: 5.023 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches