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.00167/0.00167, allocations: 117.6 kB / 17.78 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.00199/0.00199, allocations: 200.7 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.456/1.456, allocations: 227.4 MB / 247 MB, free: 10.48 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.242/0.242, allocations: 46.11 MB / 344.3 MB, free: 11.5 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.002367/0.002367, allocations: 91.84 kB / 480.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3739, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003246/0.3772, allocations: 1.867 MB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.3796, allocations: 1.402 MB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3797, allocations: 9.25 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.3799, allocations: 30.47 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.38, allocations: 26.47 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.3817, allocations: 0.5737 MB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.3822, allocations: 281.4 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3823, allocations: 43.52 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.3826, allocations: 124.4 kB / 0.5348 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.3828, allocations: 170.5 kB / 0.535 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.3829, allocations: 22.28 kB / 0.535 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.3842, allocations: 0.8163 MB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.3844, allocations: 116 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.3846, allocations: 145.4 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.3859, allocations: 1.074 MB / 0.5371 GB, free: 8.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3859, allocations: 0 / 0.5371 GB, free: 8.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3859, allocations: 0 / 0.5371 GB, free: 8.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3859, allocations: 4.984 kB / 0.5371 GB, free: 8.738 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.001459/0.3874, allocations: 0.7383 MB / 0.5378 GB, free: 8.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.3875, allocations: 9.781 kB / 0.5378 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.901e-05/0.3876, allocations: 47.67 kB / 0.5379 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.3878, allocations: 43.03 kB / 0.5379 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.3883, allocations: 286.7 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.3883, allocations: 18.86 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.3884, allocations: 23.58 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.3891, allocations: 269.6 kB / 0.5385 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3891, allocations: 1.125 kB / 0.5385 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.3892, allocations: 5.062 kB / 0.5385 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3892, allocations: 3.438 kB / 0.5385 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.3897, allocations: 232.4 kB / 0.5387 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.3912, allocations: 0.7481 MB / 0.5395 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.3917, allocations: 291.9 kB / 0.5397 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.392, allocations: 191.2 kB / 0.5399 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.392, allocations: 2.875 kB / 0.5399 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.392, allocations: 41.41 kB / 0.54 GB, free: 6.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.392, allocations: 0 / 0.54 GB, free: 6.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001146/0.3932, allocations: 0.5421 MB / 0.5405 GB, free: 6.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.3933, allocations: 85.41 kB / 0.5406 GB, free: 6.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.3937, allocations: 352.5 kB / 0.5409 GB, free: 5.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.3938, allocations: 36.02 kB / 0.541 GB, free: 5.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3939, allocations: 139.1 kB / 0.5411 GB, free: 5.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.394, allocations: 103.6 kB / 0.5412 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.3943, allocations: 130.3 kB / 0.5413 GB, free: 5.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.3945, allocations: 353 kB / 0.5416 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.395, allocations: 287 kB / 0.5419 GB, free: 5.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.3956, allocations: 338 kB / 0.5422 GB, free: 4.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.3994, allocations: 1.763 MB / 0.544 GB, free: 3.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3994, allocations: 0 / 0.544 GB, free: 3.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00126/0.4007, allocations: 0.7699 MB / 0.5447 GB, free: 3.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4007, allocations: 4 kB / 0.5447 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/0.4008, allocations: 11.94 kB / 0.5447 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4008, allocations: 0 / 0.5447 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.4013, allocations: 95.86 kB / 0.5448 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4014, allocations: 4 kB / 0.5448 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.4016, allocations: 75.34 kB / 0.5449 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.4017, allocations: 15.98 kB / 0.5449 GB, free: 2.84 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.0003173/0.402, allocations: 179.4 kB / 0.5451 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.4021, allocations: 23.81 kB / 0.5451 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.4022, allocations: 46.64 kB / 0.5451 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4022, allocations: 4 kB / 0.5452 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4023, allocations: 7.875 kB / 0.5452 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4023, allocations: 0 / 0.5452 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.4027, allocations: 345.3 kB / 0.5455 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4028, allocations: 0 / 0.5455 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.4031, allocations: 43.97 kB / 0.5455 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4031, allocations: 0 / 0.5455 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.4032, allocations: 19.92 kB / 0.5456 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4032, allocations: 0 / 0.5456 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4032, allocations: 0 / 0.5456 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.4043, allocations: 0.7592 MB / 0.5463 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.4044, allocations: 104.9 kB / 0.5464 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.4045, allocations: 15.92 kB / 0.5464 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.4047, allocations: 11.98 kB / 0.5464 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.4048, allocations: 19.98 kB / 0.5464 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.4048, allocations: 8 kB / 0.5464 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.405, allocations: 223 kB / 0.5467 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.405, allocations: 0 / 0.5467 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008931/0.4059, allocations: 251.8 kB / 0.5469 GB, free: 0.6992 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.001959/0.4079, allocations: 1.436 MB / 0.5483 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.4091, allocations: 0.7365 MB / 0.549 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4091, allocations: 0 / 0.549 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.4094, allocations: 191.8 kB / 0.5492 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.41, allocations: 55.02 kB / 0.5493 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.4162, allocations: 4.537 MB / 0.5537 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.4167, allocations: 0.8067 MB / 0.5545 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.4169, allocations: 70.25 kB / 0.5545 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.4171, allocations: 103.4 kB / 0.5546 GB, free: 8.609 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4171, allocations: 0 / 0.5546 GB, free: 8.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.455, allocations: 10.11 MB / 0.5645 GB, free: 14.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.912/9.367, allocations: 11.8 kB / 0.5645 GB, free: 14.62 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)