Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001736/0.001736, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00262/0.00262, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001999/0.001999, allocations: 64.77 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2782, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007077/0.2853, allocations: 5.308 MB / 437.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.2888, allocations: 1.759 MB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004584/0.2892, allocations: 16 kB / 439 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003471/0.2927, allocations: 1.418 MB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.2938, allocations: 329.6 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.2953, allocations: 0.6538 MB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.2964, allocations: 0.8013 MB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.2976, allocations: 0.679 MB / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005054/0.2981, allocations: 362.7 kB / 443.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.2987, allocations: 462.1 kB / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.2988, allocations: 72 kB / 443.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005895/0.2994, allocations: 271.8 kB / 444 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.2995, allocations: 171.4 kB / 444.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.3, allocations: 429.8 kB / 444.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.3016, allocations: 1.199 MB / 445.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3016, allocations: 3.938 kB / 445.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3016, allocations: 0 / 445.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.3016, allocations: 3.938 kB / 445.8 MB, free: 8.926 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004166/0.3058, allocations: 1.394 MB / 447.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3058, allocations: 12.03 kB / 447.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.306, allocations: 148.4 kB / 447.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.3076, allocations: 240.2 kB / 447.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.3078, allocations: 209.4 kB / 447.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.3079, allocations: 70.38 kB / 447.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.308, allocations: 112.3 kB / 448 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.3097, allocations: 0.9423 MB / 448.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.3098, allocations: 7.953 kB / 448.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-05/0.3098, allocations: 36 kB / 449 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.3099, allocations: 24 kB / 449 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.3113, allocations: 0.7886 MB / 449.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005461/0.3168, allocations: 3.076 MB / 452.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.3186, allocations: 0.882 MB / 453.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/0.3192, allocations: 329 kB / 454.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.3193, allocations: 44.92 kB / 454.1 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3193, allocations: 47.5 kB / 454.2 MB, free: 372 kB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 5.09e-06/0.3194, allocations: 4 kB / 454.2 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002233/0.3216, allocations: 0.9993 MB / 455.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.3216, allocations: 90.11 kB / 455.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.3221, allocations: 364.4 kB / 455.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.3222, allocations: 37.7 kB / 455.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.3224, allocations: 392.2 kB / 456 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.3227, allocations: 321.3 kB / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.3229, allocations: 175 kB / 456.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3231, allocations: 366.7 kB / 456.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.3236, allocations: 270.5 kB / 457.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.3243, allocations: 471.4 kB / 457.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.3255, allocations: 0.7784 MB / 458.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3255, allocations: 0 / 458.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001797/0.3273, allocations: 0.9888 MB / 459.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3273, allocations: 8 kB / 459.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3273, allocations: 4 kB / 459.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.3277, allocations: 123.4 kB / 459.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.3285, allocations: 207.6 kB / 459.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/0.3333, allocations: 5.704 MB / 465.4 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.334, allocations: 103.3 kB / 465.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/0.334, allocations: 47.92 kB / 465.5 MB, free: 4.254 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000379/0.3344, allocations: 233.5 kB / 465.8 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.3345, allocations: 51.67 kB / 465.8 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.3361, allocations: 0.8366 MB / 466.7 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3361, allocations: 15.92 kB / 466.7 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.3361, allocations: 7.938 kB / 466.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3361, allocations: 7.969 kB / 466.7 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.3392, allocations: 1.779 MB / 468.5 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3392, allocations: 3.984 kB / 468.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.3398, allocations: 135.8 kB / 468.6 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003072/0.3401, allocations: 107.5 kB / 468.7 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.3402, allocations: 23.98 kB / 468.7 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/0.3445, allocations: 5.304 MB / 474 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3445, allocations: 0 / 474 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.3465, allocations: 1.281 MB / 475.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.3467, allocations: 63.47 kB / 475.4 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.3468, allocations: 31.83 kB / 475.4 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.3471, allocations: 19.94 kB / 475.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.3473, allocations: 72.59 kB / 475.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.3473, allocations: 27.98 kB / 475.5 MB, free: 9.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003126/0.3476, allocations: 251.2 kB / 475.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3476, allocations: 4 kB / 475.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000985/0.3486, allocations: 259.6 kB / 476 MB, free: 9.121 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002474/0.3511, allocations: 1.883 MB / 477.9 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.3529, allocations: 1.137 MB / 479.1 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3529, allocations: 0 / 479.1 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3539, allocations: 0.7659 MB / 479.8 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.3545, allocations: 57.42 kB / 479.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/0.3634, allocations: 5.692 MB / 485.6 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.364, allocations: 0.9071 MB / 486.5 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004397/0.3645, allocations: 105.1 kB / 486.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.3648, allocations: 251.3 kB / 486.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3648, allocations: 0 / 486.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07773/0.4426, allocations: 13.7 MB / 0.4888 GB, free: 280 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.46, allocations: 14.52 kB / 0.4888 GB, free: 268 kB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.97392318258062] Failed to read output from testmodel.py, exit status != 0: ['time', 'quarterCylinder1.port_p.reference.gamma'] 11.551546972244978 11.566710368 11.261883574 Calling exit ...