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.001619/0.001619, allocations: 110.3 kB / 20.22 MB, free: 1.812 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.001879/0.001879, allocations: 217.7 kB / 23.48 MB, free: 5.254 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.416/1.416, allocations: 230.4 MB / 257 MB, free: 8.27 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.00191/0.00191, allocations: 63.91 kB / 377.1 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3055, allocations: 53.31 MB / 430.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008409/0.3139, allocations: 6.498 MB / 436.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.318, allocations: 1.913 MB / 438.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006298/0.3186, allocations: 23.88 kB / 438.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007094/0.3193, allocations: 222 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.3203, allocations: 424.8 kB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.321, allocations: 375.5 kB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.3228, allocations: 1.507 MB / 441.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005581/0.3233, allocations: 348.9 kB / 441.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007041/0.324, allocations: 0.5606 MB / 442.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007391/0.3248, allocations: 0.6146 MB / 442.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.325, allocations: 160 kB / 443 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.3252, allocations: 168 kB / 443.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.3255, allocations: 303.1 kB / 443.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000654/0.3261, allocations: 0.6689 MB / 444.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.3281, allocations: 1.877 MB / 446 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3281, allocations: 4 kB / 446 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3281, allocations: 0 / 446 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.3281, allocations: 3.938 kB / 446 MB, free: 7.539 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.003078/0.3312, allocations: 1.479 MB / 447.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3312, allocations: 8.031 kB / 447.5 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/0.3315, allocations: 144.4 kB / 447.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.332, allocations: 156.1 kB / 447.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.3333, allocations: 0.7038 MB / 448.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/0.3334, allocations: 74 kB / 448.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.3335, allocations: 96 kB / 448.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.3353, allocations: 0.9779 MB / 449.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.3354, allocations: 7.953 kB / 449.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.844e-05/0.3355, allocations: 44 kB / 449.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.3355, allocations: 24 kB / 449.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.337, allocations: 0.7899 MB / 450.5 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.3422, allocations: 3.326 MB / 453.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.3435, allocations: 0.7471 MB / 454.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007057/0.3442, allocations: 407.2 kB / 455 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.3443, allocations: 12.56 kB / 455 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.3443, allocations: 47.69 kB / 455 MB, free: 14.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 4.409e-06/0.3443, allocations: 3.984 kB / 455 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009073/0.3534, allocations: 4.21 MB / 459.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.3535, allocations: 93.7 kB / 459.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/0.3545, allocations: 0.6408 MB / 460 MB, free: 9.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.175e-05/0.3545, allocations: 45.7 kB / 460 MB, free: 9.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.3549, allocations: 437.1 kB / 460.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.3553, allocations: 432.3 kB / 460.9 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.3556, allocations: 190.8 kB / 461 MB, free: 7.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002956/0.3559, allocations: 398.7 kB / 461.4 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.3565, allocations: 346.5 kB / 461.8 MB, free: 7.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008153/0.3573, allocations: 488.7 kB / 462.3 MB, free: 6.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.3588, allocations: 0.8548 MB / 463.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3588, allocations: 0 / 463.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002268/0.3611, allocations: 1.146 MB / 464.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3611, allocations: 7.438 kB / 464.3 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3611, allocations: 8 kB / 464.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/0.3615, allocations: 126.5 kB / 464.4 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009625/0.3625, allocations: 247.6 kB / 464.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004759/0.3672, allocations: 4.97 MB / 469.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.368, allocations: 35.98 kB / 469.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.3681, allocations: 43.92 kB / 469.7 MB, free: 14.82 MB / 382.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.0005558/0.3686, allocations: 273.7 kB / 469.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.3688, allocations: 103.4 kB / 470.1 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3703, allocations: 0.7375 MB / 470.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.3703, allocations: 16 kB / 470.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3704, allocations: 4 kB / 470.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.3704, allocations: 7.969 kB / 470.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/0.3746, allocations: 2.603 MB / 473.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3746, allocations: 4 kB / 473.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/0.3754, allocations: 195.7 kB / 473.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/0.3759, allocations: 167.4 kB / 473.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.3759, allocations: 27.98 kB / 473.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005137/0.3811, allocations: 5.994 MB / 479.8 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3811, allocations: 4.125 kB / 479.8 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.3838, allocations: 1.661 MB / 481.5 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.3842, allocations: 252.5 kB / 481.7 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.3844, allocations: 24 kB / 481.7 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.3849, allocations: 35.92 kB / 481.8 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.3851, allocations: 84.48 kB / 481.9 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/0.3851, allocations: 35.98 kB / 481.9 MB, free: 1.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006298/0.3857, allocations: 455.1 kB / 482.3 MB, free: 1.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3857, allocations: 3.938 kB / 482.3 MB, free: 1.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009231/0.3867, allocations: 260 kB / 482.6 MB, free: 1.16 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.003174/0.3898, allocations: 2.249 MB / 484.8 MB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.3921, allocations: 1.227 MB / 486.1 MB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3921, allocations: 0 / 486.1 MB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.3935, allocations: 0.94 MB / 487 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.3946, allocations: 201 kB / 487.2 MB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.4075, allocations: 8.223 MB / 495.4 MB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/0.4082, allocations: 1.033 MB / 496.5 MB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005337/0.4087, allocations: 128 kB / 496.6 MB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/0.4093, allocations: 399.3 kB / 497 MB, free: 2.391 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4093, allocations: 3.938 kB / 497 MB, free: 2.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/0.4772, allocations: 21.73 MB / 0.5066 GB, free: 12.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.33, allocations: 11.08 kB / 0.5066 GB, free: 12.87 MB / 430.1 MB " [Timeout remaining time 648] (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.686704981140792] 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.43333891313523 12.449943608 12.118793128 Calling exit ...