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.001119/0.001119, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.1 MB / 345 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 75.88 kB / 482 MB, free: 4.137 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3916, allocations: 62.43 MB / 0.5316 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003787/0.3955, allocations: 1.86 MB / 0.5335 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.3981, allocations: 1.396 MB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.3983, allocations: 6.281 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3985, allocations: 34.28 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.3986, allocations: 34.56 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.4004, allocations: 0.5697 MB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.4009, allocations: 286 kB / 0.5357 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.4011, allocations: 51 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.4014, allocations: 118.4 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.4017, allocations: 178.4 kB / 0.5361 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.529e-05/0.4018, allocations: 23.06 kB / 0.5361 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.4032, allocations: 0.8111 MB / 0.5369 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.4034, allocations: 117 kB / 0.537 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.4036, allocations: 145 kB / 0.5371 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.4052, allocations: 1.072 MB / 0.5382 GB, free: 8.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4052, allocations: 0 / 0.5382 GB, free: 8.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4052, allocations: 1.219 kB / 0.5382 GB, free: 8.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.4053, allocations: 4 kB / 0.5382 GB, free: 8.961 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.001532/0.4068, allocations: 0.7246 MB / 0.5389 GB, free: 8.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.4069, allocations: 8.969 kB / 0.5389 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/0.4072, allocations: 42.48 kB / 0.5389 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.4076, allocations: 287.1 kB / 0.5392 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.4076, allocations: 18.98 kB / 0.5392 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.4077, allocations: 23.72 kB / 0.5392 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.4082, allocations: 269.8 kB / 0.5395 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4082, allocations: 0 / 0.5395 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.4083, allocations: 5.469 kB / 0.5395 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.4083, allocations: 4.469 kB / 0.5395 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.4088, allocations: 227.8 kB / 0.5397 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.4101, allocations: 0.7481 MB / 0.5405 GB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.4106, allocations: 291.9 kB / 0.5407 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.4109, allocations: 191.2 kB / 0.5409 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.4109, allocations: 2.188 kB / 0.5409 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.411, allocations: 40.75 kB / 0.541 GB, free: 6.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.411, allocations: 0 / 0.541 GB, free: 6.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001081/0.4121, allocations: 0.5384 MB / 0.5415 GB, free: 6.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.4122, allocations: 84.56 kB / 0.5416 GB, free: 6.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.4126, allocations: 353.1 kB / 0.5419 GB, free: 6.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.4126, allocations: 32.2 kB / 0.5419 GB, free: 6.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4127, allocations: 143.6 kB / 0.5421 GB, free: 6.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.4128, allocations: 89.31 kB / 0.5422 GB, free: 5.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.413, allocations: 131.1 kB / 0.5423 GB, free: 5.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4132, allocations: 354.1 kB / 0.5426 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.4136, allocations: 286.4 kB / 0.5429 GB, free: 5.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.4142, allocations: 334.8 kB / 0.5432 GB, free: 5.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/0.4177, allocations: 1.771 MB / 0.5449 GB, free: 3.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4177, allocations: 0 / 0.5449 GB, free: 3.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001104/0.4188, allocations: 0.758 MB / 0.5457 GB, free: 3.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4188, allocations: 11.94 kB / 0.5457 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.4189, allocations: 8 kB / 0.5457 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4189, allocations: 3.938 kB / 0.5457 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.4194, allocations: 99.86 kB / 0.5458 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4194, allocations: 0 / 0.5458 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.4196, allocations: 75.06 kB / 0.5459 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.4197, allocations: 11.98 kB / 0.5459 GB, free: 2.934 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.0002707/0.4199, allocations: 184.1 kB / 0.5461 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.42, allocations: 31.62 kB / 0.5461 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.356e-05/0.4201, allocations: 42.64 kB / 0.5461 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4201, allocations: 4 kB / 0.5461 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4202, allocations: 3.938 kB / 0.5461 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4202, allocations: 0 / 0.5461 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.4206, allocations: 349.2 kB / 0.5465 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4206, allocations: 0 / 0.5465 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.421, allocations: 43.97 kB / 0.5465 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.421, allocations: 0 / 0.5465 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.421, allocations: 19.92 kB / 0.5465 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.421, allocations: 0 / 0.5465 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.421, allocations: 4 kB / 0.5465 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.4221, allocations: 0.7512 MB / 0.5473 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.4222, allocations: 104.8 kB / 0.5474 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.4222, allocations: 19.92 kB / 0.5474 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.4224, allocations: 11.98 kB / 0.5474 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.4225, allocations: 19.98 kB / 0.5474 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.4225, allocations: 4 kB / 0.5474 GB, free: 1.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.4228, allocations: 227 kB / 0.5476 GB, free: 1.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4228, allocations: 0 / 0.5476 GB, free: 1.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001096/0.4239, allocations: 244 kB / 0.5479 GB, free: 0.7969 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.0004956/0.4244, allocations: 247.9 kB / 0.5481 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.4254, allocations: 0.7366 MB / 0.5488 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4255, allocations: 0 / 0.5488 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.4258, allocations: 195.8 kB / 0.549 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.4263, allocations: 52.92 kB / 0.5491 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.4277, allocations: 0.9682 MB / 0.55 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.4282, allocations: 0.8028 MB / 0.5508 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.4283, allocations: 23.44 kB / 0.5508 GB, free: 13.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4283, allocations: 0 / 0.5508 GB, free: 13.69 MB / 414.1 MB Notification: Performance of Templates: time 0.01246/0.4408, allocations: 6.458 MB / 0.5571 GB, free: 7.293 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)