Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 76.45 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1287, allocations: 62.45 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003267/0.132, allocations: 1.638 MB / 483.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008619/0.1329, allocations: 0.6841 MB / 483.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.133, allocations: 4 kB / 483.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.1332, allocations: 31.84 kB / 483.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1334, allocations: 39.83 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.769e-06/0.1335, allocations: 0 / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1336, allocations: 35.84 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.1337, allocations: 7.984 kB / 483.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.1337, allocations: 7.938 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.1338, allocations: 15.92 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1338, allocations: 0 / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.821e-05/0.1338, allocations: 8 kB / 483.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.1339, allocations: 19.98 kB / 483.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.1339, allocations: 19.81 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1341, allocations: 75.67 kB / 484 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1341, allocations: 0 / 484 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1341, allocations: 0 / 484 MB, free: 1.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1341, allocations: 0 / 484 MB, free: 1.914 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003705/0.1345, allocations: 363.3 kB / 484.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1345, allocations: 8.031 kB / 484.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.1346, allocations: 12.78 kB / 484.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1347, allocations: 184.1 kB / 484.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1347, allocations: 4.375 kB / 484.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1348, allocations: 384 / 484.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1349, allocations: 129.8 kB / 484.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1349, allocations: 4.172 kB / 484.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.135, allocations: 7.938 kB / 484.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.135, allocations: 27.97 kB / 484.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.1351, allocations: 43.91 kB / 484.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.1357, allocations: 0.8867 MB / 485.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.835e-05/0.1358, allocations: 169.2 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.1359, allocations: 88.08 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1359, allocations: 79.22 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.1359, allocations: 109.8 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.136, allocations: 0 / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.056e-05/0.136, allocations: 37.61 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1361, allocations: 130.7 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1363, allocations: 190 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1363, allocations: 25.7 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.1364, allocations: 143.2 kB / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.1364, allocations: 7.984 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.1364, allocations: 41.62 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1366, allocations: 322.8 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.1366, allocations: 35.92 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1368, allocations: 153.1 kB / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.137, allocations: 200.9 kB / 487.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.137, allocations: 8 kB / 487.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002882/0.1373, allocations: 201.6 kB / 487.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1373, allocations: 8.094 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1373, allocations: 8 kB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1374, allocations: 4 kB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1375, allocations: 35.92 kB / 487.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1375, allocations: 11.94 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.1376, allocations: 27.77 kB / 487.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1376, allocations: 8 kB / 487.7 MB, free: 13.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001189/0.1377, allocations: 209 kB / 487.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.1378, allocations: 132.7 kB / 488 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.1379, allocations: 112.8 kB / 488.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.695e-05/0.1379, allocations: 176.3 kB / 488.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.595e-05/0.138, allocations: 176.3 kB / 488.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.333e-05/0.1381, allocations: 196.1 kB / 488.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.1383, allocations: 429.1 kB / 489.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.923e-05/0.1384, allocations: 112.8 kB / 489.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.1384, allocations: 101 kB / 489.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.656e-05/0.1385, allocations: 176.3 kB / 489.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.1385, allocations: 184.2 kB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-05/0.1386, allocations: 180.3 kB / 489.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.354e-05/0.1386, allocations: 184.2 kB / 490 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.1388, allocations: 311.7 kB / 490.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.1389, allocations: 189.9 kB / 490.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.1389, allocations: 180.3 kB / 490.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.139, allocations: 116.9 kB / 490.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.1391, allocations: 180.3 kB / 491 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.1392, allocations: 101 kB / 491.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1393, allocations: 131.2 kB / 491.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.734e-06/0.1393, allocations: 0 / 491.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1396, allocations: 19.94 kB / 491.2 MB, free: 10.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 (0): * Single equations (assignments): 0 * 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.0005094/0.1401, allocations: 269.8 kB / 491.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1402, allocations: 79.78 kB / 491.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1402, allocations: 0 / 491.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1403, allocations: 0 / 491.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1406, allocations: 464.9 kB / 492 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.141, allocations: 249.2 kB / 492.3 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1413, allocations: 0.6967 MB / 492.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.1415, allocations: 52.95 kB / 493 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.1415, allocations: 19.42 kB / 493 MB, free: 8.297 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1416, allocations: 0 / 493 MB, free: 8.297 MB / 366.1 MB Notification: Performance of Templates: time 0.002949/0.1445, allocations: 0.6819 MB / 493.7 MB, free: 7.617 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches