Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.00106, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 46.11 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 82.86 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1263, allocations: 62.45 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003408/0.1297, allocations: 1.651 MB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.131, allocations: 0.561 MB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.1312, allocations: 0 / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.1318, allocations: 447.1 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.1324, allocations: 299.3 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.1328, allocations: 142.7 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.1331, allocations: 171.6 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1332, allocations: 15.98 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1334, allocations: 111.8 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.1337, allocations: 215.6 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1337, allocations: 3.938 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1339, allocations: 39.92 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.134, allocations: 83.69 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1341, allocations: 107 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.1345, allocations: 247 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1345, allocations: 0 / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1345, allocations: 0 / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1345, allocations: 0 / 484.1 MB, free: 1.141 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.0008383/0.1353, allocations: 0.6494 MB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1354, allocations: 12.03 kB / 484.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.599e-05/0.1355, allocations: 40.38 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1358, allocations: 300.1 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1358, allocations: 384 / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.1359, allocations: 8.375 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.1361, allocations: 65.72 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1361, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1361, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1361, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.1363, allocations: 47.94 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006358/0.1369, allocations: 384.7 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.137, allocations: 46.56 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.1371, allocations: 28.94 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1372, allocations: 3.938 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1372, allocations: 34.55 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.1372, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009031/0.1381, allocations: 291.8 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1382, allocations: 59.41 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.139, allocations: 0.8574 MB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.139, allocations: 25.7 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.1392, allocations: 212.1 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.1393, allocations: 31.7 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.1393, allocations: 17.72 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1395, allocations: 370.7 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1396, allocations: 35.97 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/0.1397, allocations: 27.98 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.14, allocations: 76.8 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.14, allocations: 4 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002943/0.1403, allocations: 141.1 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1403, allocations: 4 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1403, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1403, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1404, allocations: 23.92 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1405, allocations: 0 / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.711e-05/0.1405, allocations: 19.92 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1406, allocations: 4 kB / 487.9 MB, free: 13.13 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.0001656/0.1407, allocations: 213.8 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.1408, allocations: 43.44 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.1412, allocations: 161.7 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1412, allocations: 4 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1412, allocations: 3.984 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1412, allocations: 7.922 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006042/0.1418, allocations: 494.8 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1418, allocations: 4 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.928e-05/0.1419, allocations: 23.97 kB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1419, allocations: 4 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1419, allocations: 3.938 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.142, allocations: 7.938 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.142, allocations: 3.938 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.1423, allocations: 246.9 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.1424, allocations: 108.6 kB / 489.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.1424, allocations: 11.92 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1425, allocations: 4 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.1426, allocations: 11.98 kB / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1426, allocations: 0 / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005787/0.1432, allocations: 0.6472 MB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1432, allocations: 0 / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1435, allocations: 27.98 kB / 489.9 MB, free: 11.02 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.0009317/0.1444, allocations: 394.6 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1447, allocations: 87.86 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1447, allocations: 0 / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1449, allocations: 39.97 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.1453, allocations: 32.64 kB / 490.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1465, allocations: 0.8227 MB / 491.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.1469, allocations: 0.826 MB / 492.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.693e-05/0.147, allocations: 8 kB / 492.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.147, allocations: 23.38 kB / 492.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.147, allocations: 0 / 492.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of Templates: time 0.005155/0.1522, allocations: 1.574 MB / 493.7 MB, free: 7.316 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches