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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001742/0.001742, allocations: 118.8 kB / 17.79 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.002031/0.002031, allocations: 197.2 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.394/1.394, allocations: 227.4 MB / 247 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.2215/0.2215, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3282, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003094/0.3314, allocations: 1.861 MB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.3336, allocations: 1.4 MB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.3337, allocations: 9.312 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.3339, allocations: 26.95 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.462e-05/0.334, allocations: 29.5 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.3355, allocations: 0.576 MB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.3359, allocations: 282.9 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.336, allocations: 50.09 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.3363, allocations: 117.1 kB / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.3365, allocations: 173.6 kB / 0.535 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.3366, allocations: 23.31 kB / 0.535 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.3379, allocations: 0.8193 MB / 0.5358 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.338, allocations: 117.2 kB / 0.536 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3382, allocations: 136.1 kB / 0.5361 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.3395, allocations: 1.086 MB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3395, allocations: 1.062 kB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3395, allocations: 0 / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3395, allocations: 0 / 0.5371 GB, free: 8.672 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.001353/0.3409, allocations: 0.7397 MB / 0.5379 GB, free: 8.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3409, allocations: 9.219 kB / 0.5379 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.341, allocations: 48.14 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.3412, allocations: 42.84 kB / 0.538 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.3416, allocations: 290.6 kB / 0.5382 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3416, allocations: 11.16 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.3417, allocations: 26.64 kB / 0.5383 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.3422, allocations: 269.9 kB / 0.5385 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3422, allocations: 1.406 kB / 0.5385 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.3422, allocations: 5.562 kB / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3422, allocations: 2.656 kB / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.3426, allocations: 227.8 kB / 0.5388 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.3439, allocations: 0.7529 MB / 0.5395 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.3443, allocations: 287.2 kB / 0.5398 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.3447, allocations: 195.7 kB / 0.54 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3447, allocations: 2.875 kB / 0.54 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.3447, allocations: 35.97 kB / 0.54 GB, free: 6.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.532e-06/0.3447, allocations: 1.188 kB / 0.54 GB, free: 6.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001032/0.3458, allocations: 0.5462 MB / 0.5405 GB, free: 6.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.3459, allocations: 84.02 kB / 0.5406 GB, free: 6.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.3462, allocations: 349 kB / 0.5409 GB, free: 5.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3463, allocations: 35.89 kB / 0.541 GB, free: 5.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/0.3464, allocations: 136 kB / 0.5411 GB, free: 5.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.3465, allocations: 110.5 kB / 0.5412 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.3467, allocations: 123 kB / 0.5413 GB, free: 5.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3469, allocations: 349 kB / 0.5417 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.3473, allocations: 290.4 kB / 0.5419 GB, free: 5.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.3478, allocations: 338.5 kB / 0.5423 GB, free: 4.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003641/0.3514, allocations: 1.76 MB / 0.544 GB, free: 3.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3514, allocations: 4 kB / 0.544 GB, free: 3.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001177/0.3526, allocations: 0.7689 MB / 0.5447 GB, free: 2.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3527, allocations: 7.938 kB / 0.5447 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.3527, allocations: 7.938 kB / 0.5447 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3527, allocations: 4 kB / 0.5447 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.3532, allocations: 99.86 kB / 0.5448 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3532, allocations: 0 / 0.5448 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.3534, allocations: 67.36 kB / 0.5449 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3535, allocations: 19.98 kB / 0.5449 GB, free: 2.781 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.0002811/0.3538, allocations: 179.3 kB / 0.5451 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.3538, allocations: 31.81 kB / 0.5451 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.354, allocations: 46.64 kB / 0.5452 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.354, allocations: 4 kB / 0.5452 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.354, allocations: 7.938 kB / 0.5452 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.354, allocations: 3.938 kB / 0.5452 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.3545, allocations: 337.3 kB / 0.5455 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3545, allocations: 0 / 0.5455 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.3548, allocations: 47.97 kB / 0.5456 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3548, allocations: 4 kB / 0.5456 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.3549, allocations: 15.92 kB / 0.5456 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3549, allocations: 4 kB / 0.5456 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3549, allocations: 0 / 0.5456 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.356, allocations: 0.7514 MB / 0.5463 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.3561, allocations: 108.9 kB / 0.5464 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.3561, allocations: 19.92 kB / 0.5464 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.3564, allocations: 11.98 kB / 0.5464 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.3564, allocations: 11.98 kB / 0.5465 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.3565, allocations: 12 kB / 0.5465 GB, free: 1.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.3567, allocations: 227 kB / 0.5467 GB, free: 0.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3567, allocations: 0 / 0.5467 GB, free: 0.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009096/0.3576, allocations: 247.8 kB / 0.5469 GB, free: 0.6328 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.00184/0.3595, allocations: 1.443 MB / 0.5483 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3606, allocations: 0.7248 MB / 0.549 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3606, allocations: 0 / 0.549 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.3609, allocations: 195.8 kB / 0.5492 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.3614, allocations: 59.11 kB / 0.5493 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.3671, allocations: 4.53 MB / 0.5537 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.3676, allocations: 0.8067 MB / 0.5545 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.3678, allocations: 70.19 kB / 0.5546 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.368, allocations: 107.4 kB / 0.5547 GB, free: 8.543 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.368, allocations: 0 / 0.5547 GB, free: 8.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.4032, allocations: 10.1 MB / 0.5645 GB, free: 14.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/8.755, allocations: 15.98 kB / 0.5645 GB, free: 14.55 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)