Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 110.4 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002611/0.002611, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001241, allocations: 78.16 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 62.44 MB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003757/0.1421, allocations: 1.74 MB / 481.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1433, allocations: 0.5728 MB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.1434, allocations: 0 / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.1437, allocations: 79.77 kB / 481.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.1441, allocations: 91.78 kB / 482 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.1446, allocations: 158.9 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1447, allocations: 91.81 kB / 482.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1449, allocations: 24.2 kB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.145, allocations: 43.78 kB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1451, allocations: 55.83 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1451, allocations: 4 kB / 482.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1452, allocations: 51.97 kB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.1453, allocations: 27.92 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.1454, allocations: 39.67 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.1456, allocations: 115.6 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1456, allocations: 4 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1456, allocations: 0 / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1456, allocations: 0 / 482.6 MB, free: 2.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005482/0.1462, allocations: 435.1 kB / 483 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1462, allocations: 8.031 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.1463, allocations: 8.844 kB / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1464, allocations: 200 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1465, allocations: 4.375 kB / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1465, allocations: 4.375 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.1467, allocations: 73.72 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1467, allocations: 4 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1467, allocations: 0 / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1467, allocations: 4 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1469, allocations: 43.95 kB / 483.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.1473, allocations: 328.6 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.1476, allocations: 62.55 kB / 483.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.1477, allocations: 24.97 kB / 483.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1477, allocations: 4 kB / 483.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.1477, allocations: 30.56 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1477, allocations: 3.938 kB / 483.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001532/0.1493, allocations: 433.2 kB / 484.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.1493, allocations: 59.34 kB / 484.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.1495, allocations: 216.1 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1496, allocations: 25.7 kB / 484.5 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.1496, allocations: 108.1 kB / 484.6 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.1497, allocations: 31.47 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.1497, allocations: 33.7 kB / 484.7 MB, free: 180 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1499, allocations: 326.8 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.15, allocations: 51.95 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1502, allocations: 55.95 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.1504, allocations: 129 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1505, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003378/0.1508, allocations: 169.3 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1508, allocations: 6.656 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1508, allocations: 0 / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1509, allocations: 0 / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.151, allocations: 35.91 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.151, allocations: 4 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.1511, allocations: 11.98 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1511, allocations: 4 kB / 485.4 MB, free: 15.38 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 (11): * Single equations (assignments): 11 * 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.0001167/0.1512, allocations: 133.8 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.1512, allocations: 15.81 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.1517, allocations: 190.9 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1517, allocations: 7.922 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1517, allocations: 3.938 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1517, allocations: 3.984 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.1525, allocations: 0.5 MB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1525, allocations: 4 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1526, allocations: 27.97 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1526, allocations: 0 / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1526, allocations: 4 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1526, allocations: 3.938 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1526, allocations: 0 / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.153, allocations: 273.3 kB / 486.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.1531, allocations: 88.95 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1531, allocations: 12 kB / 486.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.1532, allocations: 7.984 kB / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.1533, allocations: 19.92 kB / 486.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1533, allocations: 7.938 kB / 486.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1534, allocations: 163.5 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1535, allocations: 0 / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1537, allocations: 28 kB / 486.9 MB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001036/0.1548, allocations: 455.7 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003941/0.1552, allocations: 123.9 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1552, allocations: 0 / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1553, allocations: 79.95 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1557, allocations: 24.77 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.1564, allocations: 376.7 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1567, allocations: 0.7197 MB / 488.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.606e-05/0.1568, allocations: 32.52 kB / 488.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.1568, allocations: 19.42 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1568, allocations: 0 / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Templates: time 0.004887/0.1617, allocations: 1.583 MB / 490.3 MB, free: 10.51 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches