Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 215.3 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.93 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 67.89 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3736, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003483/0.3771, allocations: 1.799 MB / 0.5587 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.3795, allocations: 1.292 MB / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.3796, allocations: 7.938 kB / 0.56 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.3797, allocations: 27.72 kB / 0.56 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.3798, allocations: 35.72 kB / 0.56 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.3817, allocations: 0.6546 MB / 0.5607 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005052/0.3822, allocations: 311.2 kB / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3823, allocations: 34.39 kB / 0.561 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.3826, allocations: 127.6 kB / 0.5611 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.3829, allocations: 167.5 kB / 0.5613 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.3829, allocations: 24 kB / 0.5613 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.3851, allocations: 1.216 MB / 0.5625 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.3853, allocations: 119.6 kB / 0.5626 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.3854, allocations: 111.4 kB / 0.5627 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.3869, allocations: 1.106 MB / 0.5638 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3869, allocations: 3.938 kB / 0.5638 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3869, allocations: 4 kB / 0.5638 GB, free: 496 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3869, allocations: 0 / 0.5638 GB, free: 496 kB / 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.001409/0.3883, allocations: 0.6677 MB / 0.5645 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3883, allocations: 8.031 kB / 0.5645 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.13e-05/0.3884, allocations: 42.75 kB / 0.5645 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.3886, allocations: 48.69 kB / 0.5646 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.389, allocations: 218.1 kB / 0.5648 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3891, allocations: 16 kB / 0.5648 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/0.3891, allocations: 23.95 kB / 0.5648 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.3897, allocations: 319.1 kB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3897, allocations: 3.984 kB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.3897, allocations: 4 kB / 0.5651 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3897, allocations: 4 kB / 0.5651 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.3902, allocations: 235.7 kB / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.3916, allocations: 0.6751 MB / 0.566 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.3922, allocations: 284.9 kB / 0.5663 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.3925, allocations: 189.5 kB / 0.5665 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3926, allocations: 4 kB / 0.5665 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.3926, allocations: 38.5 kB / 0.5665 GB, free: 13.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.3926, allocations: 0 / 0.5665 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001152/0.3937, allocations: 0.5373 MB / 0.567 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.3938, allocations: 81.11 kB / 0.5671 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.3942, allocations: 348.6 kB / 0.5674 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.3943, allocations: 37.7 kB / 0.5675 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3944, allocations: 140.9 kB / 0.5676 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3946, allocations: 107.1 kB / 0.5677 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.3947, allocations: 121.4 kB / 0.5678 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3949, allocations: 350.8 kB / 0.5682 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.3954, allocations: 284.8 kB / 0.5684 GB, free: 11.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.3959, allocations: 340.2 kB / 0.5688 GB, free: 11.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/0.3996, allocations: 1.764 MB / 0.5705 GB, free: 9.414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3996, allocations: 0 / 0.5705 GB, free: 9.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001321/0.401, allocations: 0.766 MB / 0.5712 GB, free: 8.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.401, allocations: 11.98 kB / 0.5712 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.401, allocations: 7.938 kB / 0.5712 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.401, allocations: 4 kB / 0.5712 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.4015, allocations: 95.88 kB / 0.5713 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4015, allocations: 4 kB / 0.5713 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.4018, allocations: 67.34 kB / 0.5714 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.4019, allocations: 16 kB / 0.5714 GB, free: 8.438 MB / 414.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.0003058/0.4022, allocations: 194.1 kB / 0.5716 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.4023, allocations: 27.75 kB / 0.5716 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.4024, allocations: 42.66 kB / 0.5717 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.4024, allocations: 4 kB / 0.5717 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4024, allocations: 7.984 kB / 0.5717 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4024, allocations: 3.984 kB / 0.5717 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.4028, allocations: 272.6 kB / 0.5719 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4028, allocations: 0 / 0.5719 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.4035, allocations: 55.91 kB / 0.572 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4035, allocations: 0 / 0.572 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.4035, allocations: 19.92 kB / 0.572 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4035, allocations: 0 / 0.572 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4035, allocations: 0 / 0.572 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.4047, allocations: 0.7446 MB / 0.5727 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.4047, allocations: 27.91 kB / 0.5728 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.4048, allocations: 31.8 kB / 0.5728 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.405, allocations: 8 kB / 0.5728 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.4051, allocations: 19.97 kB / 0.5728 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.4052, allocations: 7.984 kB / 0.5728 GB, free: 6.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002551/0.4054, allocations: 223 kB / 0.5731 GB, free: 6.695 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4054, allocations: 0 / 0.5731 GB, free: 6.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008843/0.4063, allocations: 255.6 kB / 0.5733 GB, free: 6.445 MB / 414.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.002183/0.4085, allocations: 1.438 MB / 0.5747 GB, free: 4.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.4097, allocations: 0.6651 MB / 0.5753 GB, free: 4.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4097, allocations: 0 / 0.5753 GB, free: 4.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.41, allocations: 195.7 kB / 0.5755 GB, free: 4.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.4106, allocations: 37.06 kB / 0.5756 GB, free: 4.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006229/0.4168, allocations: 4.527 MB / 0.58 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.417, allocations: 199.8 kB / 0.5802 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.4173, allocations: 82.16 kB / 0.5803 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.4175, allocations: 99.41 kB / 0.5804 GB, free: 15.06 MB / 430.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4175, allocations: 0 / 0.5804 GB, free: 15.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.4627, allocations: 10.8 MB / 0.5909 GB, free: 4.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.19, allocations: 11.52 kB / 0.5909 GB, free: 4.469 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.132445543073118] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.309340053237975 12.327616699 11.937396333 Calling exit ...