Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.001611, allocations: 75.81 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3871, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003123/0.3903, allocations: 1.676 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009936/0.3913, allocations: 0.5769 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.3914, allocations: 0 / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.3916, allocations: 56.55 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.3919, allocations: 100.6 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.3923, allocations: 178.1 kB / 0.5335 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.3925, allocations: 93.95 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.3927, allocations: 23.41 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.3928, allocations: 39.38 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3929, allocations: 45.61 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3929, allocations: 4.75 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.393, allocations: 56.69 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.3931, allocations: 24.77 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.3932, allocations: 34.52 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.3934, allocations: 120.3 kB / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3934, allocations: 0 / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3934, allocations: 0 / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3934, allocations: 0 / 0.534 GB, free: 11.37 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005326/0.3939, allocations: 413.8 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.394, allocations: 12.78 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.394, allocations: 18.44 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.3943, allocations: 211.2 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3943, allocations: 2.781 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.3943, allocations: 6.594 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.3945, allocations: 73.78 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3945, allocations: 0 / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3946, allocations: 1.125 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3946, allocations: 1.125 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3947, allocations: 49.11 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.3953, allocations: 324.4 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.3955, allocations: 60.98 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.3956, allocations: 25.38 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3956, allocations: 1.375 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3957, allocations: 35.94 kB / 0.5351 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3957, allocations: 0 / 0.5351 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001499/0.3972, allocations: 429.1 kB / 0.5356 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3972, allocations: 56.72 kB / 0.5356 GB, free: 9.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.3974, allocations: 208.5 kB / 0.5358 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3974, allocations: 25.7 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.3975, allocations: 105.7 kB / 0.5359 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.3976, allocations: 39.98 kB / 0.536 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.3976, allocations: 22.38 kB / 0.536 GB, free: 9.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3977, allocations: 323.2 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.3979, allocations: 55.77 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.3981, allocations: 61.92 kB / 0.5364 GB, free: 9.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3984, allocations: 123.4 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3984, allocations: 0 / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003341/0.3987, allocations: 161.3 kB / 0.5367 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3987, allocations: 13.8 kB / 0.5367 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3987, allocations: 3.938 kB / 0.5367 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3988, allocations: 0 / 0.5367 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3989, allocations: 32.33 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3989, allocations: 1.125 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.399, allocations: 9.609 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.399, allocations: 3.5 kB / 0.5367 GB, free: 9.008 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 (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.0001145/0.3991, allocations: 133.4 kB / 0.5369 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.3992, allocations: 13.78 kB / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.3996, allocations: 186.2 kB / 0.5371 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.3996, allocations: 10.05 kB / 0.5371 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3997, allocations: 0.5625 kB / 0.5371 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3997, allocations: 0 / 0.5371 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.4004, allocations: 0.5053 MB / 0.5376 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4004, allocations: 1.125 kB / 0.5376 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.4006, allocations: 32.75 kB / 0.5376 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.4006, allocations: 5.219 kB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4006, allocations: 2.656 kB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4006, allocations: 1.094 kB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4006, allocations: 4.062 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.401, allocations: 273.8 kB / 0.5379 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.401, allocations: 93.02 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4011, allocations: 5.375 kB / 0.538 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.4012, allocations: 14.33 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.4012, allocations: 11.95 kB / 0.538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.4012, allocations: 4.125 kB / 0.538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.4014, allocations: 147.3 kB / 0.5381 GB, free: 7.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4014, allocations: 0 / 0.5381 GB, free: 7.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.4016, allocations: 23.72 kB / 0.5382 GB, free: 7.824 MB / 398.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.001019/0.4027, allocations: 462.3 kB / 0.5386 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.4031, allocations: 128.2 kB / 0.5387 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4031, allocations: 0 / 0.5387 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.4032, allocations: 71.92 kB / 0.5388 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.4036, allocations: 23.03 kB / 0.5388 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.4043, allocations: 319.2 kB / 0.5391 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.4046, allocations: 0.7176 MB / 0.5398 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.135e-05/0.4047, allocations: 33.67 kB / 0.5399 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.4048, allocations: 20.11 kB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4048, allocations: 0 / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of Templates: time 0.004274/0.409, allocations: 1.659 MB / 0.5415 GB, free: 5.652 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches