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.001557/0.001557, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001945, allocations: 197.2 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.384/1.384, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 75.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3408, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.004816/0.3457, allocations: 1.855 MB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.3488, allocations: 1.411 MB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.3491, allocations: 1.844 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.3493, allocations: 29.38 kB / 0.5337 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.3495, allocations: 31.5 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.3518, allocations: 0.5674 MB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.3523, allocations: 282.9 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.3525, allocations: 50.14 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.3528, allocations: 122.5 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.3532, allocations: 174.6 kB / 0.5349 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3533, allocations: 23 kB / 0.5349 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.3554, allocations: 0.8112 MB / 0.5357 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.3556, allocations: 116.4 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.3558, allocations: 145.2 kB / 0.536 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.358, allocations: 1.073 MB / 0.537 GB, free: 8.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.358, allocations: 3.984 kB / 0.537 GB, free: 8.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.358, allocations: 0 / 0.537 GB, free: 8.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.3581, allocations: 5 kB / 0.537 GB, free: 8.734 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.002107/0.3602, allocations: 0.7204 MB / 0.5377 GB, free: 8.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.3602, allocations: 8.75 kB / 0.5377 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.3603, allocations: 48.77 kB / 0.5378 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.3606, allocations: 38.05 kB / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.3611, allocations: 298.5 kB / 0.5381 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3612, allocations: 11.59 kB / 0.5381 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.921e-05/0.3613, allocations: 27.16 kB / 0.5381 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.362, allocations: 266.9 kB / 0.5384 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.362, allocations: 0 / 0.5384 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.3621, allocations: 5.375 kB / 0.5384 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.3621, allocations: 4.281 kB / 0.5384 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006065/0.3627, allocations: 231.5 kB / 0.5386 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.3645, allocations: 0.7436 MB / 0.5394 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.3652, allocations: 288 kB / 0.5396 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/0.3656, allocations: 195.3 kB / 0.5398 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.3657, allocations: 2.938 kB / 0.5398 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.3657, allocations: 45.25 kB / 0.5399 GB, free: 6.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.3658, allocations: 0 / 0.5399 GB, free: 6.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001479/0.3672, allocations: 0.5342 MB / 0.5404 GB, free: 6.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.3673, allocations: 87.66 kB / 0.5405 GB, free: 6.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.3679, allocations: 353.4 kB / 0.5408 GB, free: 5.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.368, allocations: 31.86 kB / 0.5408 GB, free: 5.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3681, allocations: 143.5 kB / 0.541 GB, free: 5.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.3682, allocations: 97.97 kB / 0.5411 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.3685, allocations: 126.9 kB / 0.5412 GB, free: 5.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3687, allocations: 349 kB / 0.5415 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.3692, allocations: 287 kB / 0.5418 GB, free: 5.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.3697, allocations: 333.8 kB / 0.5421 GB, free: 4.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/0.3734, allocations: 1.771 MB / 0.5438 GB, free: 3.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3735, allocations: 4 kB / 0.5438 GB, free: 3.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001122/0.3746, allocations: 0.762 MB / 0.5446 GB, free: 3.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3746, allocations: 7.938 kB / 0.5446 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.3747, allocations: 7.938 kB / 0.5446 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3747, allocations: 4 kB / 0.5446 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.3752, allocations: 95.86 kB / 0.5447 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.3752, allocations: 4 kB / 0.5447 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.3755, allocations: 67.06 kB / 0.5448 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.3755, allocations: 15.98 kB / 0.5448 GB, free: 2.902 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.0002609/0.3758, allocations: 177.7 kB / 0.545 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.3759, allocations: 31.53 kB / 0.545 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.376, allocations: 50.58 kB / 0.545 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.376, allocations: 4 kB / 0.545 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.376, allocations: 4 kB / 0.545 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.376, allocations: 0 / 0.545 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.3765, allocations: 333.3 kB / 0.5454 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3765, allocations: 0 / 0.5454 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.3769, allocations: 51.91 kB / 0.5454 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3769, allocations: 4 kB / 0.5454 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.3769, allocations: 15.92 kB / 0.5454 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3769, allocations: 4 kB / 0.5454 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3769, allocations: 0 / 0.5454 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.378, allocations: 0.7435 MB / 0.5462 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.378, allocations: 104.8 kB / 0.5463 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.3781, allocations: 19.92 kB / 0.5463 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.3783, allocations: 15.92 kB / 0.5463 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.3784, allocations: 15.92 kB / 0.5463 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.3785, allocations: 12 kB / 0.5463 GB, free: 1.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.3787, allocations: 227 kB / 0.5465 GB, free: 1.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3787, allocations: 0 / 0.5465 GB, free: 1.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009634/0.3797, allocations: 244 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.002134/0.3818, allocations: 1.441 MB / 0.5482 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3828, allocations: 0.7249 MB / 0.5489 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3829, allocations: 4 kB / 0.5489 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.3832, allocations: 191.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.0005013/0.3837, allocations: 53.05 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.006007/0.3897, allocations: 4.511 MB / 0.5535 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.3902, allocations: 0.8067 MB / 0.5543 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000221/0.3904, allocations: 70.25 kB / 0.5544 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.3906, allocations: 103.4 kB / 0.5545 GB, free: 8.711 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3907, allocations: 0 / 0.5545 GB, free: 8.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/0.4271, allocations: 10.21 MB / 0.5644 GB, free: 14.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/8.672, allocations: 7.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)