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.001161/0.001161, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 83.78 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1357, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003555/0.1393, allocations: 1.653 MB / 483.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1416, allocations: 1.183 MB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.1417, allocations: 4 kB / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1419, allocations: 23.84 kB / 484.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1423, allocations: 83.62 kB / 484.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.1427, allocations: 127.5 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1428, allocations: 79.7 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.143, allocations: 15.98 kB / 484.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.599e-05/0.1431, allocations: 31.91 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1433, allocations: 39.83 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1433, allocations: 7.938 kB / 484.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.1435, allocations: 95.89 kB / 484.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.1436, allocations: 19.97 kB / 484.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.1436, allocations: 27.8 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1439, allocations: 147.6 kB / 485 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1439, allocations: 4 kB / 485 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1439, allocations: 0 / 485 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.1439, allocations: 0 / 485 MB, free: 0.9492 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.0006622/0.1446, allocations: 411.1 kB / 485.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1446, allocations: 8.031 kB / 485.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.1447, allocations: 8.844 kB / 485.4 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1449, allocations: 188.3 kB / 485.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.145, allocations: 4.375 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.145, allocations: 384 / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.1452, allocations: 87.44 kB / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1452, allocations: 0 / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1453, allocations: 0 / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1453, allocations: 0 / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1454, allocations: 43.94 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.1459, allocations: 296.7 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1461, allocations: 42.5 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.1462, allocations: 32.88 kB / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1462, allocations: 0 / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.1463, allocations: 38.55 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1463, allocations: 0 / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007951/0.1471, allocations: 205.2 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.1472, allocations: 77.11 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1474, allocations: 148.4 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1474, allocations: 33.7 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.1475, allocations: 92.12 kB / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1476, allocations: 27.72 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.1476, allocations: 21.7 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004286/0.1481, allocations: 318.8 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1482, allocations: 27.97 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1483, allocations: 61.61 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1485, allocations: 72.81 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1485, allocations: 0 / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002726/0.1488, allocations: 105.5 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1488, allocations: 11.97 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1488, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1489, allocations: 4 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.149, allocations: 15.98 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.149, allocations: 0 / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.1491, allocations: 19.92 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1491, allocations: 3.938 kB / 487.3 MB, free: 14.35 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.0002001/0.1493, allocations: 121.8 kB / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.1494, allocations: 11.91 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.1497, allocations: 122.3 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1497, allocations: 0 / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1497, allocations: 0 / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1497, allocations: 3.938 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.1503, allocations: 394.8 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1503, allocations: 288 / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.1504, allocations: 19.98 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1504, allocations: 0 / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1504, allocations: 11.86 kB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1504, allocations: 80 / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1504, allocations: 3.984 kB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1508, allocations: 219.3 kB / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.151, allocations: 85.02 kB / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.151, allocations: 7.938 kB / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.1511, allocations: 7.984 kB / 488.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1511, allocations: 7.984 kB / 488.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1511, allocations: 0 / 488.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.601e-05/0.1512, allocations: 115.3 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1513, allocations: 0 / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.1515, allocations: 43.98 kB / 488.5 MB, free: 13.09 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.001489/0.153, allocations: 498.6 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.1533, allocations: 79.88 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1533, allocations: 0 / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.1535, allocations: 43.97 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1538, allocations: 23.2 kB / 489.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.1543, allocations: 194 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.1547, allocations: 0.6924 MB / 490 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.428e-05/0.1548, allocations: 23.91 kB / 490 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.1549, allocations: 19.42 kB / 490.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1549, allocations: 0 / 490.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of Templates: time 0.004907/0.1598, allocations: 1.88 MB / 491.9 MB, free: 9.77 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches