Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.799/1.799, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2392/0.2392, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 83.86 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3622, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002996/0.3652, allocations: 1.641 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007475/0.366, allocations: 0.685 MB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.366, allocations: 1.375 kB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.3662, allocations: 34.72 kB / 0.5333 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.3664, allocations: 45.56 kB / 0.5333 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.487e-06/0.3664, allocations: 0 / 0.5333 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.3666, allocations: 27.05 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.3666, allocations: 6.734 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.3667, allocations: 13.42 kB / 0.5334 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.3667, allocations: 10.81 kB / 0.5334 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.3667, allocations: 5.312 kB / 0.5334 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.501e-05/0.3668, allocations: 10.88 kB / 0.5334 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.3669, allocations: 24.16 kB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.3669, allocations: 23.94 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.367, allocations: 68.98 kB / 0.5335 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.367, allocations: 1.375 kB / 0.5335 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.367, allocations: 0 / 0.5335 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.367, allocations: 0 / 0.5335 GB, free: 11.61 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003358/0.3674, allocations: 368.9 kB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.3674, allocations: 9.625 kB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.3675, allocations: 6.266 kB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3676, allocations: 184.4 kB / 0.5341 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3676, allocations: 1.75 kB / 0.5341 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3676, allocations: 1.75 kB / 0.5341 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.3678, allocations: 125.3 kB / 0.5342 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3679, allocations: 1.562 kB / 0.5342 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3679, allocations: 5.312 kB / 0.5342 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.3679, allocations: 23.11 kB / 0.5342 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.368, allocations: 47.28 kB / 0.5343 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.3686, allocations: 0.8933 MB / 0.5351 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.402e-05/0.3687, allocations: 174.5 kB / 0.5353 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.3687, allocations: 81.52 kB / 0.5354 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.3687, allocations: 79.22 kB / 0.5355 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.3688, allocations: 109.8 kB / 0.5356 GB, free: 9.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3688, allocations: 1.375 kB / 0.5356 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.221e-05/0.3689, allocations: 41.73 kB / 0.5356 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.3689, allocations: 130.7 kB / 0.5357 GB, free: 9.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3691, allocations: 182.2 kB / 0.5359 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.3691, allocations: 25.7 kB / 0.5359 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.3692, allocations: 147.8 kB / 0.5361 GB, free: 8.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-06/0.3692, allocations: 13.3 kB / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.3693, allocations: 44.8 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3694, allocations: 321.6 kB / 0.5364 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.3694, allocations: 26.83 kB / 0.5365 GB, free: 8.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3696, allocations: 152.5 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.3698, allocations: 207.8 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3698, allocations: 5.094 kB / 0.5368 GB, free: 8.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003054/0.3701, allocations: 198.2 kB / 0.537 GB, free: 8.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3702, allocations: 12.38 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3702, allocations: 5.281 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3702, allocations: 5.594 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.3703, allocations: 45.2 kB / 0.5371 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.3703, allocations: 9.875 kB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.3704, allocations: 19.73 kB / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.3705, allocations: 25.95 kB / 0.5371 GB, free: 8.031 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001376/0.3706, allocations: 205.6 kB / 0.5373 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.3707, allocations: 121.2 kB / 0.5374 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.3708, allocations: 121.9 kB / 0.5375 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/0.3708, allocations: 177.4 kB / 0.5377 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.611e-05/0.3709, allocations: 181.5 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.33e-05/0.371, allocations: 185.2 kB / 0.5381 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.3712, allocations: 420.5 kB / 0.5385 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.851e-05/0.3713, allocations: 114.1 kB / 0.5386 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.3713, allocations: 102 kB / 0.5387 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.118e-05/0.3714, allocations: 177.4 kB / 0.5388 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.3714, allocations: 185.4 kB / 0.539 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.787e-05/0.3715, allocations: 176.3 kB / 0.5392 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.695e-05/0.3716, allocations: 185.4 kB / 0.5394 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3717, allocations: 314.4 kB / 0.5397 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.3718, allocations: 192.3 kB / 0.5398 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.88e-05/0.3719, allocations: 182.5 kB / 0.54 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.372, allocations: 108.9 kB / 0.5401 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.3721, allocations: 181.3 kB / 0.5403 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.3721, allocations: 102.2 kB / 0.5404 GB, free: 4.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3722, allocations: 137.4 kB / 0.5405 GB, free: 4.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3722, allocations: 0 / 0.5405 GB, free: 4.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.3726, allocations: 12.44 kB / 0.5405 GB, free: 4.398 MB / 398.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 (0): * Single equations (assignments): 0 * 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.0004652/0.373, allocations: 285.9 kB / 0.5408 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.3732, allocations: 73.75 kB / 0.5409 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3732, allocations: 1.031 kB / 0.5409 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.3732, allocations: 0 / 0.5409 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.3737, allocations: 471.8 kB / 0.5413 GB, free: 3.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.374, allocations: 246.5 kB / 0.5416 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.3745, allocations: 0.6954 MB / 0.5422 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.3747, allocations: 55.42 kB / 0.5423 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.3747, allocations: 16.89 kB / 0.5423 GB, free: 2.719 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3747, allocations: 1.375 kB / 0.5423 GB, free: 2.719 MB / 398.1 MB Notification: Performance of Templates: time 0.002852/0.3776, allocations: 0.737 MB / 0.543 GB, free: 2.348 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches