Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 95.73 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00176/0.00176, allocations: 201.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003616, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002972/0.1448, allocations: 1.389 MB / 484.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1463, allocations: 0.5729 MB / 485 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.1465, allocations: 4 kB / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007779/0.1473, allocations: 455.2 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006761/0.148, allocations: 283.4 kB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005855/0.1486, allocations: 158.9 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.149, allocations: 179.6 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1492, allocations: 24.22 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.1494, allocations: 107.7 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.1497, allocations: 207.5 kB / 486.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1497, allocations: 0 / 486.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1499, allocations: 47.98 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.15, allocations: 91.61 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1502, allocations: 128.6 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.1505, allocations: 263 kB / 487 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1505, allocations: 0 / 487 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1505, allocations: 0 / 487 MB, free: 252 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1505, allocations: 0 / 487 MB, free: 252 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009136/0.1515, allocations: 0.6108 MB / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1515, allocations: 8.031 kB / 487.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.1516, allocations: 40.47 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.152, allocations: 304.1 kB / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.152, allocations: 12.31 kB / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.152, allocations: 8.281 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.1523, allocations: 73.8 kB / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1523, allocations: 0 / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1524, allocations: 4 kB / 488 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1524, allocations: 0 / 488 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.1526, allocations: 51.95 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008541/0.1535, allocations: 428.5 kB / 488.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.1537, allocations: 62.55 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.1539, allocations: 32.95 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.1539, allocations: 4 kB / 488.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.1539, allocations: 42.59 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.154, allocations: 0 / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001827/0.1558, allocations: 0.562 MB / 489.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.1558, allocations: 59.33 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.1569, allocations: 0.8652 MB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.1569, allocations: 25.7 kB / 490.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.1572, allocations: 224 kB / 490.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.1573, allocations: 35.45 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1573, allocations: 17.72 kB / 490.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1575, allocations: 362.8 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.1577, allocations: 59.97 kB / 490.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1578, allocations: 59.95 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.1581, allocations: 148.7 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1582, allocations: 0 / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004466/0.1586, allocations: 217 kB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1586, allocations: 4 kB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1587, allocations: 0 / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.1587, allocations: 8 kB / 491.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1588, allocations: 31.92 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1588, allocations: 0 / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1589, allocations: 15.97 kB / 491.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.159, allocations: 8 kB / 491.3 MB, free: 11.68 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.000216/0.1592, allocations: 225.7 kB / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.154e-05/0.1593, allocations: 39.44 kB / 491.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005298/0.1598, allocations: 246.4 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1598, allocations: 11.88 kB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.1598, allocations: 4 kB / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1599, allocations: 0 / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009618/0.1608, allocations: 0.6209 MB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1608, allocations: 0 / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.161, allocations: 31.92 kB / 492.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.161, allocations: 8.062 kB / 492.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.161, allocations: 8.078 kB / 492.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.161, allocations: 3.938 kB / 492.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.161, allocations: 7.984 kB / 492.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.1615, allocations: 320.6 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.1616, allocations: 112.5 kB / 492.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.1616, allocations: 7.938 kB / 492.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.1618, allocations: 19.98 kB / 492.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1618, allocations: 11.92 kB / 492.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1618, allocations: 4 kB / 493 MB, free: 9.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006999/0.1625, allocations: 0.6511 MB / 493.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1626, allocations: 0 / 493.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1629, allocations: 31.98 kB / 493.6 MB, free: 9.215 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.001148/0.164, allocations: 447.6 kB / 494.1 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.1644, allocations: 147.8 kB / 494.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1644, allocations: 3.938 kB / 494.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.1646, allocations: 84.02 kB / 494.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1651, allocations: 26.25 kB / 494.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1665, allocations: 0.9799 MB / 495.3 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.1671, allocations: 0.834 MB / 496.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1672, allocations: 32.53 kB / 496.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.1673, allocations: 15.44 kB / 496.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1673, allocations: 0 / 496.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of Templates: time 0.005903/0.1732, allocations: 1.79 MB / 498 MB, free: 4.98 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches