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.SaturatedInductor.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.001884/0.001884, 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.002182/0.002182, 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.555/1.555, 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.SaturatedInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",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.00238/0.00238, allocations: 64.77 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2824, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.005064/0.2874, allocations: 2.813 MB / 434.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.2894, allocations: 0.9579 MB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.2896, allocations: 11.94 kB / 435.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.2899, allocations: 55.5 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.2902, allocations: 123.1 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.2907, allocations: 103.8 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.2912, allocations: 354.7 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.2914, allocations: 89.89 kB / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.2917, allocations: 143.4 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.292, allocations: 155.3 kB / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.292, allocations: 28 kB / 436.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.437e-05/0.2921, allocations: 36 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.2922, allocations: 63.77 kB / 436.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.2924, allocations: 163.2 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.293, allocations: 366.5 kB / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.293, allocations: 0 / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.293, allocations: 0 / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.293, allocations: 0 / 437.3 MB, free: 1.418 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001156/0.2941, allocations: 0.5364 MB / 437.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.2942, allocations: 12.03 kB / 437.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.977e-05/0.2943, allocations: 70.66 kB / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.2945, allocations: 48.73 kB / 438 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.2949, allocations: 210.9 kB / 438.2 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.2949, allocations: 17.03 kB / 438.2 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.295, allocations: 28.38 kB / 438.3 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/0.2956, allocations: 254.1 kB / 438.5 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2956, allocations: 0 / 438.5 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.2956, allocations: 12 kB / 438.5 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2956, allocations: 8 kB / 438.5 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.2962, allocations: 210.5 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.298, allocations: 0.9675 MB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.2984, allocations: 186.5 kB / 439.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.2987, allocations: 100.8 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.2987, allocations: 4 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.2988, allocations: 38.55 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.2988, allocations: 0 / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005431/0.3042, allocations: 1.401 MB / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.3043, allocations: 55.41 kB / 441.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.3046, allocations: 236.9 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.3046, allocations: 29.7 kB / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.3048, allocations: 188.4 kB / 441.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.3049, allocations: 130.9 kB / 442 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.305, allocations: 66.08 kB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3052, allocations: 338.8 kB / 442.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.3055, allocations: 108.7 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.3058, allocations: 161.4 kB / 442.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.3065, allocations: 291.6 kB / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3065, allocations: 0 / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001705/0.3082, allocations: 0.5296 MB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3082, allocations: 11.94 kB / 443.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3082, allocations: 0 / 443.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.3095, allocations: 241.5 kB / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.3098, allocations: 63.91 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005756/0.3156, allocations: 3.927 MB / 447.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.3159, allocations: 12 kB / 447.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.3159, allocations: 12 kB / 447.8 MB, free: 6.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002529/0.3162, allocations: 157.8 kB / 447.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.3162, allocations: 23.86 kB / 448 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/0.3163, allocations: 42.91 kB / 448 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3163, allocations: 4 kB / 448 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.3164, allocations: 7.984 kB / 448 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3164, allocations: 0 / 448 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.3187, allocations: 0.9531 MB / 449 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.3187, allocations: 3.984 kB / 449 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.319, allocations: 43.92 kB / 449 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.3202, allocations: 241.5 kB / 449.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.3202, allocations: 16 kB / 449.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005405/0.3257, allocations: 3.915 MB / 453.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3257, allocations: 0 / 453.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.3277, allocations: 0.7173 MB / 453.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.519e-05/0.3277, allocations: 19.89 kB / 453.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.3278, allocations: 11.94 kB / 453.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.328, allocations: 15.98 kB / 453.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.3281, allocations: 35.88 kB / 454 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.3281, allocations: 8 kB / 454 MB, free: 15.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.3283, allocations: 168.5 kB / 454.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3283, allocations: 8.062 kB / 454.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006294/0.329, allocations: 100 kB / 454.3 MB, free: 15.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002341/0.3313, allocations: 1.277 MB / 455.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.3325, allocations: 0.5442 MB / 456.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3325, allocations: 4.125 kB / 456.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006729/0.3332, allocations: 421 kB / 456.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3335, allocations: 24.44 kB / 456.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006695/0.3402, allocations: 3.377 MB / 459.9 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.3408, allocations: 0.7762 MB / 460.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.3409, allocations: 26.28 kB / 460.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.341, allocations: 91.39 kB / 460.8 MB, free: 8.859 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.341, allocations: 192 / 460.8 MB, free: 8.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/0.3891, allocations: 8.804 MB / 469.6 MB, free: 204 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.44, allocations: 8.062 kB / 469.6 MB, free: 196 kB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.111749139148742] Failed to read output from testmodel.py, exit status != 0: ['time', 'coil.i', 'coil.Phi', 'r_mLeak.port_p.Phi', 'r_mFe.mu_r', 'r_mFe.B', 'r_mFe.H'] 13.545985898002982 13.562445067 13.265832057999999 Calling exit ...