Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001275, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 80.39 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1216, allocations: 62.45 MB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003108/0.1247, allocations: 1.623 MB / 481.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.1257, allocations: 0.5377 MB / 482.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.1257, allocations: 0 / 482.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.1262, allocations: 451.1 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.1267, allocations: 299.3 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.127, allocations: 127 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.1272, allocations: 163.7 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.1273, allocations: 15.98 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1275, allocations: 111.7 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.1277, allocations: 211.6 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1277, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.13e-05/0.1278, allocations: 27.98 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.728e-05/0.1279, allocations: 83.69 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.96e-05/0.128, allocations: 99 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1282, allocations: 250.9 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1282, allocations: 0 / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1282, allocations: 0 / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1283, allocations: 0 / 484 MB, free: 1.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006415/0.1289, allocations: 0.6339 MB / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1289, allocations: 8.031 kB / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.129, allocations: 48.45 kB / 484.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1293, allocations: 296.1 kB / 485 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-06/0.1293, allocations: 4.375 kB / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1293, allocations: 384 / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1295, allocations: 49.81 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1295, allocations: 11.91 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1295, allocations: 0 / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1295, allocations: 4 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1296, allocations: 35.97 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.13, allocations: 372.8 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1302, allocations: 38.56 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.1302, allocations: 28.88 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1303, allocations: 11.92 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.1303, allocations: 30.56 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1303, allocations: 0 / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003093/0.1306, allocations: 113.2 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.1307, allocations: 55.41 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.1314, allocations: 0.8574 MB / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1315, allocations: 29.7 kB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1316, allocations: 216 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1316, allocations: 15.78 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1317, allocations: 17.7 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1318, allocations: 362.7 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.1319, allocations: 15.92 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/0.132, allocations: 19.98 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1321, allocations: 36.83 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1321, allocations: 4 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000186/0.1323, allocations: 101.1 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1323, allocations: 6.344 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1323, allocations: 0 / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1323, allocations: 3.984 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.1324, allocations: 12 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1324, allocations: 0 / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.87e-05/0.1325, allocations: 11.98 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1325, allocations: 3.938 kB / 487.4 MB, free: 13.67 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 (3): * Single equations (assignments): 3 * 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.0001656/0.1327, allocations: 213.7 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.1327, allocations: 39.53 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.133, allocations: 117 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.133, allocations: 0 / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.133, allocations: 0 / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.133, allocations: 8.375 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.1333, allocations: 293.4 kB / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1333, allocations: 0 / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.1334, allocations: 11.98 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1334, allocations: 0 / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1334, allocations: 0 / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1334, allocations: 4 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1334, allocations: 3.938 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1336, allocations: 210.9 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.1337, allocations: 108.5 kB / 488.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1337, allocations: 0 / 488.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.1338, allocations: 11.98 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.1339, allocations: 4 kB / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1339, allocations: 0 / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000534/0.1344, allocations: 0.6472 MB / 489 MB, free: 11.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1344, allocations: 0 / 489 MB, free: 11.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1347, allocations: 27.98 kB / 489.1 MB, free: 11.89 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 (3): * Single equations (assignments): 3 * 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.0007562/0.1354, allocations: 340.9 kB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.1356, allocations: 51.83 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1356, allocations: 0 / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.163e-05/0.1357, allocations: 19.98 kB / 489.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1361, allocations: 25.47 kB / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1373, allocations: 0.7836 MB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.1377, allocations: 0.826 MB / 491.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.1377, allocations: 4 kB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.1378, allocations: 11.44 kB / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1378, allocations: 0 / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of Templates: time 0.004427/0.1422, allocations: 1.263 MB / 492.4 MB, free: 8.645 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches