Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 76.16 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3698, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004643/0.3745, allocations: 2.061 MB / 0.533 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3765, allocations: 1.115 MB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.3766, allocations: 3.688 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005503/0.3772, allocations: 273.2 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.3778, allocations: 261.3 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.3795, allocations: 0.6528 MB / 0.5352 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.38, allocations: 350.2 kB / 0.5356 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.3802, allocations: 81.22 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.3804, allocations: 146.5 kB / 0.5358 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.3807, allocations: 206.8 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.3808, allocations: 15.23 kB / 0.536 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.381, allocations: 101.9 kB / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.3812, allocations: 97.39 kB / 0.5362 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3813, allocations: 129.1 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.3818, allocations: 348.7 kB / 0.5367 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3818, allocations: 0 / 0.5367 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3819, allocations: 0 / 0.5367 GB, free: 9.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.3819, allocations: 4.938 kB / 0.5367 GB, free: 9.566 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001015/0.3829, allocations: 0.6666 MB / 0.5373 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3829, allocations: 10.03 kB / 0.5373 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3831, allocations: 39.31 kB / 0.5374 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.3835, allocations: 337.1 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3836, allocations: 8.969 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.3836, allocations: 11.16 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.3839, allocations: 136.6 kB / 0.5378 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.384, allocations: 7.938 kB / 0.5378 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.384, allocations: 5.344 kB / 0.5378 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.384, allocations: 2.938 kB / 0.5378 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.3842, allocations: 89.62 kB / 0.5379 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008154/0.3851, allocations: 0.5016 MB / 0.5384 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3853, allocations: 116.6 kB / 0.5385 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.3854, allocations: 43.83 kB / 0.5386 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.3855, allocations: 3.125 kB / 0.5386 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3855, allocations: 31.53 kB / 0.5386 GB, free: 7.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.3855, allocations: 0 / 0.5386 GB, free: 7.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001134/0.3867, allocations: 451.3 kB / 0.539 GB, free: 7.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3867, allocations: 57.91 kB / 0.5391 GB, free: 7.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006991/0.3874, allocations: 0.5726 MB / 0.5396 GB, free: 7.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.3875, allocations: 25.7 kB / 0.5397 GB, free: 7.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.3876, allocations: 202.7 kB / 0.5399 GB, free: 7.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.3877, allocations: 62.47 kB / 0.5399 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.3877, allocations: 34.64 kB / 0.54 GB, free: 6.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3879, allocations: 358 kB / 0.5403 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.3881, allocations: 70.36 kB / 0.5404 GB, free: 6.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3882, allocations: 60.06 kB / 0.5404 GB, free: 6.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.3885, allocations: 165.3 kB / 0.5406 GB, free: 6.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3885, allocations: 3.938 kB / 0.5406 GB, free: 6.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000443/0.3889, allocations: 229 kB / 0.5408 GB, free: 6.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.389, allocations: 8.031 kB / 0.5408 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.389, allocations: 4 kB / 0.5408 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.389, allocations: 1.344 kB / 0.5408 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3892, allocations: 34.67 kB / 0.5409 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3892, allocations: 1.344 kB / 0.5409 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.3893, allocations: 12.36 kB / 0.5409 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3893, allocations: 3.562 kB / 0.5409 GB, free: 6.328 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 (17): * Single equations (assignments): 17 * 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.0001923/0.3895, allocations: 180 kB / 0.541 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.3896, allocations: 45.81 kB / 0.5411 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005748/0.3902, allocations: 286.4 kB / 0.5414 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3902, allocations: 2.281 kB / 0.5414 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3902, allocations: 0 / 0.5414 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3902, allocations: 5.359 kB / 0.5414 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009339/0.3911, allocations: 0.6706 MB / 0.542 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3912, allocations: 4 kB / 0.542 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.3913, allocations: 38.59 kB / 0.5421 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3913, allocations: 1.062 kB / 0.5421 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3913, allocations: 6.312 kB / 0.5421 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3913, allocations: 5.062 kB / 0.5421 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3913, allocations: 3.938 kB / 0.5421 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.3918, allocations: 332.8 kB / 0.5424 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.3919, allocations: 109.5 kB / 0.5425 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.3919, allocations: 9.094 kB / 0.5425 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.392, allocations: 3.25 kB / 0.5425 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.3921, allocations: 18.39 kB / 0.5425 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3921, allocations: 4.188 kB / 0.5425 GB, free: 5.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004739/0.3926, allocations: 427.8 kB / 0.5429 GB, free: 4.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3926, allocations: 0 / 0.5429 GB, free: 4.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.3929, allocations: 53.55 kB / 0.543 GB, free: 4.816 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 (17): * Single equations (assignments): 17 * 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.001654/0.3946, allocations: 0.6771 MB / 0.5437 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.395, allocations: 162 kB / 0.5438 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.395, allocations: 0 / 0.5438 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.3952, allocations: 96.22 kB / 0.5439 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006222/0.3958, allocations: 74.2 kB / 0.544 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.3971, allocations: 0.7338 MB / 0.5447 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.3976, allocations: 0.826 MB / 0.5455 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.3977, allocations: 57.89 kB / 0.5455 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.3978, allocations: 31.42 kB / 0.5456 GB, free: 2.734 MB / 398.1 MB Notification: Performance of SimCode: time 2.375e-06/0.3978, allocations: 3.938 kB / 0.5456 GB, free: 2.73 MB / 398.1 MB Notification: Performance of Templates: time 0.007513/0.4053, allocations: 3.428 MB / 0.5489 GB, free: 15.32 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches