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.ArmatureStroke.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.00167/0.00167, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.002091/0.002091, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.588/1.588, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.ArmatureStroke,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",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.002036/0.002036, allocations: 71.97 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1243, allocations: 53.33 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.2628/0.3871, allocations: 6.451 MB / 433.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.3907, allocations: 1.923 MB / 435.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007063/0.3914, allocations: 20.78 kB / 435.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.392, allocations: 218.6 kB / 435.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.3931, allocations: 425.4 kB / 436 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.3938, allocations: 373.2 kB / 436.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.3952, allocations: 1.504 MB / 437.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.3957, allocations: 352.3 kB / 438.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007715/0.3965, allocations: 0.5741 MB / 438.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007007/0.3972, allocations: 0.6093 MB / 439.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.3975, allocations: 159.4 kB / 439.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.3978, allocations: 167.8 kB / 439.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.398, allocations: 313 kB / 440 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.3986, allocations: 0.6564 MB / 440.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.401, allocations: 1.894 MB / 442.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.401, allocations: 1.031 kB / 442.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.401, allocations: 0 / 442.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.033e-05/0.401, allocations: 0 / 442.6 MB, free: 4.242 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003181/0.4042, allocations: 1.474 MB / 444.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4043, allocations: 9.594 kB / 444.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/0.4044, allocations: 147.7 kB / 444.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006061/0.405, allocations: 159.1 kB / 444.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.4062, allocations: 0.6998 MB / 445.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.4063, allocations: 78.84 kB / 445.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.4065, allocations: 96.33 kB / 445.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.4082, allocations: 0.9745 MB / 446.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.4083, allocations: 5.016 kB / 446.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.73e-05/0.4084, allocations: 41.28 kB / 446.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.4084, allocations: 23.16 kB / 446.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.41, allocations: 0.8019 MB / 447.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.4157, allocations: 3.309 MB / 450.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.4171, allocations: 0.7595 MB / 451.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009405/0.4181, allocations: 406.5 kB / 451.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.501e-05/0.4181, allocations: 12.09 kB / 451.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.4182, allocations: 48.64 kB / 451.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.006e-06/0.4182, allocations: 0 / 451.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.01028/0.4285, allocations: 4.211 MB / 455.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.4286, allocations: 90.11 kB / 455.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.4297, allocations: 0.6447 MB / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.4298, allocations: 45.3 kB / 456.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.4302, allocations: 441.9 kB / 457 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000552/0.4307, allocations: 424.9 kB / 457.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/0.4311, allocations: 187.9 kB / 457.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.4313, allocations: 394.8 kB / 458 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/0.4321, allocations: 347.9 kB / 458.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009122/0.433, allocations: 491.2 kB / 458.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.4346, allocations: 0.8536 MB / 459.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4346, allocations: 1.812 kB / 459.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002649/0.4372, allocations: 1.147 MB / 460.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.4373, allocations: 6.531 kB / 460.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.4373, allocations: 2.219 kB / 460.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004886/0.4378, allocations: 132.2 kB / 461 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.439, allocations: 245.2 kB / 461.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005037/0.444, allocations: 4.978 MB / 466.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.4452, allocations: 41.08 kB / 466.2 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4454, allocations: 40.08 kB / 466.3 MB, free: 4.523 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006642/0.446, allocations: 280.2 kB / 466.6 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.4463, allocations: 101 kB / 466.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.4481, allocations: 0.7374 MB / 467.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.4481, allocations: 12 kB / 467.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/0.4481, allocations: 8.469 kB / 467.4 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.597e-05/0.4482, allocations: 9.031 kB / 467.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005233/0.4534, allocations: 2.611 MB / 470 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4534, allocations: 2.156 kB / 470 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000903/0.4543, allocations: 196.8 kB / 470.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005098/0.4548, allocations: 151 kB / 470.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.99e-05/0.4549, allocations: 27.77 kB / 470.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005455/0.4604, allocations: 5.99 MB / 476.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4604, allocations: 5.094 kB / 476.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.4639, allocations: 1.668 MB / 478.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/0.4645, allocations: 253.6 kB / 478.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.4647, allocations: 23.41 kB / 478.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005919/0.4653, allocations: 37.52 kB / 478.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.4655, allocations: 75.55 kB / 478.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.4655, allocations: 33.27 kB / 478.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007969/0.4663, allocations: 464.3 kB / 478.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4663, allocations: 0 / 478.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001273/0.4676, allocations: 260.7 kB / 479.2 MB, free: 10.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003569/0.4712, allocations: 2.247 MB / 481.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.4738, allocations: 1.233 MB / 482.7 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.4738, allocations: 0 / 482.7 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.4754, allocations: 0.9395 MB / 483.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.477, allocations: 203.3 kB / 483.8 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.4927, allocations: 8.203 MB / 492 MB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009251/0.4937, allocations: 1.033 MB / 493 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007028/0.4944, allocations: 128 kB / 493.2 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/0.495, allocations: 403.3 kB / 493.6 MB, free: 12.3 MB / 398.1 MB Notification: Performance of SimCode: time 1.493e-06/0.495, allocations: 0 / 493.6 MB, free: 12.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07084/0.5658, allocations: 21.72 MB / 0.5032 GB, free: 6.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.01, allocations: 10.41 kB / 0.5032 GB, free: 6.883 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.784294677898288] Failed to read output from testmodel.py, exit status != 0: ['time', 'cActuator.armature.stopper_xMax.v_rel', 'cActuator.l.i', 'cActuator.x', 'pmActuator.armature.stopper_xMax.v_rel', 'pmActuator.coil.Phi', 'pmActuator.coil.i', 'pmActuator.g_mLeak2.port_p.Phi', 'pmActuator.g_ma.port_p.Phi', 'pmActuator.x'] 13.117396621964872 13.136577134 12.731099746 Calling exit ...