Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001612/0.001612, allocations: 108.2 kB / 20.21 MB, free: 1.812 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.002191/0.002191, allocations: 220.3 kB / 23.48 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 230.2 MB / 256.8 MB, free: 8.59 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2331/0.2331, allocations: 46.89 MB / 360 MB, free: 4.746 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.00332/0.00332, allocations: 83.86 kB / 0.4951 GB, free: 8.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3905, allocations: 65.98 MB / 0.5595 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004358/0.3948, allocations: 2.519 MB / 0.562 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.397, allocations: 1.113 MB / 0.563 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.3972, allocations: 4 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.3987, allocations: 0.494 MB / 0.5635 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.3991, allocations: 111.2 kB / 0.5636 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.4002, allocations: 0.4902 MB / 0.5641 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.4005, allocations: 227 kB / 0.5643 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.401, allocations: 200.1 kB / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.4013, allocations: 99.64 kB / 0.5646 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.4015, allocations: 127.5 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.4016, allocations: 24 kB / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.402, allocations: 155.8 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.4021, allocations: 47.8 kB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.4022, allocations: 119.5 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006752/0.4029, allocations: 406.5 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4029, allocations: 0 / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4029, allocations: 0 / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.4029, allocations: 0 / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001491/0.4044, allocations: 0.6313 MB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4044, allocations: 8.031 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.267e-05/0.4045, allocations: 54.73 kB / 0.5661 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.4049, allocations: 52.77 kB / 0.5662 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.405, allocations: 196.1 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.4051, allocations: 20.92 kB / 0.5664 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.4051, allocations: 24.38 kB / 0.5664 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.4058, allocations: 295.5 kB / 0.5667 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4058, allocations: 0 / 0.5667 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.4058, allocations: 8 kB / 0.5667 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4058, allocations: 11.94 kB / 0.5667 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.4064, allocations: 225.6 kB / 0.5669 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.4081, allocations: 1.005 MB / 0.5679 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.4087, allocations: 353.9 kB / 0.5683 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.4091, allocations: 133.6 kB / 0.5684 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.4093, allocations: 170.2 kB / 0.5685 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.4093, allocations: 30.56 kB / 0.5686 GB, free: 11.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.4093, allocations: 0 / 0.5686 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001314/0.4106, allocations: 0.5014 MB / 0.5691 GB, free: 10.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.4107, allocations: 81.05 kB / 0.5691 GB, free: 10.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4109, allocations: 143.9 kB / 0.5693 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.4109, allocations: 25.81 kB / 0.5693 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.411, allocations: 144.3 kB / 0.5694 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.4111, allocations: 75.31 kB / 0.5695 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.4112, allocations: 45.7 kB / 0.5696 GB, free: 10.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.4114, allocations: 318.8 kB / 0.5699 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.4116, allocations: 75.97 kB / 0.5699 GB, free: 9.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.4119, allocations: 122 kB / 0.57 GB, free: 9.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005022/0.4124, allocations: 205.8 kB / 0.5702 GB, free: 9.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4124, allocations: 0 / 0.5702 GB, free: 9.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007264/0.4131, allocations: 278.9 kB / 0.5705 GB, free: 9.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.4131, allocations: 12.19 kB / 0.5705 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4131, allocations: 0 / 0.5705 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.4134, allocations: 53.67 kB / 0.5706 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.4136, allocations: 43.91 kB / 0.5706 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.4161, allocations: 2.833 MB / 0.5734 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.4163, allocations: 27.83 kB / 0.5734 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.4163, allocations: 11.94 kB / 0.5734 GB, free: 6.004 MB / 414.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 (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): 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.0001647/0.4165, allocations: 145.7 kB / 0.5736 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.4165, allocations: 12.02 kB / 0.5736 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007008/0.4172, allocations: 260.2 kB / 0.5738 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.4172, allocations: 4 kB / 0.5738 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4173, allocations: 4 kB / 0.5738 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4173, allocations: 0 / 0.5738 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.4185, allocations: 0.6535 MB / 0.5745 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4185, allocations: 0 / 0.5745 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.4187, allocations: 43.91 kB / 0.5745 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/0.4188, allocations: 45.69 kB / 0.5746 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.4188, allocations: 8 kB / 0.5746 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.4211, allocations: 2.844 MB / 0.5773 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4211, allocations: 4.031 kB / 0.5773 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009461/0.4221, allocations: 0.5164 MB / 0.5778 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.4221, allocations: 89.05 kB / 0.5779 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.4221, allocations: 4 kB / 0.5779 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.4223, allocations: 23.98 kB / 0.578 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.4224, allocations: 23.97 kB / 0.578 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.4224, allocations: 4 kB / 0.578 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.4225, allocations: 109.7 kB / 0.5781 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4225, allocations: 3.938 kB / 0.5781 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004644/0.423, allocations: 75.78 kB / 0.5782 GB, free: 0.7266 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.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 (15): * Single equations (assignments): 13 * 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.001407/0.4244, allocations: 1.078 MB / 0.5792 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008606/0.4252, allocations: 417.1 kB / 0.5796 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4252, allocations: 0 / 0.5796 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.4257, allocations: 329.6 kB / 0.5799 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.4261, allocations: 20 kB / 0.5799 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.4299, allocations: 2.348 MB / 0.5822 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.4303, allocations: 0.7321 MB / 0.583 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.118e-05/0.4304, allocations: 17.42 kB / 0.583 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.4305, allocations: 59.42 kB / 0.583 GB, free: 11.49 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4305, allocations: 0 / 0.583 GB, free: 11.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.4682, allocations: 4.433 MB / 0.5874 GB, free: 7.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.6, allocations: 0 / 0.5874 GB, free: 7.141 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.631445078994147] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.abs_V_m', 'reluctance.abs_Phi', 'permeance.abs_V_m', 'permeance.abs_Phi', 'magFluxSource.gamma'] 10.686560722999275 10.701565934 10.295380270999999 Calling exit ...