Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001711/0.001711, 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.00213/0.00213, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002208/0.002208, allocations: 59.91 kB / 378.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2829, allocations: 53.38 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00749/0.2904, allocations: 4.722 MB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004379/0.2948, allocations: 2.01 MB / 438.6 MB, free: 156 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.2956, allocations: 15.94 kB / 438.7 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.2966, allocations: 426.2 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.2981, allocations: 465.5 kB / 439.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009057/0.299, allocations: 331.4 kB / 439.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.3004, allocations: 1.042 MB / 440.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.3008, allocations: 208.2 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006654/0.3015, allocations: 442.6 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007793/0.3023, allocations: 0.5371 MB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.3024, allocations: 100 kB / 442.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.3027, allocations: 124 kB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.3029, allocations: 239.2 kB / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004823/0.3034, allocations: 469.6 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.305, allocations: 1.299 MB / 444.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.305, allocations: 0 / 444.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.305, allocations: 0 / 444.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.305, allocations: 4 kB / 444.3 MB, free: 10.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00252/0.3076, allocations: 1.17 MB / 445.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.3076, allocations: 8.031 kB / 445.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/0.3078, allocations: 102.7 kB / 445.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/0.3083, allocations: 136.2 kB / 445.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3094, allocations: 0.5151 MB / 446.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.3094, allocations: 45.31 kB / 446.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3095, allocations: 63.98 kB / 446.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.3108, allocations: 0.6323 MB / 447 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3108, allocations: 0 / 447 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/0.3109, allocations: 24 kB / 447 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.3109, allocations: 16 kB / 447 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.3121, allocations: 0.5166 MB / 447.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004327/0.3164, allocations: 2.476 MB / 450 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.3174, allocations: 442.1 kB / 450.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.318, allocations: 270 kB / 450.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.524e-05/0.3181, allocations: 12.36 kB / 450.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.3181, allocations: 39 kB / 450.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.725e-06/0.3181, allocations: 0 / 450.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004507/0.3226, allocations: 1.46 MB / 452.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.3227, allocations: 64.06 kB / 452.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.3241, allocations: 0.9615 MB / 453.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.3241, allocations: 37.7 kB / 453.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.3245, allocations: 416.7 kB / 453.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.3247, allocations: 230 kB / 453.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.3249, allocations: 114.6 kB / 454 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3251, allocations: 334 kB / 454.3 MB, free: 184 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.3257, allocations: 229.9 kB / 454.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/0.3263, allocations: 327 kB / 454.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.3275, allocations: 0.5483 MB / 455.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.3275, allocations: 3.938 kB / 455.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001582/0.329, allocations: 0.7075 MB / 456.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3291, allocations: 8 kB / 456.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3291, allocations: 0 / 456.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.3291, allocations: 8 kB / 456.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/0.3299, allocations: 176 kB / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.3299, allocations: 4 kB / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.3305, allocations: 35.97 kB / 456.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.3305, allocations: 20 kB / 456.4 MB, free: 14.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * 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.0004253/0.3309, allocations: 273.6 kB / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.3311, allocations: 87.38 kB / 456.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.3325, allocations: 0.6149 MB / 457.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.3325, allocations: 8 kB / 457.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3325, allocations: 0 / 457.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.3325, allocations: 3.984 kB / 457.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.3358, allocations: 1.756 MB / 459.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.3358, allocations: 4 kB / 459.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.3364, allocations: 128.1 kB / 459.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.3364, allocations: 11.98 kB / 459.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.3364, allocations: 12 kB / 459.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/0.3364, allocations: 12 kB / 459.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3364, allocations: 0 / 459.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.3378, allocations: 0.7338 MB / 460 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.3382, allocations: 135.4 kB / 460.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.825e-05/0.3383, allocations: 12 kB / 460.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.3387, allocations: 27.98 kB / 460.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.3389, allocations: 56.22 kB / 460.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.3389, allocations: 24 kB / 460.3 MB, free: 9.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009525/0.3399, allocations: 0.6982 MB / 461 MB, free: 9.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3399, allocations: 0 / 461 MB, free: 9.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006276/0.3405, allocations: 152 kB / 461.1 MB, free: 9.148 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.002884/0.3434, allocations: 1.54 MB / 462.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.3448, allocations: 0.523 MB / 463.2 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3448, allocations: 0 / 463.2 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.3454, allocations: 259.1 kB / 463.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.3463, allocations: 143.4 kB / 463.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.3573, allocations: 6.537 MB / 470.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.358, allocations: 0.9669 MB / 471.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004802/0.3585, allocations: 97.12 kB / 471.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/0.359, allocations: 303.3 kB / 471.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.359, allocations: 0 / 471.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05152/0.4105, allocations: 16.57 MB / 488 MB, free: 14.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.43, allocations: 11.8 kB / 488 MB, free: 14.17 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv --start-time -4 --stop-time 4 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.098721933085471] Failed to read output from testmodel.py, exit status != 0: ['time', 'feedX.flange.f', 'actuator.g_ma.G_m', 'actuator.g_mb.G_m', 'actuator.L'] 10.5795224532485 10.598967309 10.289388614 Calling exit ...