Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.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.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 112.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 208.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 75.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2776, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002795/0.2805, allocations: 1.855 MB / 0.5335 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.2826, allocations: 1.407 MB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2827, allocations: 2.75 kB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.2829, allocations: 34.41 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.283, allocations: 34.45 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.2845, allocations: 0.5717 MB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.2848, allocations: 282.4 kB / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2849, allocations: 38.52 kB / 0.5358 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.2852, allocations: 126.9 kB / 0.5359 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.2854, allocations: 169.2 kB / 0.5361 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/0.2855, allocations: 23.5 kB / 0.5361 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.2867, allocations: 0.8161 MB / 0.5369 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.2868, allocations: 120.6 kB / 0.537 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.287, allocations: 140 kB / 0.5371 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.2882, allocations: 1.073 MB / 0.5382 GB, free: 8.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2882, allocations: 0 / 0.5382 GB, free: 8.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2882, allocations: 0 / 0.5382 GB, free: 8.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.2883, allocations: 0 / 0.5382 GB, free: 8.945 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001337/0.2896, allocations: 0.729 MB / 0.5389 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2896, allocations: 8.438 kB / 0.5389 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.2898, allocations: 39.95 kB / 0.5389 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.2902, allocations: 294.8 kB / 0.5392 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.2902, allocations: 14.81 kB / 0.5392 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.2903, allocations: 30.22 kB / 0.5393 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.2907, allocations: 266.1 kB / 0.5395 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2908, allocations: 0.9375 kB / 0.5395 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.2908, allocations: 13.09 kB / 0.5395 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2908, allocations: 4.281 kB / 0.5395 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.2912, allocations: 219.6 kB / 0.5397 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.2924, allocations: 0.7524 MB / 0.5405 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.2929, allocations: 287 kB / 0.5407 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.2932, allocations: 195.3 kB / 0.5409 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.2932, allocations: 3.406 kB / 0.5409 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.2933, allocations: 44.64 kB / 0.541 GB, free: 6.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.442e-06/0.2933, allocations: 0 / 0.541 GB, free: 6.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000989/0.2943, allocations: 0.5347 MB / 0.5415 GB, free: 6.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.2943, allocations: 83.33 kB / 0.5416 GB, free: 6.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.2947, allocations: 354.5 kB / 0.5419 GB, free: 6.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.2947, allocations: 30.77 kB / 0.5419 GB, free: 6.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.2948, allocations: 143.5 kB / 0.5421 GB, free: 6.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.2949, allocations: 98.52 kB / 0.5422 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.2951, allocations: 122.4 kB / 0.5423 GB, free: 5.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2952, allocations: 348.6 kB / 0.5426 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.2956, allocations: 292.3 kB / 0.5429 GB, free: 5.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.2961, allocations: 341.1 kB / 0.5432 GB, free: 5.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.2996, allocations: 1.761 MB / 0.5449 GB, free: 3.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2997, allocations: 8 kB / 0.545 GB, free: 3.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00107/0.3007, allocations: 0.758 MB / 0.5457 GB, free: 3.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3008, allocations: 4 kB / 0.5457 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.3008, allocations: 8 kB / 0.5457 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3008, allocations: 3.938 kB / 0.5457 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.3013, allocations: 99.88 kB / 0.5458 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3013, allocations: 0 / 0.5458 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.3016, allocations: 71.05 kB / 0.5459 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.3016, allocations: 16 kB / 0.5459 GB, free: 2.906 MB / 398.1 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002219/0.3018, allocations: 183.9 kB / 0.5461 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.3019, allocations: 23.62 kB / 0.5461 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.302, allocations: 42.66 kB / 0.5461 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.302, allocations: 8 kB / 0.5461 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3021, allocations: 3.938 kB / 0.5461 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3021, allocations: 3.984 kB / 0.5461 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.3025, allocations: 337.3 kB / 0.5465 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3025, allocations: 0 / 0.5465 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.3029, allocations: 47.91 kB / 0.5465 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3029, allocations: 0 / 0.5465 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.3029, allocations: 23.92 kB / 0.5465 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3029, allocations: 4 kB / 0.5465 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3029, allocations: 0 / 0.5465 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009848/0.3039, allocations: 0.7534 MB / 0.5473 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.304, allocations: 104.8 kB / 0.5474 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.304, allocations: 19.92 kB / 0.5474 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.3043, allocations: 11.94 kB / 0.5474 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.3044, allocations: 23.97 kB / 0.5474 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.3044, allocations: 4 kB / 0.5474 GB, free: 1.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.3046, allocations: 223 kB / 0.5476 GB, free: 1.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3046, allocations: 0 / 0.5476 GB, free: 1.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007842/0.3054, allocations: 252 kB / 0.5479 GB, free: 0.7617 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * 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 (24): * Single equations (assignments): 24 * 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.0005297/0.3059, allocations: 255.9 kB / 0.5481 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009529/0.3069, allocations: 0.7327 MB / 0.5488 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3069, allocations: 0 / 0.5488 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.3072, allocations: 196.8 kB / 0.549 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.3077, allocations: 37.02 kB / 0.5491 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3089, allocations: 0.9682 MB / 0.55 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3092, allocations: 0.8028 MB / 0.5508 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3094, allocations: 23.44 kB / 0.5508 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3094, allocations: 0 / 0.5508 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Templates: time 0.008711/0.3181, allocations: 6.459 MB / 0.5571 GB, free: 7.266 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)