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.001367/0.001368, allocations: 107.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247.6 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.233/0.233, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 79.86 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3815, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003426/0.385, allocations: 1.881 MB / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3862, allocations: 0.7004 MB / 0.5342 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.3863, allocations: 5.344 kB / 0.5342 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.3868, allocations: 174.5 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.3872, allocations: 172 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000738/0.388, allocations: 332.4 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.3882, allocations: 233.7 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.3884, allocations: 62.52 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3886, allocations: 102.2 kB / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.3887, allocations: 145.5 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.3888, allocations: 12.38 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.484e-05/0.3889, allocations: 37.11 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.389, allocations: 113.8 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3891, allocations: 122.7 kB / 0.5356 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.3895, allocations: 299.7 kB / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3895, allocations: 0 / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3895, allocations: 0 / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3895, allocations: 0 / 0.5359 GB, free: 10.5 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.0009613/0.3905, allocations: 0.654 MB / 0.5365 GB, free: 9.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3905, allocations: 13.12 kB / 0.5366 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.3906, allocations: 41.69 kB / 0.5366 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.3911, allocations: 362.6 kB / 0.5369 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3911, allocations: 8.438 kB / 0.537 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.3912, allocations: 10.84 kB / 0.537 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.3916, allocations: 174.3 kB / 0.5371 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3916, allocations: 5.156 kB / 0.5371 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.3917, allocations: 5.406 kB / 0.5371 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3917, allocations: 2.625 kB / 0.5371 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.3922, allocations: 145.7 kB / 0.5373 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009904/0.3932, allocations: 0.6459 MB / 0.5379 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.3936, allocations: 157.9 kB / 0.5381 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.3939, allocations: 79.8 kB / 0.5381 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.3939, allocations: 1.906 kB / 0.5381 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.394, allocations: 44.47 kB / 0.5382 GB, free: 8.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.394, allocations: 0 / 0.5382 GB, free: 8.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002671/0.3966, allocations: 0.7821 MB / 0.5389 GB, free: 8.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3967, allocations: 88.03 kB / 0.539 GB, free: 8.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.3974, allocations: 0.5819 MB / 0.5396 GB, free: 7.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.3975, allocations: 27.2 kB / 0.5396 GB, free: 7.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3977, allocations: 201.1 kB / 0.5398 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.3977, allocations: 58.42 kB / 0.5399 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.3979, allocations: 34.67 kB / 0.5399 GB, free: 7.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.398, allocations: 356.9 kB / 0.5402 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.3985, allocations: 131.7 kB / 0.5404 GB, free: 7.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.399, allocations: 162 kB / 0.5405 GB, free: 7.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/0.3999, allocations: 303 kB / 0.5408 GB, free: 6.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3999, allocations: 1.094 kB / 0.5408 GB, free: 6.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001069/0.401, allocations: 361.3 kB / 0.5412 GB, free: 6.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.401, allocations: 11.11 kB / 0.5412 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.401, allocations: 1.156 kB / 0.5412 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4011, allocations: 1.156 kB / 0.5412 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.4014, allocations: 72.12 kB / 0.5412 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.4014, allocations: 1.25 kB / 0.5412 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.4017, allocations: 35.41 kB / 0.5413 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.4017, allocations: 12.83 kB / 0.5413 GB, free: 6.645 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.0002828/0.402, allocations: 194.5 kB / 0.5415 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.4021, allocations: 36.09 kB / 0.5415 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.4033, allocations: 415.5 kB / 0.5419 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4033, allocations: 1.781 kB / 0.5419 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4034, allocations: 1.344 kB / 0.5419 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4034, allocations: 0 / 0.5419 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.4052, allocations: 0.9098 MB / 0.5428 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4052, allocations: 5.25 kB / 0.5428 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.4055, allocations: 66.47 kB / 0.5429 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4055, allocations: 1.375 kB / 0.5429 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.4055, allocations: 2.438 kB / 0.5429 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.4055, allocations: 5.469 kB / 0.5429 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4056, allocations: 5.656 kB / 0.5429 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4067, allocations: 0.5354 MB / 0.5434 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.4068, allocations: 120.5 kB / 0.5435 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.4069, allocations: 1.188 kB / 0.5435 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.4072, allocations: 40.47 kB / 0.5436 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.4073, allocations: 24.84 kB / 0.5436 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.4073, allocations: 8.312 kB / 0.5436 GB, free: 5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005125/0.4078, allocations: 439 kB / 0.544 GB, free: 4.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4078, allocations: 0 / 0.544 GB, free: 4.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.4082, allocations: 55.98 kB / 0.5441 GB, free: 4.637 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.001101/0.4093, allocations: 403 kB / 0.5444 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.4103, allocations: 311.6 kB / 0.5447 GB, free: 4.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4103, allocations: 4 kB / 0.5447 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.4108, allocations: 159.8 kB / 0.5449 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.4114, allocations: 62.23 kB / 0.545 GB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.4127, allocations: 0.7276 MB / 0.5457 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.4132, allocations: 0.8143 MB / 0.5465 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.4133, allocations: 31.44 kB / 0.5465 GB, free: 2.219 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4134, allocations: 0 / 0.5465 GB, free: 2.219 MB / 398.1 MB Notification: Performance of Templates: time 0.007223/0.4206, allocations: 4.686 MB / 0.5511 GB, free: 13.55 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)