Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009735/0.0009735, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 191 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 46.18 MB / 344.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.133, allocations: 63.56 MB / 482.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002341/0.1354, allocations: 1.35 MB / 483.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.1364, allocations: 0.5343 MB / 484.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1365, allocations: 3.938 kB / 484.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.1371, allocations: 443.2 kB / 484.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.1376, allocations: 267.5 kB / 485 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.1381, allocations: 159 kB / 485.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.1384, allocations: 135.7 kB / 485.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1385, allocations: 19.98 kB / 485.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.1387, allocations: 103.7 kB / 485.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.139, allocations: 167.7 kB / 485.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.139, allocations: 0 / 485.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1391, allocations: 31.98 kB / 485.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1393, allocations: 83.69 kB / 485.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.1393, allocations: 65.52 kB / 485.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.1396, allocations: 191.7 kB / 485.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1396, allocations: 0 / 485.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1397, allocations: 0 / 485.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1397, allocations: 0 / 485.9 MB, free: 1.043 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.0008557/0.1405, allocations: 0.5952 MB / 486.5 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1406, allocations: 8.031 kB / 486.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.1407, allocations: 47.42 kB / 486.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.141, allocations: 283.2 kB / 486.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.141, allocations: 8 kB / 486.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.141, allocations: 0 / 486.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1412, allocations: 57.67 kB / 486.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1412, allocations: 3.984 kB / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1413, allocations: 4 kB / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1413, allocations: 0 / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1414, allocations: 31.98 kB / 486.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.142, allocations: 400.7 kB / 487.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1422, allocations: 42.66 kB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.1423, allocations: 24.84 kB / 487.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1423, allocations: 4 kB / 487.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1423, allocations: 30.56 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1423, allocations: 0 / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006787/0.143, allocations: 259.8 kB / 487.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.1431, allocations: 63.3 kB / 487.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008456/0.1439, allocations: 0.8737 MB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.144, allocations: 33.64 kB / 488.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1442, allocations: 216.1 kB / 488.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.1442, allocations: 19.8 kB / 488.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.1442, allocations: 4 kB / 488.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1444, allocations: 358.8 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.1444, allocations: 23.98 kB / 489.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.434e-05/0.1445, allocations: 27.97 kB / 489.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.585e-05/0.1446, allocations: 31.98 kB / 489.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1446, allocations: 0 / 489.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002224/0.1448, allocations: 125.1 kB / 489.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1449, allocations: 4 kB / 489.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1449, allocations: 0 / 489.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1449, allocations: 0 / 489.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.145, allocations: 19.98 kB / 489.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.145, allocations: 3.938 kB / 489.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.1451, allocations: 16.19 kB / 489.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1451, allocations: 8 kB / 489.5 MB, free: 13.24 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 (5): * Single equations (assignments): 5 * 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.0001928/0.1453, allocations: 210.2 kB / 489.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.1453, allocations: 43.44 kB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.1456, allocations: 149.2 kB / 489.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1457, allocations: 3.984 kB / 489.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1457, allocations: 4 kB / 489.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1457, allocations: 0 / 489.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.1462, allocations: 482.4 kB / 490.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1463, allocations: 0 / 490.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.1463, allocations: 12 kB / 490.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1463, allocations: 0 / 490.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1463, allocations: 4 kB / 490.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1464, allocations: 3.984 kB / 490.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1464, allocations: 3.953 kB / 490.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1466, allocations: 226.9 kB / 490.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.1467, allocations: 112.5 kB / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1468, allocations: 8 kB / 490.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.1468, allocations: 8 kB / 490.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1469, allocations: 11.88 kB / 490.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.1469, allocations: 4 kB / 490.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006407/0.1475, allocations: 0.6589 MB / 491.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1476, allocations: 0 / 491.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1478, allocations: 16 kB / 491.4 MB, free: 11.2 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 (5): * Single equations (assignments): 5 * 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.0009102/0.1487, allocations: 408.5 kB / 491.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.149, allocations: 63.95 kB / 491.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.149, allocations: 0 / 491.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.1491, allocations: 31.92 kB / 491.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1494, allocations: 30.28 kB / 492 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1507, allocations: 0.8454 MB / 492.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.1512, allocations: 0.8301 MB / 493.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.99e-05/0.1513, allocations: 15.98 kB / 493.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.1514, allocations: 19.42 kB / 493.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1514, allocations: 0 / 493.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of Templates: time 0.004751/0.1561, allocations: 1.382 MB / 495 MB, free: 7.664 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches