Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.00147/0.00147, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001469/0.001469, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.493/1.493, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2289/0.2289, allocations: 46.93 MB / 361.6 MB, free: 4.289 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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",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.002456/0.002456, allocations: 91.84 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3241, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004343/0.3285, allocations: 2.508 MB / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3301, allocations: 0.8451 MB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3302, allocations: 8 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.3304, allocations: 55.52 kB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.3307, allocations: 109.1 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.331, allocations: 99.86 kB / 0.565 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.3314, allocations: 354.7 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.3316, allocations: 80.89 kB / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.3319, allocations: 139.5 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.3321, allocations: 167.2 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.3322, allocations: 28 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.3323, allocations: 32 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.3323, allocations: 71.75 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3325, allocations: 151.2 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.333, allocations: 378.4 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.333, allocations: 0 / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.333, allocations: 0 / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.333, allocations: 4 kB / 0.5664 GB, free: 15.3 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.001116/0.3341, allocations: 0.5635 MB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3342, allocations: 12.02 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.496e-05/0.3342, allocations: 54.73 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.3344, allocations: 44.64 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.3347, allocations: 209 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.3347, allocations: 24.81 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.3348, allocations: 24.38 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.3353, allocations: 256.1 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3353, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.3354, allocations: 12 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3354, allocations: 8 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/0.3359, allocations: 233.8 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.3374, allocations: 0.8431 MB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.3379, allocations: 274.1 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.3382, allocations: 128.8 kB / 0.569 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.3383, allocations: 7.984 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.3383, allocations: 46.47 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.293e-06/0.3383, allocations: 0 / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004668/0.343, allocations: 0.9528 MB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.343, allocations: 55.41 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.3433, allocations: 237 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.3434, allocations: 29.7 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.3435, allocations: 165.3 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.927e-05/0.3436, allocations: 115 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3437, allocations: 53.7 kB / 0.5706 GB, free: 10.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3439, allocations: 334.8 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.3441, allocations: 99.94 kB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.3444, allocations: 118.8 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.3449, allocations: 231.3 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3449, allocations: 0 / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001956/0.3468, allocations: 0.5412 MB / 0.5719 GB, free: 9.441 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3469, allocations: 10.44 kB / 0.5719 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3469, allocations: 4 kB / 0.5719 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.3487, allocations: 315.1 kB / 0.5722 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.3489, allocations: 23.97 kB / 0.5722 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008265/0.3571, allocations: 6.447 MB / 0.5785 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.3574, allocations: 31.92 kB / 0.5785 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3574, allocations: 12 kB / 0.5785 GB, free: 2.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.3576, allocations: 142.6 kB / 0.5787 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.3577, allocations: 27.81 kB / 0.5787 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.3596, allocations: 0.5501 MB / 0.5792 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3596, allocations: 4 kB / 0.5792 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3596, allocations: 3.938 kB / 0.5792 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3596, allocations: 3.984 kB / 0.5793 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.36, allocations: 328.4 kB / 0.5796 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.36, allocations: 4 kB / 0.5796 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.3602, allocations: 23.98 kB / 0.5796 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.3618, allocations: 307.2 kB / 0.5799 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.3618, allocations: 4 kB / 0.5799 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008117/0.3699, allocations: 6.496 MB / 0.5862 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.37, allocations: 0 / 0.5862 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.3719, allocations: 0.6206 MB / 0.5868 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.372, allocations: 31.69 kB / 0.5869 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.372, allocations: 7.984 kB / 0.5869 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.3722, allocations: 12 kB / 0.5869 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.3723, allocations: 35.92 kB / 0.5869 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3724, allocations: 8 kB / 0.5869 GB, free: 8.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.3726, allocations: 169.2 kB / 0.5871 GB, free: 8.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3726, allocations: 3.938 kB / 0.5871 GB, free: 8.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005452/0.3731, allocations: 123.9 kB / 0.5872 GB, free: 8.68 MB / 430.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 (11): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002226/0.3753, allocations: 1.156 MB / 0.5883 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.3765, allocations: 0.7406 MB / 0.5891 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3765, allocations: 3.938 kB / 0.5891 GB, free: 6.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.3779, allocations: 0.7177 MB / 0.5898 GB, free: 5.918 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3782, allocations: 28.5 kB / 0.5898 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006763/0.385, allocations: 3.183 MB / 0.5929 GB, free: 2.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.3854, allocations: 0.7755 MB / 0.5937 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.052e-05/0.3855, allocations: 9.953 kB / 0.5937 GB, free: 1.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.3856, allocations: 79.41 kB / 0.5937 GB, free: 1.691 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3856, allocations: 0 / 0.5937 GB, free: 1.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05368/0.4393, allocations: 11.33 MB / 0.6048 GB, free: 6.488 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.24, allocations: 8.75 kB / 0.6048 GB, free: 6.484 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.197449279017746] Failed to read output from testmodel.py, exit status != 0: ['time', 'signalSource.V_m', 'signalSource.Phi', 'cuboid.G_m', 'cuboid.A', 'hollowCylinderAxialFlux.G_m', 'hollowCylinderAxialFlux.A', 'hollowCylinderRadialFlux.G_m', 'hollowCylinderRadialFlux.A', 'genericFluxTube.G_m', 'genericFluxTube.A'] 13.34196359384805 13.368060009 13.030285441 Calling exit ...