Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 79.72 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1361, allocations: 62.45 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003394/0.1396, allocations: 1.667 MB / 481.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.1406, allocations: 0.53 MB / 481.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.1407, allocations: 4 kB / 481.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.1412, allocations: 447.2 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004469/0.1417, allocations: 283.4 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.142, allocations: 111.2 kB / 482.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.1423, allocations: 159.8 kB / 482.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.1424, allocations: 8.188 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1425, allocations: 115.7 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.1428, allocations: 219.6 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1428, allocations: 4 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.1429, allocations: 23.94 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.143, allocations: 83.69 kB / 483.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.514e-05/0.1431, allocations: 103 kB / 483.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1433, allocations: 235.1 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1433, allocations: 0 / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1433, allocations: 7.938 kB / 483.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1433, allocations: 0 / 483.5 MB, free: 1.637 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.000667/0.144, allocations: 0.6338 MB / 484.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1441, allocations: 8.031 kB / 484.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.1441, allocations: 44.47 kB / 484.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1444, allocations: 292.1 kB / 484.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1444, allocations: 8.375 kB / 484.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.1444, allocations: 384 / 484.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.1446, allocations: 49.62 kB / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1446, allocations: 4 kB / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1446, allocations: 0 / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1446, allocations: 4 kB / 484.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.889e-05/0.1447, allocations: 23.92 kB / 484.5 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.1451, allocations: 376.7 kB / 484.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.978e-05/0.1452, allocations: 30.64 kB / 484.9 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.1453, allocations: 16.84 kB / 484.9 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1453, allocations: 0 / 484.9 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1453, allocations: 34.5 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.1454, allocations: 0 / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002686/0.1456, allocations: 93.2 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.1457, allocations: 67.47 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/0.1465, allocations: 0.8614 MB / 486 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1465, allocations: 29.7 kB / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1467, allocations: 216.1 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.1467, allocations: 3.906 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.1467, allocations: 17.72 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1469, allocations: 362.7 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.164e-05/0.1469, allocations: 8 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.147, allocations: 15.98 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/0.147, allocations: 28.78 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1471, allocations: 0 / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001425/0.1472, allocations: 93.06 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1472, allocations: 4 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1472, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1473, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.1473, allocations: 12.08 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.1473, allocations: 3.984 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.1474, allocations: 4 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1474, allocations: 0 / 486.8 MB, free: 14.1 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 (2): * Single equations (assignments): 2 * 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.0001766/0.1476, allocations: 221.6 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.1477, allocations: 47.42 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.1478, allocations: 104.6 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1479, allocations: 4.031 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1479, allocations: 0 / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1479, allocations: 4 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.1482, allocations: 281.5 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1482, allocations: 0 / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.1482, allocations: 4 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1482, allocations: 0 / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1482, allocations: 7.984 kB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1482, allocations: 0 / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1482, allocations: 4 kB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.1484, allocations: 190.9 kB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.1485, allocations: 104.6 kB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1486, allocations: 0 / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.1486, allocations: 11.98 kB / 487.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.1487, allocations: 0 / 487.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.1487, allocations: 0 / 487.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006706/0.1493, allocations: 0.655 MB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1493, allocations: 4.031 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1496, allocations: 19.92 kB / 488.4 MB, free: 12.36 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 (2): * Single equations (assignments): 2 * 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.0008553/0.1505, allocations: 345.1 kB / 488.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1506, allocations: 27.97 kB / 488.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1506, allocations: 0 / 488.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.1507, allocations: 15.94 kB / 488.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.1511, allocations: 22.3 kB / 488.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1522, allocations: 0.85 MB / 489.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.1528, allocations: 0.8182 MB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.588e-05/0.1528, allocations: 4 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.1529, allocations: 15.42 kB / 490.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1529, allocations: 0 / 490.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of Templates: time 0.004911/0.1578, allocations: 1.233 MB / 491.7 MB, free: 9.094 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches