Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2569/0.2569, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 79.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4772, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003584/0.4809, allocations: 1.873 MB / 0.5328 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.4822, allocations: 0.7087 MB / 0.5335 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.374e-05/0.4823, allocations: 2.531 kB / 0.5335 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.4829, allocations: 174.7 kB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.4833, allocations: 171.7 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.4841, allocations: 326.5 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.4844, allocations: 240.5 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.4847, allocations: 59.91 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.4849, allocations: 100.8 kB / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.4851, allocations: 145.5 kB / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.017e-05/0.4852, allocations: 16.38 kB / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.4853, allocations: 38.72 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.4856, allocations: 113 kB / 0.5349 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.4857, allocations: 114.2 kB / 0.535 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.4862, allocations: 307.7 kB / 0.5353 GB, free: 10.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4862, allocations: 0 / 0.5353 GB, free: 10.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4862, allocations: 1 kB / 0.5353 GB, free: 10.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.4862, allocations: 0 / 0.5353 GB, free: 10.51 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001149/0.4874, allocations: 0.671 MB / 0.5359 GB, free: 9.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.4875, allocations: 8.906 kB / 0.5359 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.4876, allocations: 42.62 kB / 0.536 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.4881, allocations: 367.1 kB / 0.5363 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4882, allocations: 7.812 kB / 0.5363 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.4882, allocations: 7.562 kB / 0.5363 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.4887, allocations: 178.9 kB / 0.5365 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.4887, allocations: 0 / 0.5365 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.4887, allocations: 5.25 kB / 0.5365 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.4887, allocations: 2.438 kB / 0.5365 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005132/0.4893, allocations: 149.9 kB / 0.5366 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.4903, allocations: 0.6467 MB / 0.5373 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.4907, allocations: 149.3 kB / 0.5374 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.491, allocations: 79.88 kB / 0.5375 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.491, allocations: 2.438 kB / 0.5375 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.4911, allocations: 40.69 kB / 0.5375 GB, free: 8.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.4911, allocations: 3.938 kB / 0.5375 GB, free: 8.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002646/0.4937, allocations: 0.7981 MB / 0.5383 GB, free: 8.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.4938, allocations: 80.11 kB / 0.5384 GB, free: 8.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.4946, allocations: 0.5825 MB / 0.539 GB, free: 7.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.4946, allocations: 29.7 kB / 0.539 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.4948, allocations: 194.6 kB / 0.5392 GB, free: 7.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.4948, allocations: 75.88 kB / 0.5393 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/0.4949, allocations: 34 kB / 0.5393 GB, free: 7.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4951, allocations: 351.5 kB / 0.5396 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.4956, allocations: 131.7 kB / 0.5397 GB, free: 7.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.496, allocations: 167.1 kB / 0.5399 GB, free: 7.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/0.4969, allocations: 290.7 kB / 0.5402 GB, free: 6.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4969, allocations: 1.125 kB / 0.5402 GB, free: 6.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001164/0.4981, allocations: 372.9 kB / 0.5405 GB, free: 6.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4981, allocations: 8.125 kB / 0.5405 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4982, allocations: 5.844 kB / 0.5406 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4982, allocations: 1.125 kB / 0.5406 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.4985, allocations: 67.73 kB / 0.5406 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4985, allocations: 1.156 kB / 0.5406 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.4988, allocations: 36.02 kB / 0.5407 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.4988, allocations: 4.688 kB / 0.5407 GB, free: 6.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.0002447/0.4991, allocations: 193.6 kB / 0.5408 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.4992, allocations: 45.05 kB / 0.5409 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.5006, allocations: 414.9 kB / 0.5413 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.5006, allocations: 2.688 kB / 0.5413 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5006, allocations: 1.219 kB / 0.5413 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5006, allocations: 3.984 kB / 0.5413 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.5025, allocations: 0.9087 MB / 0.5422 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5025, allocations: 5.625 kB / 0.5422 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.5029, allocations: 67.45 kB / 0.5422 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5029, allocations: 5.109 kB / 0.5423 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.5029, allocations: 10.22 kB / 0.5423 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5029, allocations: 1.156 kB / 0.5423 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.5029, allocations: 5.031 kB / 0.5423 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.5041, allocations: 0.5359 MB / 0.5428 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.5042, allocations: 120.3 kB / 0.5429 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.5042, allocations: 2.219 kB / 0.5429 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.5045, allocations: 35.95 kB / 0.5429 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/0.5046, allocations: 23.88 kB / 0.543 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.5047, allocations: 5 kB / 0.543 GB, free: 4.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005185/0.5052, allocations: 442.8 kB / 0.5434 GB, free: 4.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5052, allocations: 4 kB / 0.5434 GB, free: 4.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.5056, allocations: 52 kB / 0.5434 GB, free: 4.602 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.001032/0.5066, allocations: 402 kB / 0.5438 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.5076, allocations: 307.6 kB / 0.5441 GB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5077, allocations: 3.938 kB / 0.5441 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.5082, allocations: 167.8 kB / 0.5443 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.5089, allocations: 51.64 kB / 0.5443 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.5102, allocations: 0.7174 MB / 0.545 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.5107, allocations: 0.8224 MB / 0.5458 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.5109, allocations: 70.55 kB / 0.5459 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.511, allocations: 35.42 kB / 0.5459 GB, free: 2.129 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.511, allocations: 0 / 0.5459 GB, free: 2.129 MB / 398.1 MB Notification: Performance of Templates: time 0.008364/0.5194, allocations: 3.682 MB / 0.5495 GB, free: 14.46 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)