Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001397/0.001397, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2459/0.2459, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 75.88 kB / 480.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3307, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002951/0.3337, allocations: 1.86 MB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3358, allocations: 1.399 MB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.3359, allocations: 1.375 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.3361, allocations: 34.41 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.3362, allocations: 34.41 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.3376, allocations: 0.5688 MB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.338, allocations: 282.6 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3381, allocations: 47.42 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.3384, allocations: 120.8 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.3386, allocations: 174.1 kB / 0.535 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.3387, allocations: 27.41 kB / 0.535 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.3399, allocations: 0.8102 MB / 0.5358 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.34, allocations: 117.3 kB / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.3402, allocations: 145.2 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.3415, allocations: 1.078 MB / 0.5371 GB, free: 8.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3415, allocations: 0 / 0.5371 GB, free: 8.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3415, allocations: 0 / 0.5371 GB, free: 8.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3416, allocations: 1.406 kB / 0.5371 GB, free: 8.707 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.001326/0.3429, allocations: 0.7419 MB / 0.5378 GB, free: 8.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3429, allocations: 9.406 kB / 0.5379 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.983e-05/0.343, allocations: 48.05 kB / 0.5379 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.3432, allocations: 43.62 kB / 0.5379 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.3435, allocations: 282.4 kB / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3436, allocations: 14.91 kB / 0.5382 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.3436, allocations: 34.8 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.3441, allocations: 266.1 kB / 0.5385 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3442, allocations: 1.031 kB / 0.5385 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.3442, allocations: 5.062 kB / 0.5385 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3442, allocations: 3.25 kB / 0.5385 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.3447, allocations: 232.3 kB / 0.5387 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.3459, allocations: 0.7526 MB / 0.5395 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.3464, allocations: 282.9 kB / 0.5397 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.3467, allocations: 200 kB / 0.5399 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.3467, allocations: 3.281 kB / 0.5399 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.3468, allocations: 36.84 kB / 0.54 GB, free: 6.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.3468, allocations: 0 / 0.54 GB, free: 6.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001035/0.3478, allocations: 0.5376 MB / 0.5405 GB, free: 6.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.3479, allocations: 88.5 kB / 0.5406 GB, free: 6.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.3482, allocations: 349.5 kB / 0.5409 GB, free: 5.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.3483, allocations: 34.98 kB / 0.541 GB, free: 5.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3484, allocations: 135.8 kB / 0.5411 GB, free: 5.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.3485, allocations: 107 kB / 0.5412 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.3487, allocations: 126.9 kB / 0.5413 GB, free: 5.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3489, allocations: 345 kB / 0.5416 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.3493, allocations: 290.9 kB / 0.5419 GB, free: 5.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.3498, allocations: 338.2 kB / 0.5422 GB, free: 4.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.3534, allocations: 1.763 MB / 0.544 GB, free: 3.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3534, allocations: 0 / 0.544 GB, free: 3.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001185/0.3546, allocations: 0.7738 MB / 0.5447 GB, free: 3.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3546, allocations: 4 kB / 0.5447 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.3546, allocations: 11.88 kB / 0.5447 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/0.3547, allocations: 4 kB / 0.5447 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.3552, allocations: 99.86 kB / 0.5448 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3552, allocations: 4 kB / 0.5448 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.3554, allocations: 63.36 kB / 0.5449 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.3554, allocations: 23.98 kB / 0.5449 GB, free: 2.816 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.0002428/0.3557, allocations: 176.1 kB / 0.5451 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.3558, allocations: 31.8 kB / 0.5451 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.3559, allocations: 46.64 kB / 0.5452 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3559, allocations: 4 kB / 0.5452 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.3559, allocations: 4 kB / 0.5452 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3559, allocations: 3.938 kB / 0.5452 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.3564, allocations: 337.3 kB / 0.5455 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3564, allocations: 4 kB / 0.5455 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.3567, allocations: 47.91 kB / 0.5455 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3567, allocations: 4 kB / 0.5455 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.3568, allocations: 15.92 kB / 0.5456 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3568, allocations: 4 kB / 0.5456 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3568, allocations: 0 / 0.5456 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.3579, allocations: 0.7523 MB / 0.5463 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.3579, allocations: 108.9 kB / 0.5464 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.358, allocations: 19.92 kB / 0.5464 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.3582, allocations: 11.98 kB / 0.5464 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.3583, allocations: 11.98 kB / 0.5464 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.3583, allocations: 16 kB / 0.5465 GB, free: 1.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.3586, allocations: 223 kB / 0.5467 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3586, allocations: 0 / 0.5467 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008671/0.3594, allocations: 247.8 kB / 0.5469 GB, free: 0.6719 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.001758/0.3612, allocations: 1.44 MB / 0.5483 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.3623, allocations: 0.7326 MB / 0.549 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3623, allocations: 0 / 0.549 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.3626, allocations: 191.8 kB / 0.5492 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.3631, allocations: 56.94 kB / 0.5493 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.3689, allocations: 4.533 MB / 0.5537 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.3694, allocations: 0.8028 MB / 0.5545 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.3696, allocations: 74.23 kB / 0.5545 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.3698, allocations: 103.4 kB / 0.5546 GB, free: 8.582 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3698, allocations: 0 / 0.5546 GB, free: 8.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.407, allocations: 10.11 MB / 0.5645 GB, free: 14.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.625/9.032, allocations: 17.92 kB / 0.5645 GB, free: 14.59 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)