Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001874/0.001874, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002942/0.002942, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_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.003053/0.003053, allocations: 56.78 kB / 378.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3509, allocations: 53.37 MB / 431.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00487/0.3558, allocations: 2.892 MB / 434.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3575, allocations: 0.8099 MB / 435.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.3577, allocations: 4 kB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.358, allocations: 63.38 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.3584, allocations: 103.2 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.3587, allocations: 107.9 kB / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000488/0.3592, allocations: 402.4 kB / 436.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.3594, allocations: 95.34 kB / 436.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003716/0.3598, allocations: 163.4 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.36, allocations: 175.2 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.3601, allocations: 36 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.3601, allocations: 39.94 kB / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.3602, allocations: 75.77 kB / 436.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.3604, allocations: 179 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.3609, allocations: 411 kB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3609, allocations: 0 / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3609, allocations: 0 / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3609, allocations: 0 / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001308/0.3623, allocations: 0.5869 MB / 438 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.3623, allocations: 12.03 kB / 438 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.616e-05/0.3624, allocations: 70.72 kB / 438.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.3625, allocations: 40.7 kB / 438.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.3629, allocations: 225.7 kB / 438.4 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.3629, allocations: 29.03 kB / 438.4 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.363, allocations: 28.38 kB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.3636, allocations: 290.2 kB / 438.7 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3636, allocations: 0 / 438.7 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.3637, allocations: 16 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.3637, allocations: 11.98 kB / 438.7 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.3643, allocations: 258.4 kB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.3662, allocations: 1.041 MB / 440 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.3666, allocations: 146.5 kB / 440.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.3668, allocations: 64.81 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.3669, allocations: 7.984 kB / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3669, allocations: 38.5 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.274e-06/0.3669, allocations: 0 / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002153/0.3691, allocations: 0.5869 MB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.3691, allocations: 51.41 kB / 440.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.3695, allocations: 304 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3695, allocations: 25.7 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.3697, allocations: 228.1 kB / 441.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.3698, allocations: 87.3 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3699, allocations: 61.66 kB / 441.6 MB, free: 13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3701, allocations: 342.8 kB / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.3704, allocations: 95.92 kB / 442 MB, free: 12.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.3707, allocations: 192 kB / 442.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.3714, allocations: 313.1 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3714, allocations: 0 / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009057/0.3723, allocations: 397.4 kB / 442.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3723, allocations: 7.938 kB / 442.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.3723, allocations: 4 kB / 442.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.3727, allocations: 61.67 kB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.373, allocations: 71.89 kB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.3754, allocations: 2.638 MB / 445.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.3757, allocations: 20.17 kB / 445.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.3758, allocations: 12 kB / 445.7 MB, free: 8.527 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.000202/0.376, allocations: 161.6 kB / 445.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.376, allocations: 35.86 kB / 445.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.762e-05/0.3761, allocations: 34.3 kB / 445.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3761, allocations: 0 / 445.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3761, allocations: 4 kB / 446 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3761, allocations: 0 / 446 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.3765, allocations: 304.5 kB / 446.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3765, allocations: 4 kB / 446.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.3768, allocations: 39.91 kB / 446.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/0.3769, allocations: 61.67 kB / 446.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.377, allocations: 0 / 446.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.3792, allocations: 2.627 MB / 449 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3792, allocations: 4 kB / 449 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/0.38, allocations: 378.9 kB / 449.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.3801, allocations: 31.81 kB / 449.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.3801, allocations: 3.984 kB / 449.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.3803, allocations: 15.98 kB / 449.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.3804, allocations: 19.97 kB / 449.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3804, allocations: 8 kB / 449.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002407/0.3807, allocations: 199.1 kB / 449.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3807, allocations: 3.938 kB / 449.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000429/0.3811, allocations: 76 kB / 449.7 MB, free: 4.238 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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.001079/0.3822, allocations: 0.9119 MB / 450.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.3832, allocations: 469 kB / 451.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3832, allocations: 0 / 451.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.3838, allocations: 350 kB / 451.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.3842, allocations: 24.92 kB / 451.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.3891, allocations: 3.033 MB / 454.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.3896, allocations: 0.7791 MB / 455.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.3897, allocations: 30.36 kB / 455.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.3899, allocations: 103.4 kB / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.492e-06/0.3899, allocations: 4 kB / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04096/0.4309, allocations: 5.979 MB / 461.4 MB, free: 8.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.31, allocations: 4.734 kB / 461.4 MB, free: 8.441 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.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_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.905451226979494] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.405412272084504 11.432885474 11.067223691 Calling exit ...