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.00148/0.00148, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001483/0.001483, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.504/1.504, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.00203/0.00203, allocations: 75.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.2049/0.3161, allocations: 5.279 MB / 432.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.3191, allocations: 1.75 MB / 434 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.3194, allocations: 16.75 kB / 434.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.322, allocations: 1.409 MB / 435.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00076/0.3227, allocations: 335.1 kB / 435.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.324, allocations: 0.6485 MB / 436.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.3252, allocations: 0.8045 MB / 437.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.3262, allocations: 0.5846 MB / 437.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005615/0.3268, allocations: 361.8 kB / 438.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005542/0.3274, allocations: 468.4 kB / 438.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.3275, allocations: 74.06 kB / 438.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007997/0.3283, allocations: 267.9 kB / 439 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3284, allocations: 175.8 kB / 439.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.3288, allocations: 426.8 kB / 439.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.3304, allocations: 1.208 MB / 440.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3304, allocations: 2.078 kB / 440.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3304, allocations: 0 / 440.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.3304, allocations: 0 / 440.8 MB, free: 5.461 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.004128/0.3345, allocations: 1.464 MB / 442.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3346, allocations: 10.5 kB / 442.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.3347, allocations: 150.9 kB / 442.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.3364, allocations: 246.4 kB / 442.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.3367, allocations: 264.4 kB / 442.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.3367, allocations: 77.34 kB / 443 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.3369, allocations: 97.45 kB / 443.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.3386, allocations: 0.9448 MB / 444 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.3386, allocations: 7.031 kB / 444 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-05/0.3387, allocations: 40.97 kB / 444.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.3387, allocations: 23.53 kB / 444.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.3402, allocations: 0.7913 MB / 444.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/0.3451, allocations: 3.625 MB / 448.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.347, allocations: 1.176 MB / 449.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.3475, allocations: 322.8 kB / 450 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.3477, allocations: 198.4 kB / 450.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.3478, allocations: 51.53 kB / 450.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.495e-06/0.3478, allocations: 0 / 450.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002635/0.3504, allocations: 1.302 MB / 451.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.3505, allocations: 88.44 kB / 451.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/0.3511, allocations: 369.4 kB / 452 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.3511, allocations: 44.11 kB / 452 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.3514, allocations: 391.1 kB / 452.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.3517, allocations: 313.1 kB / 452.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.352, allocations: 180.7 kB / 452.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3522, allocations: 362.7 kB / 453.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.3527, allocations: 268.6 kB / 453.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007326/0.3534, allocations: 479.9 kB / 454 MB, free: 13.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.3548, allocations: 0.7693 MB / 454.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.3548, allocations: 2.656 kB / 454.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002016/0.3568, allocations: 0.9788 MB / 455.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3568, allocations: 7.156 kB / 455.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.3568, allocations: 7.094 kB / 455.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/0.3573, allocations: 132.1 kB / 455.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.3581, allocations: 206.4 kB / 456.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/0.3641, allocations: 6.125 MB / 462.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.3649, allocations: 99.47 kB / 462.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.365, allocations: 43.09 kB / 462.3 MB, free: 6.055 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.00043/0.3654, allocations: 231.7 kB / 462.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.3655, allocations: 60.88 kB / 462.6 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.3672, allocations: 0.8368 MB / 463.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3672, allocations: 12.66 kB / 463.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3672, allocations: 7.219 kB / 463.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3672, allocations: 6 kB / 463.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.3708, allocations: 2.1 MB / 465.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.3708, allocations: 3.25 kB / 465.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009071/0.3717, allocations: 135.4 kB / 465.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000432/0.3721, allocations: 112 kB / 465.8 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.3722, allocations: 21.86 kB / 465.8 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006536/0.3787, allocations: 5.714 MB / 471.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/0.3787, allocations: 7.438 kB / 471.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.3821, allocations: 1.279 MB / 472.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/0.3824, allocations: 151.6 kB / 473 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.3825, allocations: 17.88 kB / 473 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/0.3831, allocations: 24.19 kB / 473 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.3833, allocations: 61.56 kB / 473.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/0.3834, allocations: 27.88 kB / 473.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004907/0.3839, allocations: 254 kB / 473.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3839, allocations: 3.938 kB / 473.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00188/0.3858, allocations: 264 kB / 473.6 MB, free: 12.82 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.003571/0.3894, allocations: 1.883 MB / 475.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002685/0.392, allocations: 1.135 MB / 476.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.392, allocations: 1.969 kB / 476.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.3936, allocations: 0.7627 MB / 477.4 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3947, allocations: 64.34 kB / 477.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.4094, allocations: 5.681 MB / 483.2 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009459/0.4103, allocations: 0.9118 MB / 484.1 MB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008269/0.4112, allocations: 108.4 kB / 484.2 MB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/0.4117, allocations: 247.5 kB / 484.4 MB, free: 4.875 MB / 382.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4117, allocations: 0 / 484.4 MB, free: 4.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07139/0.4831, allocations: 13.09 MB / 497.5 MB, free: 8.195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.58, allocations: 12 kB / 497.5 MB, free: 8.188 MB / 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: 14.166815929114819] Failed to read output from testmodel.py, exit status != 0: ['time', 'quarterCylinder1.port_p.reference.gamma'] 11.676368406042457 11.702338974 11.36720052 Calling exit ...