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.001619/0.001619, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001983/0.001983, allocations: 209.7 kB / 24.54 MB, free: 4.055 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.468/1.468, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2309/0.2309, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.002407/0.002407, allocations: 83.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3373, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004481/0.3418, allocations: 3.032 MB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3433, allocations: 0.7984 MB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.3434, allocations: 4 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.3436, allocations: 59.39 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.3439, allocations: 103 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.3442, allocations: 115.8 kB / 0.5655 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005324/0.3447, allocations: 474.5 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.345, allocations: 116.4 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.3453, allocations: 191.3 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.3456, allocations: 207.1 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.3456, allocations: 40 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.029e-05/0.3457, allocations: 40 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.3458, allocations: 91.67 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.346, allocations: 210.9 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.3465, allocations: 474 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3465, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3465, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3465, allocations: 0 / 0.5673 GB, free: 14.38 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.001397/0.3479, allocations: 0.634 MB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.348, allocations: 12.03 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.611e-05/0.348, allocations: 74.72 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.3483, allocations: 64.64 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.3488, allocations: 230 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.3488, allocations: 29.38 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.3488, allocations: 36.38 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.3495, allocations: 354.5 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3495, allocations: 4 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.3496, allocations: 12 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.3496, allocations: 12 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.3502, allocations: 307.8 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.3526, allocations: 1.291 MB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.3531, allocations: 260.8 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.3534, allocations: 137.4 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.3534, allocations: 4.281 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3535, allocations: 34.84 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.3535, allocations: 0 / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008748/0.3543, allocations: 375.5 kB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3544, allocations: 59.34 kB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.3547, allocations: 265.8 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3547, allocations: 29.7 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.3549, allocations: 216.3 kB / 0.5716 GB, free: 9.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.355, allocations: 119 kB / 0.5717 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3551, allocations: 78.08 kB / 0.5718 GB, free: 9.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3552, allocations: 338.8 kB / 0.5721 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3555, allocations: 104.8 kB / 0.5722 GB, free: 9.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.3558, allocations: 167.5 kB / 0.5723 GB, free: 8.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.3564, allocations: 296.7 kB / 0.5726 GB, free: 8.629 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3564, allocations: 3.938 kB / 0.5726 GB, free: 8.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000689/0.357, allocations: 374.3 kB / 0.573 GB, free: 8.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3571, allocations: 4 kB / 0.573 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3571, allocations: 4 kB / 0.573 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.3571, allocations: 8.219 kB / 0.573 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.3576, allocations: 103.8 kB / 0.5731 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3576, allocations: 3.938 kB / 0.5731 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.3579, allocations: 47.72 kB / 0.5731 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3579, allocations: 12 kB / 0.5732 GB, free: 8.074 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.0001721/0.3581, allocations: 150.6 kB / 0.5733 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.3581, allocations: 27.81 kB / 0.5733 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006794/0.3588, allocations: 325.2 kB / 0.5736 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3588, allocations: 4 kB / 0.5736 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3588, allocations: 4 kB / 0.5736 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.3588, allocations: 3.984 kB / 0.5736 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.3593, allocations: 380.1 kB / 0.574 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3593, allocations: 3.938 kB / 0.574 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.3598, allocations: 83.94 kB / 0.5741 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3598, allocations: 0 / 0.5741 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.3598, allocations: 8 kB / 0.5741 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.3598, allocations: 7.984 kB / 0.5741 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3598, allocations: 3.938 kB / 0.5741 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.3607, allocations: 0.5108 MB / 0.5746 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3609, allocations: 51.75 kB / 0.5747 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.3609, allocations: 11.94 kB / 0.5747 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3611, allocations: 16.05 kB / 0.5747 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.3612, allocations: 19.97 kB / 0.5747 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3612, allocations: 7.984 kB / 0.5747 GB, free: 6.402 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.3615, allocations: 197.2 kB / 0.5749 GB, free: 6.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3615, allocations: 3.938 kB / 0.5749 GB, free: 6.203 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003833/0.3618, allocations: 87.84 kB / 0.575 GB, free: 6.117 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.001347/0.3632, allocations: 1.067 MB / 0.576 GB, free: 5.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006692/0.3639, allocations: 251.6 kB / 0.5763 GB, free: 4.777 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3639, allocations: 4.5 kB / 0.5763 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.3641, allocations: 131.8 kB / 0.5764 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3645, allocations: 24.5 kB / 0.5764 GB, free: 4.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.3692, allocations: 3.149 MB / 0.5795 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3697, allocations: 0.7874 MB / 0.5803 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.3698, allocations: 38.95 kB / 0.5803 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.37, allocations: 107.4 kB / 0.5804 GB, free: 408 kB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.37, allocations: 0 / 0.5804 GB, free: 408 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.3993, allocations: 5.992 MB / 0.5863 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.037/9.436, allocations: 7.938 kB / 0.5863 GB, free: 10.49 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.398313306737691] 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.514129038900137 9.541926684 9.190090607 Calling exit ...