Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 119.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.5 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 79.28 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1302, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003332/0.1336, allocations: 1.654 MB / 483.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1352, allocations: 1.187 MB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.1353, allocations: 0 / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.1355, allocations: 19.86 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.1358, allocations: 87.61 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.1362, allocations: 127.3 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1363, allocations: 75.77 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1364, allocations: 15.98 kB / 484.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.513e-05/0.1365, allocations: 31.86 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1367, allocations: 39.83 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1367, allocations: 4 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.1369, allocations: 99.88 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.1369, allocations: 19.92 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.137, allocations: 31.84 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1372, allocations: 143.6 kB / 485 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1372, allocations: 4 kB / 485 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1372, allocations: 0 / 485 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1373, allocations: 0 / 485 MB, free: 0.9766 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.0005363/0.1378, allocations: 415 kB / 485.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1378, allocations: 8.031 kB / 485.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.1379, allocations: 8.844 kB / 485.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1381, allocations: 192.2 kB / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1381, allocations: 8.375 kB / 485.6 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1381, allocations: 384 / 485.6 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1384, allocations: 83.44 kB / 485.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1384, allocations: 0 / 485.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1384, allocations: 0 / 485.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1384, allocations: 0 / 485.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1385, allocations: 35.97 kB / 485.7 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.1389, allocations: 296.8 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.139, allocations: 46.59 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.1391, allocations: 28.83 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1391, allocations: 3.984 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1392, allocations: 34.56 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1392, allocations: 0 / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007201/0.1399, allocations: 201.2 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.14, allocations: 81.11 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1401, allocations: 148.3 kB / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1401, allocations: 33.64 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.1402, allocations: 96.12 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1402, allocations: 23.64 kB / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.1403, allocations: 17.72 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1404, allocations: 322.8 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1405, allocations: 35.97 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1406, allocations: 49.69 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.1408, allocations: 84.95 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1408, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002446/0.1411, allocations: 109.6 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1411, allocations: 4 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1411, allocations: 0 / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1411, allocations: 4 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1413, allocations: 19.97 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1413, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.1413, allocations: 19.88 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1414, allocations: 3.984 kB / 487.4 MB, free: 14.37 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 8.719e-05/0.1414, allocations: 125.8 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.1415, allocations: 7.906 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.1418, allocations: 118.3 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1418, allocations: 0 / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1418, allocations: 0 / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1418, allocations: 3.938 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1423, allocations: 398.4 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1423, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/0.1424, allocations: 23.97 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1424, allocations: 0 / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1424, allocations: 3.938 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1425, allocations: 0 / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1425, allocations: 0 / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.1428, allocations: 215.3 kB / 488.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.1428, allocations: 85 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1428, allocations: 7.938 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.1429, allocations: 4.281 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.143, allocations: 11.98 kB / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.143, allocations: 4 kB / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.434e-05/0.1431, allocations: 113.3 kB / 488.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1431, allocations: 0 / 488.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.1434, allocations: 44 kB / 488.5 MB, free: 13.12 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.001062/0.1445, allocations: 499.7 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.1447, allocations: 83.88 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1448, allocations: 0 / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1449, allocations: 39.97 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1452, allocations: 26.61 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.1457, allocations: 198 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1459, allocations: 0.6963 MB / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.478e-05/0.146, allocations: 16.28 kB / 490 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.1461, allocations: 23.36 kB / 490.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1461, allocations: 0 / 490.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Templates: time 0.004497/0.1506, allocations: 1.884 MB / 491.9 MB, free: 9.793 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches