Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001279/0.001279, allocations: 110.3 kB / 20.22 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.002106/0.002106, allocations: 218.6 kB / 23.48 MB, free: 5.258 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.487/1.487, allocations: 230.2 MB / 256.8 MB, free: 8.574 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.2313/0.2313, allocations: 46.88 MB / 360 MB, free: 4.727 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.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",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.002348/0.002348, allocations: 83.86 kB / 0.4951 GB, free: 8.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3305, allocations: 66 MB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004744/0.3353, allocations: 3.034 MB / 0.5625 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3369, allocations: 0.7906 MB / 0.5633 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.3372, allocations: 4 kB / 0.5633 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.3374, allocations: 63.38 kB / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.3376, allocations: 103 kB / 0.5634 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.338, allocations: 115.8 kB / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000598/0.3386, allocations: 470.6 kB / 0.564 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.3389, allocations: 116 kB / 0.5641 GB, free: 272 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.3393, allocations: 191.3 kB / 0.5643 GB, free: 80 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.3396, allocations: 203.1 kB / 0.5645 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.066e-05/0.3397, allocations: 40 kB / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3398, allocations: 44 kB / 0.5645 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3399, allocations: 91.67 kB / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.3401, allocations: 203 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006082/0.3407, allocations: 473.9 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3407, allocations: 4 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3407, allocations: 3.938 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.3408, allocations: 0 / 0.5653 GB, free: 15.04 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001593/0.3424, allocations: 0.7093 MB / 0.566 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3424, allocations: 8.031 kB / 0.566 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.837e-05/0.3425, allocations: 78.72 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.3428, allocations: 60.64 kB / 0.5661 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.3433, allocations: 291.5 kB / 0.5664 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.3434, allocations: 29.38 kB / 0.5664 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.3434, allocations: 36.38 kB / 0.5665 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007286/0.3442, allocations: 346.6 kB / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.3442, allocations: 4 kB / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.3442, allocations: 19.94 kB / 0.5668 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.3443, allocations: 8 kB / 0.5668 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006824/0.3449, allocations: 299.8 kB / 0.5671 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.3474, allocations: 1.341 MB / 0.5684 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.348, allocations: 265.7 kB / 0.5687 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.3483, allocations: 133.4 kB / 0.5688 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.3483, allocations: 288 / 0.5688 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.3484, allocations: 42.83 kB / 0.5688 GB, free: 11.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.202e-06/0.3484, allocations: 0 / 0.5688 GB, free: 11.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.000904/0.3493, allocations: 379.4 kB / 0.5692 GB, free: 10.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3493, allocations: 63.28 kB / 0.5693 GB, free: 10.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.3496, allocations: 266.7 kB / 0.5695 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.3497, allocations: 29.7 kB / 0.5695 GB, free: 10.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.3498, allocations: 212.3 kB / 0.5697 GB, free: 10.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.35, allocations: 119 kB / 0.5699 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.3501, allocations: 74.06 kB / 0.5699 GB, free: 10.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3503, allocations: 342.8 kB / 0.5703 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3505, allocations: 108.8 kB / 0.5704 GB, free: 9.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.3509, allocations: 167.5 kB / 0.5705 GB, free: 9.375 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.3515, allocations: 296.6 kB / 0.5708 GB, free: 9.062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3515, allocations: 15.88 kB / 0.5708 GB, free: 9.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007364/0.3522, allocations: 366.4 kB / 0.5712 GB, free: 8.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3522, allocations: 4 kB / 0.5712 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3522, allocations: 4 kB / 0.5712 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3523, allocations: 4 kB / 0.5712 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.3528, allocations: 104.1 kB / 0.5713 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.3528, allocations: 7.969 kB / 0.5713 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.3531, allocations: 39.73 kB / 0.5713 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.3531, allocations: 15.98 kB / 0.5713 GB, free: 8.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.3533, allocations: 153.7 kB / 0.5715 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.3534, allocations: 27.81 kB / 0.5715 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007364/0.3541, allocations: 333.1 kB / 0.5718 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.3541, allocations: 4 kB / 0.5718 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3541, allocations: 0 / 0.5718 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3541, allocations: 3.984 kB / 0.5718 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.3547, allocations: 405 kB / 0.5722 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3547, allocations: 0 / 0.5722 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.3551, allocations: 83.88 kB / 0.5723 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3551, allocations: 4 kB / 0.5723 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.3551, allocations: 4 kB / 0.5723 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3551, allocations: 4 kB / 0.5723 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3551, allocations: 4 kB / 0.5723 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009565/0.3561, allocations: 0.5145 MB / 0.5728 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.3562, allocations: 132.8 kB / 0.5729 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.3563, allocations: 4 kB / 0.573 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.3565, allocations: 12 kB / 0.573 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.3565, allocations: 24.03 kB / 0.573 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.3566, allocations: 11.98 kB / 0.573 GB, free: 6.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3568, allocations: 193.9 kB / 0.5732 GB, free: 6.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3568, allocations: 0 / 0.5732 GB, free: 6.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.3572, allocations: 91.84 kB / 0.5733 GB, free: 6.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.3585, allocations: 1.064 MB / 0.5743 GB, free: 5.336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006357/0.3591, allocations: 263.8 kB / 0.5746 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3591, allocations: 0 / 0.5746 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.3594, allocations: 124.4 kB / 0.5747 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.3598, allocations: 40.48 kB / 0.5747 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/0.3645, allocations: 3.14 MB / 0.5778 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.365, allocations: 0.7912 MB / 0.5786 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.3652, allocations: 42.94 kB / 0.5786 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.3654, allocations: 107.4 kB / 0.5787 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3654, allocations: 4 kB / 0.5787 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.3969, allocations: 5.762 MB / 0.5843 GB, free: 11.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.034/9.431, allocations: 7.422 kB / 0.5843 GB, free: 11.01 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_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_Force.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.426882581901737] Failed to read output from testmodel.py, exit status != 0: ['time', 'position.s', 'hollowCylinderAxialFlux.F_m', 'cuboidParallelFlux.F_m', 'cuboidOrthogonalFlux.F_m', 'hollowCylinderRadialFlux.F_m', 'leakageAroundPoles.F_m'] 9.504817156936042 9.52166685 9.177540119 Calling exit ...