Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.00129/0.00129, 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.001407/0.001407, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2358/0.2358, allocations: 46.92 MB / 361.6 MB, free: 4.211 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.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",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.002275/0.002275, allocations: 75.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.351, allocations: 66.09 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007189/0.3582, allocations: 5.366 MB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.3614, allocations: 1.67 MB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.3617, allocations: 20 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003664/0.3654, allocations: 1.606 MB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008597/0.3662, allocations: 313.7 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3674, allocations: 0.5291 MB / 0.5708 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009359/0.3683, allocations: 0.8046 MB / 0.5716 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009881/0.3693, allocations: 0.6331 MB / 0.5722 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.3698, allocations: 358.7 kB / 0.5725 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006131/0.3704, allocations: 458.2 kB / 0.573 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.3705, allocations: 76 kB / 0.573 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.3709, allocations: 199.9 kB / 0.5732 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.3711, allocations: 175.3 kB / 0.5734 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.3715, allocations: 421.9 kB / 0.5738 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.3729, allocations: 1.183 MB / 0.575 GB, free: 6.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3729, allocations: 0 / 0.575 GB, free: 6.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3729, allocations: 0 / 0.575 GB, free: 6.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.3729, allocations: 0 / 0.575 GB, free: 6.473 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003352/0.3763, allocations: 1.304 MB / 0.5762 GB, free: 5.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3763, allocations: 8.031 kB / 0.5762 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.3765, allocations: 152.4 kB / 0.5764 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.3781, allocations: 232.2 kB / 0.5766 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3783, allocations: 198 kB / 0.5768 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/0.3784, allocations: 74.38 kB / 0.5769 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.3786, allocations: 103.9 kB / 0.577 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.3802, allocations: 0.9437 MB / 0.5779 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.3802, allocations: 11.95 kB / 0.5779 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.3803, allocations: 39.98 kB / 0.5779 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.3803, allocations: 24 kB / 0.578 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.3817, allocations: 0.7223 MB / 0.5787 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/0.387, allocations: 3.688 MB / 0.5823 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.3887, allocations: 0.7738 MB / 0.583 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/0.3891, allocations: 268.4 kB / 0.5833 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.3892, allocations: 32.28 kB / 0.5833 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.3892, allocations: 38.89 kB / 0.5833 GB, free: 13.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.164e-06/0.3892, allocations: 0 / 0.5833 GB, free: 13.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002736/0.392, allocations: 1.017 MB / 0.5843 GB, free: 12.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.3921, allocations: 140.5 kB / 0.5845 GB, free: 12.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.3925, allocations: 316.1 kB / 0.5848 GB, free: 11.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.3925, allocations: 37.7 kB / 0.5848 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.3928, allocations: 411.8 kB / 0.5852 GB, free: 11.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.393, allocations: 238 kB / 0.5854 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.3932, allocations: 146.6 kB / 0.5856 GB, free: 11.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3934, allocations: 362.7 kB / 0.5859 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.3938, allocations: 197.9 kB / 0.5861 GB, free: 10.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.3944, allocations: 396.6 kB / 0.5865 GB, free: 10.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.3954, allocations: 0.622 MB / 0.5871 GB, free: 9.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.3954, allocations: 4 kB / 0.5871 GB, free: 9.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001657/0.397, allocations: 0.8734 MB / 0.5879 GB, free: 8.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3971, allocations: 8 kB / 0.588 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3971, allocations: 8 kB / 0.588 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.3977, allocations: 223.7 kB / 0.5882 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.3982, allocations: 143.7 kB / 0.5883 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006574/0.4048, allocations: 6.304 MB / 0.5945 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005987/0.4054, allocations: 83.39 kB / 0.5945 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.4055, allocations: 32 kB / 0.5946 GB, free: 1.227 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000417/0.4059, allocations: 226.5 kB / 0.5948 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.406, allocations: 43.72 kB / 0.5948 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.4074, allocations: 0.6996 MB / 0.5955 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.4074, allocations: 8 kB / 0.5955 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4074, allocations: 4 kB / 0.5955 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.4074, allocations: 3.984 kB / 0.5955 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.4101, allocations: 1.53 MB / 0.597 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4101, allocations: 4 kB / 0.597 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.4104, allocations: 63.91 kB / 0.5971 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005574/0.411, allocations: 215.2 kB / 0.5973 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.411, allocations: 20 kB / 0.5973 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/0.4173, allocations: 6.297 MB / 0.6035 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4173, allocations: 0 / 0.6035 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.419, allocations: 1.187 MB / 0.6046 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4192, allocations: 51.66 kB / 0.6047 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.4192, allocations: 15.94 kB / 0.6047 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.4196, allocations: 16.06 kB / 0.6047 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.4197, allocations: 67.7 kB / 0.6048 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.4197, allocations: 16 kB / 0.6048 GB, free: 6.184 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002735/0.42, allocations: 215.1 kB / 0.605 GB, free: 5.973 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.42, allocations: 0 / 0.605 GB, free: 5.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001014/0.421, allocations: 283.3 kB / 0.6053 GB, free: 5.695 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00219/0.4232, allocations: 1.769 MB / 0.607 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.4249, allocations: 1.049 MB / 0.608 GB, free: 2.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4249, allocations: 0 / 0.608 GB, free: 2.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009576/0.4259, allocations: 0.7604 MB / 0.6088 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.4266, allocations: 40.59 kB / 0.6088 GB, free: 1.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007746/0.4343, allocations: 5.126 MB / 0.6138 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.4349, allocations: 0.9188 MB / 0.6147 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.4352, allocations: 72.53 kB / 0.6148 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.4355, allocations: 231.4 kB / 0.615 GB, free: 11.29 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4355, allocations: 0 / 0.615 GB, free: 11.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05598/0.4915, allocations: 12.49 MB / 0.6272 GB, free: 14.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.37, allocations: 9.625 kB / 0.6272 GB, free: 14.91 MB / 478.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.381738128140569] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSource1.port_p.reference.gamma', 'quarterHollowSphere.port_p.reference.gamma'] 11.465785411186516 11.497187315 11.118615533 Calling exit ...