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.001413/0.001413, allocations: 109 kB / 19.74 MB, free: 2.582 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.001655/0.001655, allocations: 216.1 kB / 22.92 MB, free: 5.562 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.319/1.319, allocations: 230.2 MB / 256.2 MB, free: 8.621 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.2025/0.2025, allocations: 46.88 MB / 359.3 MB, free: 4.973 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.002121/0.002121, allocations: 83.86 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2681, allocations: 65.98 MB / 0.5584 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002855/0.271, allocations: 1.863 MB / 0.5602 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.2731, allocations: 1.416 MB / 0.5616 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.352e-05/0.2731, allocations: 3.938 kB / 0.5616 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2733, allocations: 31.72 kB / 0.5616 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.2734, allocations: 31.72 kB / 0.5617 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.2747, allocations: 0.5806 MB / 0.5622 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.275, allocations: 275.3 kB / 0.5625 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2751, allocations: 42.11 kB / 0.5625 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.2753, allocations: 119.6 kB / 0.5627 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.2755, allocations: 179.5 kB / 0.5628 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.2755, allocations: 24 kB / 0.5629 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.2768, allocations: 0.9357 MB / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.2769, allocations: 115.6 kB / 0.5639 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.2771, allocations: 147.2 kB / 0.564 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.2782, allocations: 1.075 MB / 0.5651 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2782, allocations: 0 / 0.5651 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2782, allocations: 0 / 0.5651 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2782, allocations: 4 kB / 0.5651 GB, free: 14.37 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.001216/0.2794, allocations: 0.7391 MB / 0.5658 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2794, allocations: 12.03 kB / 0.5658 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.2795, allocations: 46.73 kB / 0.5658 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2797, allocations: 44.7 kB / 0.5659 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.28, allocations: 279.9 kB / 0.5662 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.2801, allocations: 12 kB / 0.5662 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.2801, allocations: 27.95 kB / 0.5662 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.2806, allocations: 271.1 kB / 0.5665 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2806, allocations: 0 / 0.5665 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.2806, allocations: 4 kB / 0.5665 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2806, allocations: 8 kB / 0.5665 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004148/0.2811, allocations: 227.8 kB / 0.5667 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.2822, allocations: 0.754 MB / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.2827, allocations: 292.9 kB / 0.5677 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.283, allocations: 177.6 kB / 0.5679 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.283, allocations: 7.984 kB / 0.5679 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.283, allocations: 42.5 kB / 0.5679 GB, free: 11.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.223e-06/0.283, allocations: 0 / 0.5679 GB, free: 11.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001023/0.2841, allocations: 0.5373 MB / 0.5684 GB, free: 10.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.2841, allocations: 81.11 kB / 0.5685 GB, free: 10.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.2845, allocations: 352.5 kB / 0.5689 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.2845, allocations: 33.7 kB / 0.5689 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.2846, allocations: 140.9 kB / 0.569 GB, free: 10.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.715e-05/0.2847, allocations: 107.1 kB / 0.5691 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.2849, allocations: 121.4 kB / 0.5692 GB, free: 9.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.285, allocations: 358.7 kB / 0.5696 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.2855, allocations: 288.8 kB / 0.5699 GB, free: 9.215 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.2859, allocations: 331.5 kB / 0.5702 GB, free: 8.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/0.2894, allocations: 1.758 MB / 0.5719 GB, free: 7.117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2894, allocations: 3.938 kB / 0.5719 GB, free: 7.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001118/0.2905, allocations: 0.7621 MB / 0.5726 GB, free: 6.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2905, allocations: 4 kB / 0.5726 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.2906, allocations: 15.92 kB / 0.5727 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2906, allocations: 0 / 0.5727 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.291, allocations: 95.88 kB / 0.5727 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.291, allocations: 15.92 kB / 0.5728 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.2912, allocations: 71.34 kB / 0.5728 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.2913, allocations: 12 kB / 0.5728 GB, free: 6.133 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.0002219/0.2915, allocations: 181 kB / 0.573 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.2916, allocations: 31.8 kB / 0.573 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.2917, allocations: 42.66 kB / 0.5731 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2917, allocations: 4 kB / 0.5731 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2917, allocations: 4 kB / 0.5731 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2917, allocations: 0 / 0.5731 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.2921, allocations: 345.3 kB / 0.5734 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2921, allocations: 0 / 0.5734 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.2925, allocations: 43.97 kB / 0.5735 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.2925, allocations: 0 / 0.5735 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.2925, allocations: 19.94 kB / 0.5735 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2925, allocations: 4 kB / 0.5735 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.2925, allocations: 7.922 kB / 0.5735 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.2936, allocations: 0.7524 MB / 0.5742 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.2937, allocations: 104.9 kB / 0.5743 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.2937, allocations: 15.94 kB / 0.5743 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.2939, allocations: 15.98 kB / 0.5744 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.294, allocations: 15.97 kB / 0.5744 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.294, allocations: 8 kB / 0.5744 GB, free: 4.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.2942, allocations: 219 kB / 0.5746 GB, free: 4.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2942, allocations: 0 / 0.5746 GB, free: 4.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007158/0.2949, allocations: 255.8 kB / 0.5748 GB, free: 3.984 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.00169/0.2966, allocations: 1.435 MB / 0.5762 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009628/0.2976, allocations: 0.673 MB / 0.5769 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2976, allocations: 0 / 0.5769 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.2979, allocations: 183.8 kB / 0.5771 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.2984, allocations: 51.5 kB / 0.5771 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/0.3037, allocations: 4.533 MB / 0.5815 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.3042, allocations: 0.8106 MB / 0.5823 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.3043, allocations: 66.23 kB / 0.5824 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.3045, allocations: 103.4 kB / 0.5825 GB, free: 11.98 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3045, allocations: 3.938 kB / 0.5825 GB, free: 11.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03741/0.3419, allocations: 10.12 MB / 0.5924 GB, free: 1.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.033, allocations: 4.625 kB / 0.5924 GB, free: 1.977 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 & 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 3.9976e-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.543510920004337]