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.001202/0.001202, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001269, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 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.2096/0.2096, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.31, allocations: 62.42 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002787/0.3128, allocations: 1.866 MB / 0.5323 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3148, allocations: 1.403 MB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.3149, allocations: 5.312 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.315, allocations: 30.47 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.3151, allocations: 30.47 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.3166, allocations: 0.5724 MB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.317, allocations: 281.9 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.3171, allocations: 43.55 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.3174, allocations: 125.2 kB / 0.5347 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.3176, allocations: 163 kB / 0.5349 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.3177, allocations: 27.25 kB / 0.5349 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.3188, allocations: 0.8192 MB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.319, allocations: 112.7 kB / 0.5358 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.3191, allocations: 144.3 kB / 0.536 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.3202, allocations: 1.077 MB / 0.537 GB, free: 8.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3203, allocations: 4.969 kB / 0.537 GB, free: 8.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3203, allocations: 0 / 0.537 GB, free: 8.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3203, allocations: 0 / 0.537 GB, free: 8.758 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.001271/0.3216, allocations: 0.7287 MB / 0.5377 GB, free: 8.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3216, allocations: 9.062 kB / 0.5377 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.3217, allocations: 52.33 kB / 0.5378 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.3218, allocations: 38.67 kB / 0.5378 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.3223, allocations: 286.7 kB / 0.5381 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.3223, allocations: 11.28 kB / 0.5381 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.3224, allocations: 30.39 kB / 0.5381 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.3229, allocations: 278.3 kB / 0.5384 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3229, allocations: 0 / 0.5384 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.3229, allocations: 6.281 kB / 0.5384 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3229, allocations: 3.188 kB / 0.5384 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.3234, allocations: 216.3 kB / 0.5386 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.3246, allocations: 0.7566 MB / 0.5394 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.3251, allocations: 283.2 kB / 0.5396 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.3254, allocations: 194.7 kB / 0.5398 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.3254, allocations: 3.125 kB / 0.5398 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.3255, allocations: 44.75 kB / 0.5399 GB, free: 6.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.3255, allocations: 0 / 0.5399 GB, free: 6.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.00103/0.3265, allocations: 0.5342 MB / 0.5404 GB, free: 6.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3266, allocations: 84.17 kB / 0.5405 GB, free: 6.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.3269, allocations: 350 kB / 0.5408 GB, free: 5.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.327, allocations: 34.8 kB / 0.5408 GB, free: 5.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3271, allocations: 147.5 kB / 0.541 GB, free: 5.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/0.3272, allocations: 97.98 kB / 0.5411 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.3274, allocations: 123.2 kB / 0.5412 GB, free: 5.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3275, allocations: 348.8 kB / 0.5415 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.3279, allocations: 287.8 kB / 0.5418 GB, free: 5.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.3284, allocations: 338.5 kB / 0.5421 GB, free: 4.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/0.3318, allocations: 1.768 MB / 0.5438 GB, free: 3.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3318, allocations: 0 / 0.5438 GB, free: 3.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001064/0.3329, allocations: 0.7581 MB / 0.5446 GB, free: 3.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3329, allocations: 8 kB / 0.5446 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.333, allocations: 11.94 kB / 0.5446 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.333, allocations: 0 / 0.5446 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.3335, allocations: 99.88 kB / 0.5447 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3335, allocations: 0 / 0.5447 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.3337, allocations: 74.98 kB / 0.5448 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3338, allocations: 12 kB / 0.5448 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.0002282/0.334, allocations: 181.7 kB / 0.545 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.3341, allocations: 39.45 kB / 0.545 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.632e-05/0.3342, allocations: 38.66 kB / 0.545 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3342, allocations: 7.938 kB / 0.545 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3342, allocations: 0 / 0.545 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3342, allocations: 3.984 kB / 0.545 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.3346, allocations: 341.3 kB / 0.5454 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3346, allocations: 0 / 0.5454 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.335, allocations: 51.97 kB / 0.5454 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.335, allocations: 0 / 0.5454 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.335, allocations: 23.86 kB / 0.5454 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.335, allocations: 0 / 0.5454 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.335, allocations: 4 kB / 0.5454 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009741/0.336, allocations: 0.7396 MB / 0.5462 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.3361, allocations: 108.8 kB / 0.5463 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.3361, allocations: 19.92 kB / 0.5463 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.3364, allocations: 8 kB / 0.5463 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.3365, allocations: 15.97 kB / 0.5463 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.3365, allocations: 8 kB / 0.5463 GB, free: 1.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.3367, allocations: 223 kB / 0.5465 GB, free: 1.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3367, allocations: 0 / 0.5465 GB, free: 1.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008532/0.3375, allocations: 248 kB / 0.5468 GB, free: 0.7656 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.00175/0.3393, allocations: 1.439 MB / 0.5482 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.3404, allocations: 0.7321 MB / 0.5489 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3404, allocations: 0 / 0.5489 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.3407, allocations: 195.8 kB / 0.5491 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.3413, allocations: 46.33 kB / 0.5491 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.3469, allocations: 4.518 MB / 0.5535 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3473, allocations: 0.8106 MB / 0.5543 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.3475, allocations: 66.23 kB / 0.5544 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.3477, allocations: 107.4 kB / 0.5545 GB, free: 8.707 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3477, allocations: 0 / 0.5545 GB, free: 8.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.3751, allocations: 10.2 MB / 0.5644 GB, free: 14.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.714, allocations: 3.984 kB / 0.5645 GB, free: 14.62 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)