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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 105 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 216.6 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 230.2 MB / 256.2 MB, free: 8.602 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2021/0.2021, allocations: 46.89 MB / 359.3 MB, free: 4.98 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002163/0.002163, allocations: 83.86 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2708, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002798/0.2736, allocations: 1.86 MB / 0.5602 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.2756, allocations: 1.42 MB / 0.5616 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.2757, allocations: 7.938 kB / 0.5616 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.2758, allocations: 31.72 kB / 0.5616 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.2759, allocations: 27.72 kB / 0.5617 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.2771, allocations: 0.5841 MB / 0.5622 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.2774, allocations: 279.3 kB / 0.5625 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.2775, allocations: 38.11 kB / 0.5625 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.2777, allocations: 119.6 kB / 0.5627 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.2779, allocations: 179.5 kB / 0.5628 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.975e-05/0.278, allocations: 20 kB / 0.5628 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.2793, allocations: 0.9318 MB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.2794, allocations: 123.6 kB / 0.5639 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2796, allocations: 139.2 kB / 0.564 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.2807, allocations: 1.079 MB / 0.5651 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2807, allocations: 0 / 0.5651 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2807, allocations: 0 / 0.5651 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2807, allocations: 4 kB / 0.5651 GB, free: 14.35 MB / 414.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.001143/0.2818, allocations: 0.7391 MB / 0.5658 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.2818, allocations: 8.031 kB / 0.5658 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.2819, allocations: 50.73 kB / 0.5658 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.2821, allocations: 44.7 kB / 0.5659 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.2824, allocations: 283.9 kB / 0.5662 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2824, allocations: 16 kB / 0.5662 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/0.2825, allocations: 23.95 kB / 0.5662 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.2829, allocations: 271.1 kB / 0.5665 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2829, allocations: 0 / 0.5665 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.283, allocations: 8 kB / 0.5665 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.283, allocations: 4 kB / 0.5665 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.2834, allocations: 227.8 kB / 0.5667 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.2845, allocations: 0.7501 MB / 0.5674 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.285, allocations: 296.8 kB / 0.5677 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.2853, allocations: 185.6 kB / 0.5679 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2853, allocations: 3.984 kB / 0.5679 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.2853, allocations: 38.5 kB / 0.5679 GB, free: 11.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.2853, allocations: 0 / 0.5679 GB, free: 11.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009877/0.2863, allocations: 0.5373 MB / 0.5684 GB, free: 10.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2864, allocations: 81.11 kB / 0.5685 GB, free: 10.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.2867, allocations: 352.6 kB / 0.5689 GB, free: 10.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.2867, allocations: 33.7 kB / 0.5689 GB, free: 10.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.2868, allocations: 144.9 kB / 0.569 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.2869, allocations: 107.1 kB / 0.5691 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.2871, allocations: 125.4 kB / 0.5692 GB, free: 9.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2872, allocations: 346.8 kB / 0.5696 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.2876, allocations: 292.8 kB / 0.5699 GB, free: 9.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.2881, allocations: 335.5 kB / 0.5702 GB, free: 8.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.2916, allocations: 1.758 MB / 0.5719 GB, free: 7.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2916, allocations: 0 / 0.5719 GB, free: 7.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001099/0.2927, allocations: 0.7659 MB / 0.5726 GB, free: 6.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2927, allocations: 8 kB / 0.5726 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.2927, allocations: 11.92 kB / 0.5727 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2927, allocations: 4 kB / 0.5727 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.2932, allocations: 95.88 kB / 0.5728 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2932, allocations: 4 kB / 0.5728 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2934, allocations: 75.34 kB / 0.5728 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.2934, allocations: 8 kB / 0.5728 GB, free: 6.113 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.0002018/0.2936, allocations: 173.8 kB / 0.573 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.2937, allocations: 39.73 kB / 0.573 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.2938, allocations: 38.66 kB / 0.5731 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2938, allocations: 4 kB / 0.5731 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2938, allocations: 0 / 0.5731 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2938, allocations: 4 kB / 0.5731 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.2942, allocations: 341.3 kB / 0.5734 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2942, allocations: 0 / 0.5734 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.2946, allocations: 47.97 kB / 0.5735 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2946, allocations: 0 / 0.5735 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.2946, allocations: 19.94 kB / 0.5735 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2946, allocations: 4 kB / 0.5735 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2946, allocations: 7.984 kB / 0.5735 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2956, allocations: 0.7591 MB / 0.5742 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.2957, allocations: 104.9 kB / 0.5743 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.2957, allocations: 15.94 kB / 0.5743 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.296, allocations: 15.98 kB / 0.5744 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.296, allocations: 19.91 kB / 0.5744 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.296, allocations: 8 kB / 0.5744 GB, free: 4.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.2962, allocations: 223 kB / 0.5746 GB, free: 4.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2962, allocations: 0 / 0.5746 GB, free: 4.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006499/0.2969, allocations: 247.8 kB / 0.5748 GB, free: 3.965 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.001633/0.2985, allocations: 1.441 MB / 0.5762 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009328/0.2995, allocations: 0.6655 MB / 0.5769 GB, free: 1.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2995, allocations: 0 / 0.5769 GB, free: 1.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.2998, allocations: 191.8 kB / 0.5771 GB, free: 1.625 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.3002, allocations: 37.06 kB / 0.5771 GB, free: 1.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/0.3054, allocations: 4.541 MB / 0.5815 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.3059, allocations: 0.8067 MB / 0.5823 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.306, allocations: 70.23 kB / 0.5824 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3062, allocations: 99.41 kB / 0.5825 GB, free: 11.96 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3062, allocations: 0 / 0.5825 GB, free: 11.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.3415, allocations: 10.13 MB / 0.5924 GB, free: 1.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.962, allocations: 8.688 kB / 0.5924 GB, free: 1.949 MB / 430.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.459453743998893]