Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, 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.002358/0.002358, 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.419/1.419, 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.2296/0.2296, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 76.11 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4618, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00394/0.4658, allocations: 1.709 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.4671, allocations: 0.59 MB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.4672, allocations: 1.375 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.4675, allocations: 19.97 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.4678, allocations: 92.3 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.4683, allocations: 176.2 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.4686, allocations: 102.2 kB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4687, allocations: 19 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.296e-05/0.4688, allocations: 41.58 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.4689, allocations: 45.53 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.4689, allocations: 5.5 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.4692, allocations: 108.2 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.4692, allocations: 26.78 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.4693, allocations: 34.67 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.4697, allocations: 170 kB / 0.5341 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4697, allocations: 1.25 kB / 0.5341 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.029e-06/0.4697, allocations: 0 / 0.5341 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.4698, allocations: 0 / 0.5341 GB, free: 11.31 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.0008927/0.4707, allocations: 441.2 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4707, allocations: 10.69 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.4708, allocations: 8.375 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4711, allocations: 207.9 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4711, allocations: 2.25 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.4711, allocations: 6.688 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.4715, allocations: 91.27 kB / 0.5348 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4715, allocations: 3.938 kB / 0.5348 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.4715, allocations: 1.094 kB / 0.5348 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4715, allocations: 1.062 kB / 0.5348 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.4719, allocations: 87.53 kB / 0.5349 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.4726, allocations: 330.4 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.4728, allocations: 84.33 kB / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.473, allocations: 49.47 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.4731, allocations: 1.062 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.4731, allocations: 35.62 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.895e-06/0.4731, allocations: 4 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.00176/0.4749, allocations: 408.3 kB / 0.5358 GB, free: 9.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.475, allocations: 83.86 kB / 0.5358 GB, free: 9.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.4751, allocations: 160.2 kB / 0.536 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4752, allocations: 29.7 kB / 0.536 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.4753, allocations: 99.94 kB / 0.5361 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.4753, allocations: 39.66 kB / 0.5361 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.4754, allocations: 25.5 kB / 0.5362 GB, free: 9.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4755, allocations: 321.5 kB / 0.5365 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.4759, allocations: 75.14 kB / 0.5365 GB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.4762, allocations: 94.91 kB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.4769, allocations: 171.8 kB / 0.5368 GB, free: 8.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4769, allocations: 0.9688 kB / 0.5368 GB, free: 8.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007446/0.4776, allocations: 212.7 kB / 0.537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4777, allocations: 5.312 kB / 0.537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4777, allocations: 0 / 0.537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4777, allocations: 1 kB / 0.537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.4779, allocations: 46.17 kB / 0.5371 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.478, allocations: 1.375 kB / 0.5371 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.4781, allocations: 25.28 kB / 0.5371 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.4781, allocations: 10.05 kB / 0.5371 GB, free: 8.766 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 (10): * Single equations (assignments): 10 * 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.0001227/0.4783, allocations: 121.2 kB / 0.5372 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.4783, allocations: 8.281 kB / 0.5372 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008066/0.4791, allocations: 228.2 kB / 0.5374 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4792, allocations: 4.719 kB / 0.5374 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4792, allocations: 0 / 0.5374 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4792, allocations: 1.094 kB / 0.5374 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.4804, allocations: 0.5196 MB / 0.5379 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4804, allocations: 0 / 0.5379 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.4806, allocations: 40.45 kB / 0.538 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4806, allocations: 1.125 kB / 0.538 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4806, allocations: 1.031 kB / 0.538 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4806, allocations: 0 / 0.538 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4806, allocations: 5.062 kB / 0.538 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.4815, allocations: 304.7 kB / 0.5383 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.4816, allocations: 87.55 kB / 0.5384 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.4816, allocations: 5.391 kB / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.4818, allocations: 25.91 kB / 0.5384 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.4819, allocations: 8.484 kB / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.4819, allocations: 9.375 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.4821, allocations: 121.6 kB / 0.5385 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4821, allocations: 0 / 0.5385 GB, free: 7.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.4824, allocations: 50.67 kB / 0.5386 GB, free: 7.574 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 (9): * Single equations (assignments): 9 * 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.00132/0.4837, allocations: 0.4927 MB / 0.5391 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000734/0.4845, allocations: 177.2 kB / 0.5392 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4845, allocations: 4 kB / 0.5392 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.4848, allocations: 86.92 kB / 0.5393 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.4852, allocations: 27.44 kB / 0.5393 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.4858, allocations: 230.5 kB / 0.5396 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.4862, allocations: 0.7068 MB / 0.5403 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.4863, allocations: 24.19 kB / 0.5403 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.4864, allocations: 25.64 kB / 0.5403 GB, free: 6.258 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4864, allocations: 0 / 0.5403 GB, free: 6.258 MB / 398.1 MB Notification: Performance of Templates: time 0.006708/0.4931, allocations: 2.622 MB / 0.5429 GB, free: 4.895 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches