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.001126/0.001126, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 71.89 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2786, 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.00299/0.2817, allocations: 1.887 MB / 0.5335 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2828, allocations: 0.7037 MB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.2828, allocations: 6.75 kB / 0.5342 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.2832, allocations: 169.8 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.2836, allocations: 175.7 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.2842, allocations: 330.5 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.2845, allocations: 232.2 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.2847, allocations: 62.95 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2848, allocations: 94.3 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.285, allocations: 149.2 kB / 0.5354 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.285, allocations: 12.5 kB / 0.5354 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.244e-05/0.2851, allocations: 41.55 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2852, allocations: 114.4 kB / 0.5355 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.2853, allocations: 114.5 kB / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.2857, allocations: 299.2 kB / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2857, allocations: 0 / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2857, allocations: 0 / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2857, 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.0008848/0.2866, allocations: 0.6536 MB / 0.5365 GB, free: 9.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2866, allocations: 13.75 kB / 0.5366 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.2867, allocations: 37.59 kB / 0.5366 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.2871, allocations: 366.8 kB / 0.5369 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.2871, allocations: 7.438 kB / 0.537 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.2871, allocations: 11.98 kB / 0.537 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.2876, allocations: 181.5 kB / 0.5371 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2876, allocations: 1.062 kB / 0.5371 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.2876, allocations: 5.094 kB / 0.5371 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2876, allocations: 3.281 kB / 0.5371 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.2882, allocations: 145.8 kB / 0.5373 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.2891, allocations: 0.6425 MB / 0.5379 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.2895, allocations: 157.1 kB / 0.5381 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.2898, allocations: 84.17 kB / 0.5381 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.2898, allocations: 2.188 kB / 0.5381 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.2898, allocations: 32.06 kB / 0.5382 GB, free: 8.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.645e-06/0.2898, allocations: 4 kB / 0.5382 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.00286/0.2927, allocations: 0.7983 MB / 0.539 GB, free: 8.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2928, allocations: 79.33 kB / 0.539 GB, free: 8.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.2934, allocations: 0.5822 MB / 0.5396 GB, free: 7.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2934, allocations: 31.17 kB / 0.5396 GB, free: 7.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.2935, allocations: 198.2 kB / 0.5398 GB, free: 7.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.2936, allocations: 58.39 kB / 0.5399 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.2937, allocations: 42.52 kB / 0.5399 GB, free: 7.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2938, allocations: 350.9 kB / 0.5403 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.2943, allocations: 133.1 kB / 0.5404 GB, free: 7.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.2948, allocations: 158.1 kB / 0.5405 GB, free: 7.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009209/0.2957, allocations: 303.7 kB / 0.5408 GB, free: 6.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2957, allocations: 0 / 0.5408 GB, free: 6.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001038/0.2967, allocations: 369.2 kB / 0.5412 GB, free: 6.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2968, allocations: 4.719 kB / 0.5412 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2968, allocations: 1.062 kB / 0.5412 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2968, allocations: 5.188 kB / 0.5412 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.2971, allocations: 64.31 kB / 0.5412 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2972, allocations: 1.25 kB / 0.5412 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.2974, allocations: 39.94 kB / 0.5413 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.2974, allocations: 8.469 kB / 0.5413 GB, free: 6.633 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.0001736/0.2976, allocations: 190.2 kB / 0.5415 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.2977, allocations: 37.28 kB / 0.5415 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.2989, allocations: 418.1 kB / 0.5419 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2989, allocations: 2.781 kB / 0.5419 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2989, allocations: 1.281 kB / 0.5419 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2989, allocations: 0 / 0.5419 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.3006, allocations: 0.9095 MB / 0.5428 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3006, allocations: 0 / 0.5428 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.3009, allocations: 64.09 kB / 0.5429 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3009, allocations: 5 kB / 0.5429 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.301, allocations: 6.375 kB / 0.5429 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.301, allocations: 1.094 kB / 0.5429 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.301, allocations: 1.156 kB / 0.5429 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.3021, allocations: 0.5376 MB / 0.5434 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.871e-05/0.3022, allocations: 120.9 kB / 0.5435 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.3023, allocations: 5.266 kB / 0.5435 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.3026, allocations: 36.86 kB / 0.5436 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/0.3026, allocations: 27.27 kB / 0.5436 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3027, allocations: 5.406 kB / 0.5436 GB, free: 4.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000468/0.3031, allocations: 442.3 kB / 0.544 GB, free: 4.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3031, allocations: 0 / 0.544 GB, free: 4.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.3035, allocations: 56 kB / 0.5441 GB, free: 4.629 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.0009126/0.3044, allocations: 406.9 kB / 0.5444 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.3055, allocations: 311.6 kB / 0.5447 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.3055, allocations: 0 / 0.5447 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.306, allocations: 171.7 kB / 0.5449 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.3066, allocations: 53.47 kB / 0.545 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.3076, allocations: 0.7277 MB / 0.5457 GB, free: 3.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.308, allocations: 0.8143 MB / 0.5465 GB, free: 2.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3082, allocations: 27.44 kB / 0.5465 GB, free: 2.215 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3082, allocations: 3.938 kB / 0.5465 GB, free: 2.211 MB / 398.1 MB Notification: Performance of Templates: time 0.007171/0.3153, allocations: 4.691 MB / 0.5511 GB, free: 13.54 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)