Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 93.53 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 205.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.7 MB / 246.8 MB, free: 9.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.0003013, allocations: 15.92 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 63.57 MB / 483.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002353/0.1368, allocations: 1.366 MB / 484.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1381, allocations: 0.5652 MB / 485 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.1382, allocations: 8 kB / 485 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.1388, allocations: 451.2 kB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.1393, allocations: 279.4 kB / 485.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.1398, allocations: 163.1 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.1401, allocations: 179.6 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1402, allocations: 16 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1403, allocations: 95.8 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.1406, allocations: 215.5 kB / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1406, allocations: 0 / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1407, allocations: 31.98 kB / 486.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.1409, allocations: 83.62 kB / 486.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.141, allocations: 128.7 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.1413, allocations: 259 kB / 486.9 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1413, allocations: 0 / 486.9 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1413, allocations: 0 / 486.9 MB, free: 300 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1414, allocations: 0 / 486.9 MB, free: 300 kB / 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.0007568/0.1421, allocations: 0.603 MB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1422, allocations: 8.875 kB / 487.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.1422, allocations: 40.47 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1426, allocations: 300.1 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1426, allocations: 8.312 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1426, allocations: 8.375 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1428, allocations: 61.8 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1428, allocations: 3.984 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1428, allocations: 4 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1429, allocations: 0 / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.143, allocations: 47.97 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.1436, allocations: 412.6 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1438, allocations: 58.5 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.1439, allocations: 28.94 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1439, allocations: 0 / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1439, allocations: 34.55 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.144, allocations: 4 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009622/0.1449, allocations: 347.8 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.145, allocations: 55.41 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/0.146, allocations: 0.8691 MB / 489.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.146, allocations: 29.7 kB / 489.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.1463, allocations: 212.1 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1463, allocations: 27.59 kB / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.1464, allocations: 13.72 kB / 490 MB, free: 12.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.1466, allocations: 366.7 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1467, allocations: 43.97 kB / 490.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1469, allocations: 47.97 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1472, allocations: 116.8 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1472, allocations: 0 / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003926/0.1476, allocations: 169.1 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1476, allocations: 4 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1476, allocations: 0 / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.1477, allocations: 4 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1478, allocations: 31.91 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1478, allocations: 0 / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.1479, allocations: 23.92 kB / 490.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.148, allocations: 0 / 490.8 MB, free: 12.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.0002198/0.1482, allocations: 217.7 kB / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.1482, allocations: 39.44 kB / 491.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.1487, allocations: 197.7 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1487, allocations: 0 / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1487, allocations: 0 / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.1488, allocations: 11.92 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008025/0.1496, allocations: 0.5296 MB / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1496, allocations: 0 / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/0.1497, allocations: 19.98 kB / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1497, allocations: 4 kB / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1497, allocations: 3.938 kB / 491.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1497, allocations: 4 kB / 491.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1497, allocations: 0 / 491.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.1502, allocations: 287.3 kB / 492.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/0.1503, allocations: 108.5 kB / 492.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.1503, allocations: 15.94 kB / 492.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1504, allocations: 11.98 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.1505, allocations: 4 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1505, allocations: 3.984 kB / 492.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006197/0.1511, allocations: 0.6511 MB / 492.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1511, allocations: 0 / 492.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1514, allocations: 24 kB / 492.9 MB, free: 9.91 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.001016/0.1524, allocations: 401.7 kB / 493.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.1528, allocations: 107.9 kB / 493.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1528, allocations: 0 / 493.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1529, allocations: 55.97 kB / 493.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1533, allocations: 24.17 kB / 493.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.1548, allocations: 0.9197 MB / 494.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.1553, allocations: 0.8262 MB / 495.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.1554, allocations: 32.64 kB / 495.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.1554, allocations: 11.44 kB / 495.3 MB, free: 7.621 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1555, allocations: 0 / 495.3 MB, free: 7.621 MB / 366.1 MB Notification: Performance of Templates: time 0.005214/0.1607, allocations: 1.484 MB / 496.8 MB, free: 6.141 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches