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.FixedShapes.CylinderSections.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.001747/0.001747, 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.002005/0.002005, 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.523/1.523, 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.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.002011/0.002011, allocations: 75.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.111, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005937/0.1169, allocations: 4.213 MB / 431.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2367/0.3536, allocations: 1.727 MB / 433 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.354, allocations: 13.25 kB / 433 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.3563, allocations: 1.017 MB / 434 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006782/0.3569, allocations: 239.7 kB / 434.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.3583, allocations: 0.7834 MB / 435 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007227/0.3591, allocations: 0.6047 MB / 435.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006095/0.3597, allocations: 375.4 kB / 436 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.3601, allocations: 270.6 kB / 436.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.3605, allocations: 332.8 kB / 436.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.591e-05/0.3606, allocations: 53.44 kB / 436.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007115/0.3613, allocations: 296.3 kB / 436.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.3614, allocations: 134 kB / 437 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.3616, allocations: 312.4 kB / 437.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.363, allocations: 0.9418 MB / 438.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.363, allocations: 0 / 438.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.363, allocations: 1.094 kB / 438.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.363, allocations: 0 / 438.3 MB, free: 6.484 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003907/0.3669, allocations: 1.239 MB / 439.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.367, allocations: 10.06 kB / 439.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.3671, allocations: 108.8 kB / 439.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.3684, allocations: 179 kB / 439.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.3687, allocations: 237.3 kB / 440 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.3687, allocations: 54.14 kB / 440.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.3688, allocations: 67.17 kB / 440.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.3703, allocations: 0.7112 MB / 440.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.3703, allocations: 0.6094 kB / 440.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.3704, allocations: 26.41 kB / 440.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.3704, allocations: 16.41 kB / 440.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.3718, allocations: 0.6051 MB / 441.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.3755, allocations: 2.316 MB / 443.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.3769, allocations: 1.578 MB / 445.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.3774, allocations: 247.1 kB / 445.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.3776, allocations: 187 kB / 445.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3777, allocations: 42.88 kB / 445.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.776e-06/0.3777, allocations: 0 / 445.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001664/0.3793, allocations: 0.7041 MB / 446.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.3794, allocations: 110.7 kB / 446.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.3797, allocations: 269.9 kB / 447 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.3798, allocations: 36.88 kB / 447 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3799, allocations: 269.2 kB / 447.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.38, allocations: 233.4 kB / 447.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.3802, allocations: 120.2 kB / 447.6 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.3803, allocations: 347.2 kB / 447.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.3807, allocations: 214.1 kB / 448.1 MB, free: 80 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/0.3813, allocations: 301 kB / 448.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.3823, allocations: 0.5163 MB / 449 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.3823, allocations: 1.719 kB / 449 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001336/0.3837, allocations: 0.632 MB / 449.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3837, allocations: 5.781 kB / 449.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3837, allocations: 6.125 kB / 449.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3837, allocations: 4.594 kB / 449.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.3844, allocations: 160.7 kB / 449.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3844, allocations: 4.438 kB / 449.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/0.385, allocations: 75.97 kB / 449.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.385, allocations: 23.77 kB / 449.9 MB, free: 15.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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 prepare postOptimizeDAE: time 0.0003195/0.3853, allocations: 190 kB / 450.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.3855, allocations: 38.52 kB / 450.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.3869, allocations: 0.6063 MB / 450.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.3869, allocations: 8.359 kB / 450.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3869, allocations: 0 / 450.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.3869, allocations: 4.312 kB / 450.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.3894, allocations: 1.301 MB / 452 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.3894, allocations: 3.938 kB / 452 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/0.39, allocations: 128.4 kB / 452.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.39, allocations: 4.109 kB / 452.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.3901, allocations: 17.78 kB / 452.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.3901, allocations: 3.953 kB / 452.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3901, allocations: 0 / 452.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.3918, allocations: 0.9766 MB / 453.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.392, allocations: 124.1 kB / 453.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.3921, allocations: 16.81 kB / 453.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.3925, allocations: 30.39 kB / 453.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3926, allocations: 38.91 kB / 453.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.3926, allocations: 20.23 kB / 453.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.3928, allocations: 194.8 kB / 453.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3928, allocations: 0 / 453.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000675/0.3935, allocations: 188.1 kB / 453.7 MB, free: 13.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * 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.002299/0.3958, allocations: 1.563 MB / 455.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.3971, allocations: 0.506 MB / 455.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3971, allocations: 3.938 kB / 455.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.3977, allocations: 244.3 kB / 456 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.3983, allocations: 47.41 kB / 456.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007595/0.4059, allocations: 4.211 MB / 460.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.4066, allocations: 0.8428 MB / 461.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003972/0.407, allocations: 82.23 kB / 461.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.4073, allocations: 189.1 kB / 461.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4073, allocations: 0 / 461.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.4461, allocations: 9.512 MB / 470.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.706/9.152, allocations: 11.91 kB / 470.9 MB, free: 4.102 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_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_FixedShapes_CylinderSections.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.755396742839366] Failed to read output from testmodel.py, exit status != 0: ['time', 'hollowCylinderAxialOuter.port_p.reference.gamma'] 9.230659173801541 9.25196722 8.88447214 Calling exit ...