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.001344/0.001344, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001464/0.001464, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.583/1.583, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.002063/0.002063, allocations: 63.83 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1237, allocations: 53.34 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.008005/0.1317, allocations: 4.691 MB / 431.7 MB, free: 76 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2478/0.3795, allocations: 1.984 MB / 433.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/0.3801, allocations: 15.75 kB / 433.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009817/0.381, allocations: 427.8 kB / 434.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009978/0.382, allocations: 472.1 kB / 434.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.3827, allocations: 319.7 kB / 434.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.3839, allocations: 1.037 MB / 435.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000508/0.3844, allocations: 206.7 kB / 436.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00068/0.3851, allocations: 436.9 kB / 436.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.3858, allocations: 0.5378 MB / 437.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.386, allocations: 97.91 kB / 437.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.3863, allocations: 133.4 kB / 437.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.3865, allocations: 239.2 kB / 437.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.3869, allocations: 467 kB / 438 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.3887, allocations: 1.303 MB / 439.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3887, allocations: 0 / 439.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3887, allocations: 1.875 kB / 439.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.96e-05/0.3888, allocations: 4 kB / 439.3 MB, free: 5.922 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.002365/0.3911, allocations: 1.232 MB / 440.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.3912, allocations: 9.156 kB / 440.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.3913, allocations: 106.4 kB / 440.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005097/0.3918, allocations: 133 kB / 440.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/0.3927, allocations: 0.5817 MB / 441.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.3928, allocations: 45.78 kB / 441.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3929, allocations: 59.28 kB / 441.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.3942, allocations: 0.6339 MB / 442.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.3942, allocations: 1.812 kB / 442.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.3943, allocations: 25.44 kB / 442.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.3943, allocations: 14.22 kB / 442.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.3955, allocations: 0.526 MB / 442.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.3993, allocations: 2.544 MB / 445.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009471/0.4003, allocations: 450.5 kB / 445.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006711/0.401, allocations: 262.8 kB / 445.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.401, allocations: 10.64 kB / 445.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.401, allocations: 42.7 kB / 446 MB, free: 1.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.224e-06/0.401, allocations: 0 / 446 MB, free: 1.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00491/0.4059, allocations: 1.461 MB / 447.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.406, allocations: 63.81 kB / 447.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.4076, allocations: 0.965 MB / 448.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.4077, allocations: 35.64 kB / 448.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.408, allocations: 417.9 kB / 448.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.4082, allocations: 223.3 kB / 449.1 MB, free: 416 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.4084, allocations: 119.9 kB / 449.2 MB, free: 352 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4085, allocations: 336.5 kB / 449.6 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.4092, allocations: 236.4 kB / 449.8 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007455/0.41, allocations: 332.7 kB / 450.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.4114, allocations: 0.5452 MB / 450.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4114, allocations: 6.375 kB / 450.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001741/0.4131, allocations: 0.7136 MB / 451.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4132, allocations: 10.06 kB / 451.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4132, allocations: 2.438 kB / 451.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.4132, allocations: 9.875 kB / 451.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/0.414, allocations: 164.7 kB / 451.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.414, allocations: 6.672 kB / 451.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/0.4147, allocations: 32.17 kB / 451.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.4148, allocations: 24.17 kB / 451.6 MB, free: 15.17 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.0005245/0.4153, allocations: 277.5 kB / 451.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.4155, allocations: 95.2 kB / 452 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.417, allocations: 0.6041 MB / 452.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.417, allocations: 5.844 kB / 452.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.417, allocations: 1.875 kB / 452.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.417, allocations: 2.625 kB / 452.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.4205, allocations: 1.788 MB / 454.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.4205, allocations: 1.25 kB / 454.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.421, allocations: 130.1 kB / 454.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.421, allocations: 5.156 kB / 454.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/0.4212, allocations: 15.89 kB / 454.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.203e-05/0.4212, allocations: 10.77 kB / 454.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.4212, allocations: 2.312 kB / 454.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.4227, allocations: 0.7314 MB / 455.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.4231, allocations: 210.4 kB / 455.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.4232, allocations: 19.36 kB / 455.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.4236, allocations: 28.84 kB / 455.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4237, allocations: 49.53 kB / 455.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.4238, allocations: 21.77 kB / 455.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.425, allocations: 0.699 MB / 456.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.425, allocations: 0 / 456.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006893/0.4256, allocations: 152.5 kB / 456.5 MB, free: 12.59 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.003133/0.4288, allocations: 1.549 MB / 458 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.4303, allocations: 0.5121 MB / 458.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.4303, allocations: 8.125 kB / 458.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.431, allocations: 259.9 kB / 458.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4321, allocations: 144.6 kB / 458.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.4447, allocations: 6.534 MB / 465.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/0.4453, allocations: 0.9669 MB / 466.4 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006124/0.446, allocations: 98.8 kB / 466.5 MB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/0.4465, allocations: 305.8 kB / 466.8 MB, free: 5.941 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4465, allocations: 3.938 kB / 466.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05085/0.4973, allocations: 16.13 MB / 483 MB, free: 7.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.81, allocations: 7.797 kB / 483 MB, free: 7.953 MB / 382.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.566503191366792] 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.976540139876306 11.002571974 10.609792347 Calling exit ...