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.ForceCurrentBehaviour.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.001875/0.001875, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.002348/0.002348, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.564/1.564, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",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.002066/0.002066, allocations: 71.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1198, allocations: 53.32 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2491/0.3688, allocations: 6.563 MB / 433.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004553/0.3734, allocations: 2.395 MB / 436 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009592/0.3744, allocations: 21.53 kB / 436 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.3754, allocations: 367.2 kB / 436.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.377, allocations: 0.546 MB / 436.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.3781, allocations: 445 kB / 437.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.3803, allocations: 1.568 MB / 438.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006716/0.3809, allocations: 359.2 kB / 439.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.3823, allocations: 0.6064 MB / 439.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3834, allocations: 0.6851 MB / 440.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002613/0.3837, allocations: 160.3 kB / 440.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.3841, allocations: 200.2 kB / 440.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.3844, allocations: 328.9 kB / 441.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007041/0.3851, allocations: 0.6804 MB / 441.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.3879, allocations: 1.981 MB / 443.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3879, allocations: 2.172 kB / 443.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3879, allocations: 0 / 443.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.667e-05/0.388, allocations: 0 / 443.9 MB, free: 3.68 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003796/0.3918, allocations: 1.579 MB / 445.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.3918, allocations: 10 kB / 445.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.392, allocations: 153.9 kB / 445.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006498/0.3927, allocations: 165.7 kB / 445.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.3939, allocations: 0.7423 MB / 446.5 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/0.394, allocations: 73.53 kB / 446.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.3942, allocations: 102.2 kB / 446.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.3961, allocations: 0.9822 MB / 447.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.3962, allocations: 2.219 kB / 447.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-05/0.3962, allocations: 40.86 kB / 447.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.3963, allocations: 23.47 kB / 447.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.3981, allocations: 0.817 MB / 448.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006568/0.4047, allocations: 3.663 MB / 452.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.4069, allocations: 0.5857 MB / 452.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.4076, allocations: 289.6 kB / 453.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.019e-05/0.4077, allocations: 18.19 kB / 453.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.4077, allocations: 45.12 kB / 453.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 3.567e-06/0.4077, allocations: 1.25 kB / 453.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005166/0.4129, allocations: 1.677 MB / 454.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.413, allocations: 88.69 kB / 454.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.4147, allocations: 1.04 MB / 455.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/0.4148, allocations: 36.61 kB / 456 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005344/0.4153, allocations: 0.5645 MB / 456.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.4156, allocations: 238.5 kB / 456.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.4159, allocations: 165.9 kB / 456.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4161, allocations: 341.6 kB / 457.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008315/0.4169, allocations: 308.2 kB / 457.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.4179, allocations: 0.4916 MB / 458.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.4197, allocations: 0.7771 MB / 458.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.4197, allocations: 1.062 kB / 458.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002508/0.4222, allocations: 0.971 MB / 459.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.4222, allocations: 7.062 kB / 459.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.4222, allocations: 6.781 kB / 459.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.4222, allocations: 10.03 kB / 459.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.4235, allocations: 278.8 kB / 460.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.59e-05/0.4235, allocations: 13.88 kB / 460.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.4245, allocations: 53.2 kB / 460.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.4246, allocations: 38.05 kB / 460.2 MB, free: 10.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.00062/0.4252, allocations: 293.7 kB / 460.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.4255, allocations: 109.5 kB / 460.6 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009981/0.4265, allocations: 353.8 kB / 461 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.4266, allocations: 5.344 kB / 461 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.4266, allocations: 5.906 kB / 461 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.4266, allocations: 7.922 kB / 461 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.432, allocations: 2.291 MB / 463.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.432, allocations: 10.2 kB / 463.3 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/0.433, allocations: 203.6 kB / 463.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/0.433, allocations: 9.156 kB / 463.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.433, allocations: 28.02 kB / 463.5 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/0.4331, allocations: 13.28 kB / 463.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.4331, allocations: 11.59 kB / 463.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.4354, allocations: 1.029 MB / 464.6 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/0.4361, allocations: 198.5 kB / 464.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.4363, allocations: 19.31 kB / 464.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009614/0.4372, allocations: 54.39 kB / 464.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.4374, allocations: 69.84 kB / 464.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.4375, allocations: 29.95 kB / 464.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001291/0.4388, allocations: 0.7115 MB / 465.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4388, allocations: 0 / 465.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001117/0.4399, allocations: 220.9 kB / 465.9 MB, free: 6.324 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (67): * Single equations (assignments): 67 * 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.003807/0.4437, allocations: 1.854 MB / 467.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.4458, allocations: 0.6956 MB / 468.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/0.4458, allocations: 1.781 kB / 468.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008759/0.4467, allocations: 347.5 kB / 468.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.4485, allocations: 228.5 kB / 469 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/0.4649, allocations: 8.457 MB / 477.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008396/0.4657, allocations: 1.026 MB / 478.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007654/0.4665, allocations: 127.2 kB / 478.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006558/0.4671, allocations: 403.3 kB / 479 MB, free: 11.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.793e-06/0.4671, allocations: 0 / 479 MB, free: 11.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0647/0.5318, allocations: 20.93 MB / 499.9 MB, free: 7.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.22, allocations: 14.25 kB / 499.9 MB, free: 7.176 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv --start-time 0 --stop-time 6 --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_ForceCurrentBehaviour.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.970391258131713] Failed to read output from testmodel.py, exit status != 0: ['time', 'cActuator.flange.f', 'pmActuator.flange.f', 'pmActuator.coil.Phi', 'pmActuator.coil.L_stat'] 11.363031865097582 11.391500678 10.997791719 Calling exit ...