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.ToroidalCoreAirgap.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.001831/0.001831, allocations: 106.5 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.002174/0.002174, allocations: 213.2 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.ToroidalCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",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.002323/0.002323, allocations: 64.78 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3134, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004576/0.318, allocations: 2.863 MB / 434.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3197, allocations: 0.7906 MB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.3199, allocations: 7.938 kB / 435.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.3201, allocations: 63.42 kB / 435.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.3205, allocations: 99.19 kB / 435.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.3208, allocations: 111.8 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.3212, allocations: 394.5 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.3215, allocations: 99.33 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003576/0.3218, allocations: 163.4 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.3221, allocations: 171.2 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.545e-05/0.3221, allocations: 32 kB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.538e-05/0.3222, allocations: 32 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.3223, allocations: 75.77 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.3224, allocations: 179.1 kB / 437 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.3229, allocations: 398.3 kB / 437.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3229, allocations: 0 / 437.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3229, allocations: 0 / 437.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3229, allocations: 0 / 437.4 MB, free: 1.414 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.001204/0.3241, allocations: 0.5753 MB / 437.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3242, allocations: 12.03 kB / 437.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.382e-05/0.3242, allocations: 66.72 kB / 438 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.3243, allocations: 40.7 kB / 438.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.3247, allocations: 218.8 kB / 438.3 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.3248, allocations: 25.03 kB / 438.3 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.3248, allocations: 32.38 kB / 438.3 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.3254, allocations: 290.2 kB / 438.6 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3255, allocations: 3.938 kB / 438.6 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.3255, allocations: 12 kB / 438.6 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3255, allocations: 11.98 kB / 438.6 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006554/0.3262, allocations: 254.4 kB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.328, allocations: 1.045 MB / 439.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.3284, allocations: 150.5 kB / 440.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.3286, allocations: 64.83 kB / 440.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3286, allocations: 0 / 440.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.3287, allocations: 46.48 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.3287, allocations: 0 / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002161/0.3308, allocations: 0.5872 MB / 440.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.3309, allocations: 59.34 kB / 440.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.3312, allocations: 273.7 kB / 441.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.3313, allocations: 29.7 kB / 441.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.3314, allocations: 236 kB / 441.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.3315, allocations: 79.31 kB / 441.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3316, allocations: 65.44 kB / 441.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3318, allocations: 334.8 kB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.3321, allocations: 95.92 kB / 441.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.3324, allocations: 192.2 kB / 442.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.333, allocations: 305.1 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.333, allocations: 0 / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009101/0.334, allocations: 393.4 kB / 442.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.334, allocations: 8 kB / 442.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.334, allocations: 0 / 442.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.3343, allocations: 61.67 kB / 442.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.3346, allocations: 75.89 kB / 442.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.337, allocations: 2.63 MB / 445.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.3373, allocations: 23.94 kB / 445.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.3373, allocations: 20.11 kB / 445.6 MB, free: 8.598 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.0002014/0.3375, allocations: 151.8 kB / 445.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.3376, allocations: 27.84 kB / 445.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.963e-05/0.3377, allocations: 38.33 kB / 445.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3377, allocations: 0 / 445.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.3377, allocations: 4 kB / 445.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3377, allocations: 0 / 445.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.3381, allocations: 308.5 kB / 446.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3381, allocations: 0 / 446.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.3383, allocations: 43.89 kB / 446.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/0.3385, allocations: 53.69 kB / 446.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3385, allocations: 4 kB / 446.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.3407, allocations: 2.634 MB / 448.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3407, allocations: 0 / 448.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007846/0.3415, allocations: 376.8 kB / 449.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.3416, allocations: 27.84 kB / 449.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.3416, allocations: 4 kB / 449.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.3418, allocations: 19.92 kB / 449.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.3419, allocations: 19.97 kB / 449.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3419, allocations: 7.984 kB / 449.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002245/0.3422, allocations: 185.2 kB / 449.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3422, allocations: 4 kB / 449.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.3426, allocations: 68 kB / 449.5 MB, free: 4.336 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.001078/0.3437, allocations: 0.9119 MB / 450.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3447, allocations: 477 kB / 450.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3447, allocations: 0 / 450.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.3453, allocations: 338 kB / 451.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.3457, allocations: 36.48 kB / 451.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.3505, allocations: 2.95 MB / 454.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.3509, allocations: 0.7714 MB / 455 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.3511, allocations: 34.3 kB / 455 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.3512, allocations: 99.41 kB / 455.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3512, allocations: 0 / 455.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.3942, allocations: 5.831 MB / 461 MB, free: 8.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.4, allocations: 2.578 kB / 461 MB, free: 8.758 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_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_ToroidalCoreAirgap.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.973844609223306] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.493107308633626 11.522404704 11.194016037 Calling exit ...