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.001323/0.001323, allocations: 121.3 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.001377/0.001377, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.434/1.434, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.001875/0.001875, allocations: 71.81 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1098, allocations: 53.31 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.227/0.3368, allocations: 6.468 MB / 433.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.3398, allocations: 1.911 MB / 435.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005162/0.3403, allocations: 23.94 kB / 435.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.3408, allocations: 218.2 kB / 435.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008597/0.3417, allocations: 422.1 kB / 435.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006593/0.3424, allocations: 385.3 kB / 436.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.3439, allocations: 1.497 MB / 437.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005527/0.3444, allocations: 353 kB / 438.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008265/0.3452, allocations: 0.5619 MB / 438.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007455/0.346, allocations: 0.6091 MB / 439.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.3462, allocations: 158.9 kB / 439.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.3465, allocations: 166.3 kB / 439.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.3467, allocations: 310.2 kB / 439.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.3472, allocations: 0.6601 MB / 440.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.3493, allocations: 1.896 MB / 442.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3493, allocations: 0 / 442.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3493, allocations: 0 / 442.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.643e-05/0.3493, allocations: 1.156 kB / 442.5 MB, free: 4.332 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.002877/0.3522, allocations: 1.469 MB / 443.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3522, allocations: 10.25 kB / 443.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.3524, allocations: 152.5 kB / 444.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005344/0.353, allocations: 154.1 kB / 444.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.3542, allocations: 0.6975 MB / 444.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.68e-05/0.3542, allocations: 78.28 kB / 445 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.3544, allocations: 98.09 kB / 445.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.3561, allocations: 0.9739 MB / 446.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.3562, allocations: 10.77 kB / 446.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.3562, allocations: 39.91 kB / 446.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.3563, allocations: 26.23 kB / 446.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.3578, allocations: 0.7953 MB / 447 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005461/0.3633, allocations: 3.322 MB / 450.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.3647, allocations: 0.7423 MB / 451 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008276/0.3655, allocations: 410.4 kB / 451.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.656e-05/0.3656, allocations: 11.84 kB / 451.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.3656, allocations: 45.14 kB / 451.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.845e-06/0.3656, allocations: 0 / 451.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009313/0.3749, allocations: 4.211 MB / 455.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.375, allocations: 94.09 kB / 455.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009511/0.376, allocations: 0.64 MB / 456.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.126e-05/0.376, allocations: 45.61 kB / 456.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.3764, allocations: 445.3 kB / 456.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/0.3768, allocations: 427.2 kB / 457.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/0.3771, allocations: 190.7 kB / 457.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.3774, allocations: 400.2 kB / 457.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007067/0.3781, allocations: 344.4 kB / 458.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/0.3789, allocations: 491.8 kB / 458.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.3804, allocations: 0.8499 MB / 459.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3804, allocations: 1.375 kB / 459.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002155/0.3826, allocations: 1.142 MB / 460.7 MB, free: 9.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3826, allocations: 10.34 kB / 460.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3826, allocations: 3.75 kB / 460.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004217/0.383, allocations: 130.8 kB / 460.8 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/0.384, allocations: 249.5 kB / 461.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004505/0.3885, allocations: 4.974 MB / 466.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/0.3894, allocations: 36.36 kB / 466.1 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.3895, allocations: 40.38 kB / 466.1 MB, free: 4.621 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.0005337/0.39, allocations: 287 kB / 466.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.3902, allocations: 101.1 kB / 466.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.3917, allocations: 0.7381 MB / 467.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3917, allocations: 11.97 kB / 467.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.3917, allocations: 3.438 kB / 467.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.3917, allocations: 4.984 kB / 467.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.3959, allocations: 2.616 MB / 469.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3959, allocations: 1.25 kB / 469.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/0.3967, allocations: 196.7 kB / 470.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004571/0.3971, allocations: 157.9 kB / 470.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.3972, allocations: 22.91 kB / 470.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005234/0.4024, allocations: 5.989 MB / 476.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4025, allocations: 1.094 kB / 476.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.4054, allocations: 1.669 MB / 477.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/0.406, allocations: 247.7 kB / 478.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.4061, allocations: 23.62 kB / 478.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/0.4066, allocations: 44.28 kB / 478.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.4068, allocations: 81.2 kB / 478.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.4069, allocations: 31.56 kB / 478.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006521/0.4076, allocations: 461.8 kB / 478.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4076, allocations: 0 / 478.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00114/0.4087, allocations: 260.3 kB / 479 MB, free: 10.15 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.003176/0.4119, allocations: 2.241 MB / 481.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.4142, allocations: 1.233 MB / 482.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4142, allocations: 0 / 482.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.4157, allocations: 0.9398 MB / 483.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.417, allocations: 206 kB / 483.7 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.431, allocations: 8.212 MB / 491.9 MB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/0.4319, allocations: 1.037 MB / 492.9 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006664/0.4326, allocations: 128 kB / 493 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005907/0.4332, allocations: 395.3 kB / 493.4 MB, free: 12.44 MB / 398.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4332, allocations: 0 / 493.4 MB, free: 12.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08147/0.5146, allocations: 21.72 MB / 0.5031 GB, free: 7.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.51, allocations: 10.64 kB / 0.5031 GB, free: 7.027 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_fmu --startTime=0 --stopTime=0.05 --stepSize=1e-05 --timeout=50 --tolerance=1e-07 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: 14.851622801739722] 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'] 12.609600550029427 12.628910037 12.275869231 Calling exit ...