Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 201.2 kB / 18.74 MB, free: 4.332 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.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2491/0.2491, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5546, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.004299/0.5589, allocations: 1.663 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.5604, allocations: 0.5821 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.5605, allocations: 1.375 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006631/0.5612, allocations: 451.9 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005496/0.5617, allocations: 293.4 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.5623, allocations: 173.1 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.5628, allocations: 191.7 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.563, allocations: 21.84 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.5632, allocations: 107.3 kB / 0.5344 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.5636, allocations: 224.2 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.5637, allocations: 4.125 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.5638, allocations: 32.59 kB / 0.5346 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.564, allocations: 83.34 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.5641, allocations: 104.7 kB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.5648, allocations: 270.9 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.5648, allocations: 5.062 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.5648, allocations: 0 / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.5648, allocations: 0 / 0.5351 GB, free: 10.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00151/0.5663, allocations: 0.6656 MB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.5664, allocations: 8.812 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.72e-05/0.5665, allocations: 48.52 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.5669, allocations: 298.5 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.567, allocations: 6.375 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.567, allocations: 2.312 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.5672, allocations: 67 kB / 0.5361 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.5673, allocations: 0.8438 kB / 0.5361 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5673, allocations: 7.938 kB / 0.5361 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5673, allocations: 1.344 kB / 0.5361 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.5675, allocations: 38.28 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/0.5682, allocations: 405.5 kB / 0.5366 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.5684, allocations: 41.31 kB / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.5685, allocations: 40.58 kB / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.5685, allocations: 5.266 kB / 0.5367 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.5686, allocations: 31.84 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.542e-06/0.5686, allocations: 0 / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000999/0.5696, allocations: 319.4 kB / 0.537 GB, free: 9.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.5697, allocations: 52.44 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.5708, allocations: 0.8678 MB / 0.5379 GB, free: 8.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.045e-05/0.5709, allocations: 29.7 kB / 0.5379 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.5711, allocations: 215.9 kB / 0.5381 GB, free: 8.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.5711, allocations: 23.36 kB / 0.5381 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.5712, allocations: 27.33 kB / 0.5382 GB, free: 8.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.5714, allocations: 363.9 kB / 0.5385 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5716, allocations: 37.25 kB / 0.5386 GB, free: 8.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.5717, allocations: 41.73 kB / 0.5386 GB, free: 8.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.5719, allocations: 87.33 kB / 0.5387 GB, free: 8.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5719, allocations: 0 / 0.5387 GB, free: 8.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003451/0.5723, allocations: 167 kB / 0.5388 GB, free: 7.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.5723, allocations: 9.625 kB / 0.5388 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5723, allocations: 0 / 0.5388 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5723, allocations: 1.594 kB / 0.5388 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.5725, allocations: 18.77 kB / 0.5389 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5725, allocations: 4 kB / 0.5389 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.848e-05/0.5726, allocations: 13.61 kB / 0.5389 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.5726, allocations: 2.75 kB / 0.5389 GB, free: 7.891 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0002753/0.5729, allocations: 218.9 kB / 0.5391 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.573, allocations: 42.72 kB / 0.5391 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.5734, allocations: 187.6 kB / 0.5393 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5734, allocations: 1.188 kB / 0.5393 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.5734, allocations: 0 / 0.5393 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5734, allocations: 5.188 kB / 0.5393 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008435/0.5743, allocations: 0.5054 MB / 0.5398 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5743, allocations: 0 / 0.5398 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/0.5744, allocations: 22.19 kB / 0.5398 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5744, allocations: 5.188 kB / 0.5398 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.5744, allocations: 9.031 kB / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5744, allocations: 0 / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5745, allocations: 1.219 kB / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.5749, allocations: 258.1 kB / 0.5401 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.5751, allocations: 117.7 kB / 0.5402 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.5751, allocations: 9 kB / 0.5402 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5753, allocations: 9.484 kB / 0.5402 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.5753, allocations: 7.078 kB / 0.5402 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5753, allocations: 2.281 kB / 0.5402 GB, free: 6.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008265/0.5762, allocations: 0.6565 MB / 0.5409 GB, free: 6.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5762, allocations: 0 / 0.5409 GB, free: 6.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.5765, allocations: 25.22 kB / 0.5409 GB, free: 6.48 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 (7): * Single equations (assignments): 7 * 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.001137/0.5776, allocations: 395.8 kB / 0.5413 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.578, allocations: 88.08 kB / 0.5414 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.578, allocations: 1.062 kB / 0.5414 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.5781, allocations: 52.17 kB / 0.5414 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.5786, allocations: 35.16 kB / 0.5414 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.58, allocations: 0.8376 MB / 0.5423 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/0.5806, allocations: 0.8319 MB / 0.5431 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.158e-05/0.5807, allocations: 21.61 kB / 0.5431 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.5808, allocations: 16.91 kB / 0.5431 GB, free: 4.953 MB / 398.1 MB Notification: Performance of SimCode: time 2.385e-06/0.5808, allocations: 0 / 0.5431 GB, free: 4.953 MB / 398.1 MB Notification: Performance of Templates: time 0.005737/0.5865, allocations: 1.627 MB / 0.5447 GB, free: 3.465 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches