Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 209.8 kB / 18.27 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.424/1.424, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 76.7 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1443, allocations: 62.44 MB / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002991/0.1473, allocations: 1.732 MB / 481.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009574/0.1483, allocations: 0.5728 MB / 481.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.1484, allocations: 0 / 481.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.149, allocations: 455.2 kB / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004129/0.1494, allocations: 283.4 kB / 482.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.1498, allocations: 163.4 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.1501, allocations: 179.6 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1502, allocations: 20.22 kB / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1504, allocations: 119.7 kB / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1506, allocations: 223.5 kB / 483.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1506, allocations: 4 kB / 483.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1507, allocations: 47.97 kB / 483.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.753e-05/0.1508, allocations: 91.62 kB / 483.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1509, allocations: 99 kB / 483.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1512, allocations: 274.9 kB / 483.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1512, allocations: 0 / 483.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1512, allocations: 4 kB / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1513, allocations: 0 / 483.7 MB, free: 1.379 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.0006985/0.152, allocations: 0.6456 MB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.152, allocations: 12.02 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.1521, allocations: 44.38 kB / 484.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1524, allocations: 296.2 kB / 484.7 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-06/0.1524, allocations: 8.25 kB / 484.7 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.1524, allocations: 8.375 kB / 484.7 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1526, allocations: 69.8 kB / 484.8 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1526, allocations: 0 / 484.8 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1526, allocations: 4 kB / 484.8 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1526, allocations: 3.938 kB / 484.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1527, allocations: 35.97 kB / 484.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.1533, allocations: 412.5 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1534, allocations: 50.55 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.1535, allocations: 20.98 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1535, allocations: 3.984 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.1535, allocations: 34.56 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1536, allocations: 0 / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009218/0.1545, allocations: 316.2 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1545, allocations: 55.34 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.1554, allocations: 0.866 MB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1554, allocations: 25.7 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1556, allocations: 224.1 kB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1556, allocations: 35.55 kB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.1557, allocations: 17.72 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1559, allocations: 366.8 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.433e-05/0.1559, allocations: 27.98 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.156, allocations: 36.03 kB / 487.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1562, allocations: 84.73 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1562, allocations: 4 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002318/0.1564, allocations: 133.2 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1565, allocations: 10.66 kB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1565, allocations: 3.984 kB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1565, allocations: 0 / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.1566, allocations: 15.98 kB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.1566, allocations: 7.938 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.1567, allocations: 4 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.1567, allocations: 8 kB / 487.5 MB, free: 13.31 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 (8): * Single equations (assignments): 8 * 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.0002436/0.157, allocations: 217.7 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.157, allocations: 43.44 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.1574, allocations: 165.5 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1574, allocations: 7.938 kB / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1574, allocations: 3.938 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1574, allocations: 4 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.158, allocations: 0.5225 MB / 488.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.158, allocations: 7.875 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.1581, allocations: 19.98 kB / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1581, allocations: 7.938 kB / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1581, allocations: 0 / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1581, allocations: 8.031 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1581, allocations: 0 / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.1584, allocations: 252.2 kB / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.1585, allocations: 116.5 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1586, allocations: 4 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.1587, allocations: 4 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.1587, allocations: 7.984 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.1587, allocations: 8 kB / 488.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006238/0.1593, allocations: 0.6511 MB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1593, allocations: 0 / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1596, allocations: 35.98 kB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001091/0.1607, allocations: 450 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.161, allocations: 79.95 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.161, allocations: 0 / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.99e-05/0.1611, allocations: 43.91 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.1616, allocations: 35.23 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.1629, allocations: 0.9096 MB / 491.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.1634, allocations: 0.8337 MB / 491.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.581e-05/0.1635, allocations: 32.7 kB / 492 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.1635, allocations: 15.44 kB / 492 MB, free: 8.84 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1635, allocations: 0 / 492 MB, free: 8.84 MB / 366.1 MB Notification: Performance of Templates: time 0.005249/0.1688, allocations: 1.726 MB / 493.7 MB, free: 7.125 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches