Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, 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.2237/0.2237, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3868, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003415/0.3902, allocations: 1.679 MB / 0.5327 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3913, allocations: 0.5747 MB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.3914, allocations: 1.375 kB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.3917, allocations: 75.33 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.392, allocations: 104.7 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.3925, allocations: 185.8 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.3926, allocations: 95.61 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3928, allocations: 15.23 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.565e-05/0.3928, allocations: 40.34 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.393, allocations: 53.28 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.393, allocations: 8.031 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3931, allocations: 44.92 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.3932, allocations: 29.31 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.3932, allocations: 39.11 kB / 0.5339 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.3934, allocations: 125.9 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3934, allocations: 0 / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3934, allocations: 0 / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3935, allocations: 0 / 0.534 GB, free: 11.34 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.0006059/0.3941, allocations: 427.9 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3941, allocations: 12.91 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.3942, allocations: 13.61 kB / 0.5344 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.3944, allocations: 205.3 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3944, allocations: 1.469 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.3944, allocations: 11.44 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.3947, allocations: 65.98 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3947, allocations: 3.984 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3947, allocations: 1.094 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3947, allocations: 1.219 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.3949, allocations: 45.06 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.3954, allocations: 328.5 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.3956, allocations: 60.48 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.3957, allocations: 34.77 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3958, allocations: 1.125 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3958, allocations: 39.78 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.3958, allocations: 0 / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001505/0.3973, allocations: 434 kB / 0.5356 GB, free: 9.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3974, allocations: 56.47 kB / 0.5357 GB, free: 9.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3976, allocations: 211 kB / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.3976, allocations: 25.7 kB / 0.5359 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.3977, allocations: 106.5 kB / 0.536 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3977, allocations: 36.8 kB / 0.536 GB, free: 9.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.3978, allocations: 25.22 kB / 0.5361 GB, free: 9.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3979, allocations: 327.1 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3981, allocations: 56.34 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3982, allocations: 53.17 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.3985, allocations: 132 kB / 0.5366 GB, free: 9.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3985, allocations: 0 / 0.5366 GB, free: 9.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003484/0.3989, allocations: 169.3 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3989, allocations: 4.938 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3989, allocations: 0.875 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3989, allocations: 1.312 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3991, allocations: 28.02 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3991, allocations: 1.281 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.3991, allocations: 8.953 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3992, allocations: 7.781 kB / 0.5368 GB, free: 8.973 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 9.982e-05/0.3993, allocations: 134.7 kB / 0.5369 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.3993, allocations: 13.31 kB / 0.537 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/0.3998, allocations: 196.9 kB / 0.5371 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3998, allocations: 5.219 kB / 0.5371 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3998, allocations: 0 / 0.5371 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3998, allocations: 4 kB / 0.5371 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007576/0.4006, allocations: 0.4993 MB / 0.5376 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4006, allocations: 5.125 kB / 0.5376 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.4007, allocations: 28.14 kB / 0.5377 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4007, allocations: 6.312 kB / 0.5377 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4007, allocations: 5.031 kB / 0.5377 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.4007, allocations: 2.094 kB / 0.5377 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4007, allocations: 4.906 kB / 0.5377 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.4011, allocations: 277.8 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.4012, allocations: 92.94 kB / 0.538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4012, allocations: 2.094 kB / 0.538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.4013, allocations: 13.23 kB / 0.5381 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.4014, allocations: 12.81 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.4014, allocations: 3.781 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.4015, allocations: 166.7 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4015, allocations: 0 / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.4018, allocations: 32.34 kB / 0.5383 GB, free: 7.766 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.00113/0.4029, allocations: 457.5 kB / 0.5387 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.4033, allocations: 132.1 kB / 0.5388 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4033, allocations: 0 / 0.5388 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.4035, allocations: 71.89 kB / 0.5389 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.4039, allocations: 26.17 kB / 0.5389 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.4045, allocations: 321.9 kB / 0.5392 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.4048, allocations: 0.7221 MB / 0.5399 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.124e-05/0.4049, allocations: 30.53 kB / 0.54 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.405, allocations: 14.75 kB / 0.54 GB, free: 6.457 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.405, allocations: 0 / 0.54 GB, free: 6.457 MB / 398.1 MB Notification: Performance of Templates: time 0.004488/0.4095, allocations: 1.668 MB / 0.5416 GB, free: 5.602 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches