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.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001435/0.001435, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001738/0.001738, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.567/1.567, allocations: 230.5 MB / 254.8 MB, free: 15.25 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.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",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.002063/0.002063, allocations: 76 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1156, allocations: 53.33 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007294/0.1229, allocations: 5.11 MB / 432.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.1275, allocations: 2.187 MB / 434.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.1279, allocations: 16 kB / 434.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.1313, allocations: 1.4 MB / 435.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.1328, allocations: 437.2 kB / 436.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.1353, allocations: 1.224 MB / 437.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.1364, allocations: 0.7356 MB / 438.1 MB, free: 9.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009238/0.1373, allocations: 0.5011 MB / 438.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004692/0.1378, allocations: 350.8 kB / 439 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.1384, allocations: 434.3 kB / 439.4 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.28e-05/0.1384, allocations: 71.94 kB / 439.5 MB, free: 8.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009283/0.1394, allocations: 407.6 kB / 439.9 MB, free: 7.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.1395, allocations: 167.4 kB / 440 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.1399, allocations: 382.1 kB / 440.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.1415, allocations: 1.226 MB / 441.6 MB, free: 6.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1415, allocations: 0 / 441.6 MB, free: 6.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1415, allocations: 0 / 441.6 MB, free: 6.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1415, allocations: 0 / 441.6 MB, free: 6.137 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004605/0.1461, allocations: 1.493 MB / 443.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1462, allocations: 8.031 kB / 443.1 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.1464, allocations: 131.4 kB / 443.3 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/0.149, allocations: 364.1 kB / 443.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1493, allocations: 259.8 kB / 443.9 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.1494, allocations: 66.38 kB / 443.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.1495, allocations: 84.12 kB / 444 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.1513, allocations: 0.8758 MB / 444.9 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.1513, allocations: 3.953 kB / 444.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-05/0.1514, allocations: 32 kB / 444.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.1514, allocations: 23.98 kB / 444.9 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.1533, allocations: 0.7964 MB / 445.7 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2183/0.3716, allocations: 3.005 MB / 448.7 MB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.3728, allocations: 0.9625 MB / 449.7 MB, free: 21.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.3732, allocations: 214 kB / 449.9 MB, free: 21.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.3734, allocations: 182.2 kB / 450.1 MB, free: 21.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.3734, allocations: 41.38 kB / 450.1 MB, free: 21.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.594e-06/0.3734, allocations: 1.344 kB / 450.1 MB, free: 21.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007444/0.3808, allocations: 2.4 MB / 452.5 MB, free: 20.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3809, allocations: 85.3 kB / 452.6 MB, free: 20.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.3813, allocations: 318.7 kB / 452.9 MB, free: 20.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.3813, allocations: 34.61 kB / 453 MB, free: 20.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.3815, allocations: 382.5 kB / 453.3 MB, free: 20.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.3816, allocations: 219.5 kB / 453.6 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.3818, allocations: 144.5 kB / 453.7 MB, free: 20.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.3819, allocations: 353.5 kB / 454 MB, free: 19.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007635/0.3827, allocations: 271.1 kB / 454.3 MB, free: 19.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008751/0.3836, allocations: 0.5032 MB / 454.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.3852, allocations: 0.8084 MB / 455.6 MB, free: 18.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.3852, allocations: 3.156 kB / 455.6 MB, free: 18.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002112/0.3873, allocations: 0.9036 MB / 456.5 MB, free: 18.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3873, allocations: 9.297 kB / 456.5 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3873, allocations: 10.06 kB / 456.5 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002675/0.3876, allocations: 72.41 kB / 456.6 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.3885, allocations: 200.2 kB / 456.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.39, allocations: 2.857 MB / 459.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/0.3907, allocations: 64.88 kB / 459.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.527e-05/0.3908, allocations: 35.38 kB / 459.8 MB, free: 15.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003662/0.3912, allocations: 219.7 kB / 460 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3913, allocations: 44.56 kB / 460 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.3933, allocations: 0.7312 MB / 460.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.3933, allocations: 15.47 kB / 460.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3933, allocations: 1.094 kB / 460.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3933, allocations: 3.094 kB / 460.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.3961, allocations: 1.406 MB / 462.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.3961, allocations: 0.8438 kB / 462.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.3968, allocations: 136.4 kB / 462.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/0.397, allocations: 60 kB / 462.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.3971, allocations: 15.86 kB / 462.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.3985, allocations: 2.857 MB / 465.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3985, allocations: 1.875 kB / 465.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.401, allocations: 1.078 MB / 466.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.4013, allocations: 163.8 kB / 466.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.4013, allocations: 11.09 kB / 466.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.4019, allocations: 48.83 kB / 466.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.402, allocations: 42.64 kB / 466.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.4021, allocations: 19.69 kB / 466.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000266/0.4023, allocations: 223.5 kB / 466.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4023, allocations: 1.125 kB / 466.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008599/0.4032, allocations: 179.8 kB / 467 MB, free: 10.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.002808/0.406, allocations: 1.684 MB / 468.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.4081, allocations: 0.877 MB / 469.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4081, allocations: 4.062 kB / 469.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009619/0.409, allocations: 0.5181 MB / 470.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.4095, allocations: 47.66 kB / 470.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008778/0.4183, allocations: 5.15 MB / 475.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.4187, allocations: 0.8824 MB / 476.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003758/0.419, allocations: 90.89 kB / 476.3 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.4194, allocations: 226.2 kB / 476.5 MB, free: 4.836 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4194, allocations: 0 / 476.5 MB, free: 4.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06132/0.4807, allocations: 11.54 MB / 488 MB, free: 400 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.73, allocations: 11.88 kB / 488 MB, free: 388 kB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.409434729255736] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi.re', 'magFluxSensor.Phi.im', 'voltageSensor.v.re', 'voltageSensor.v.im'] 13.822864572051913 13.843241678 13.697525135 Calling exit ...