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.00135/0.00135, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001669/0.001669, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.002128/0.002128, allocations: 72.75 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2905, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007642/0.2981, allocations: 4.723 MB / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.3026, allocations: 2.01 MB / 438.7 MB, free: 132 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.3037, allocations: 11.94 kB / 438.7 MB, free: 120 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.3051, allocations: 422.2 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.3073, allocations: 481.5 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3085, allocations: 323.5 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002175/0.3107, allocations: 1.04 MB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.3113, allocations: 212.2 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009459/0.3122, allocations: 430.6 kB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009339/0.3132, allocations: 0.541 MB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.3133, allocations: 96 kB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.3136, allocations: 135.9 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.3139, allocations: 243.2 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.3144, allocations: 465.6 kB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.3161, allocations: 1.303 MB / 444.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3161, allocations: 0 / 444.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3161, allocations: 0 / 444.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.3162, allocations: 0 / 444.3 MB, free: 10.47 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.002331/0.3185, allocations: 1.166 MB / 445.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.3185, allocations: 12.03 kB / 445.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.3187, allocations: 102.7 kB / 445.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000505/0.3192, allocations: 128.2 kB / 445.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.3202, allocations: 0.5151 MB / 446.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.3203, allocations: 49.31 kB / 446.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.3204, allocations: 56 kB / 446.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.3216, allocations: 0.6323 MB / 446.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.3216, allocations: 11.98 kB / 447 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.3217, allocations: 28 kB / 447 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.3217, allocations: 16 kB / 447 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.3228, allocations: 0.5243 MB / 447.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/0.3269, allocations: 2.456 MB / 450 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009388/0.3278, allocations: 452.3 kB / 450.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006488/0.3285, allocations: 270 kB / 450.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.321e-05/0.3285, allocations: 12.42 kB / 450.7 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.3286, allocations: 35 kB / 450.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.655e-06/0.3286, allocations: 0 / 450.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004343/0.3329, allocations: 1.456 MB / 452.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.333, allocations: 56.06 kB / 452.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.3343, allocations: 0.9732 MB / 453.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.799e-05/0.3344, allocations: 37.7 kB / 453.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.3347, allocations: 420.7 kB / 453.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.3349, allocations: 218.1 kB / 453.9 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.3351, allocations: 126.6 kB / 454 MB, free: 496 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3352, allocations: 330 kB / 454.3 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.3358, allocations: 221.9 kB / 454.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.3364, allocations: 331 kB / 454.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.3375, allocations: 0.5483 MB / 455.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.3375, allocations: 3.938 kB / 455.4 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001496/0.339, allocations: 0.7116 MB / 456.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.339, allocations: 4 kB / 456.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.339, allocations: 4 kB / 456.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.3391, allocations: 7.938 kB / 456.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007604/0.3398, allocations: 171.7 kB / 456.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.3398, allocations: 7.984 kB / 456.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.3403, allocations: 32.08 kB / 456.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/0.3404, allocations: 27.98 kB / 456.4 MB, free: 14.04 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.000398/0.3408, allocations: 269.6 kB / 456.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.3409, allocations: 87.44 kB / 456.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3423, allocations: 0.6149 MB / 457.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.3423, allocations: 8 kB / 457.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3423, allocations: 0 / 457.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3423, allocations: 3.984 kB / 457.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.3453, allocations: 1.764 MB / 459.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3453, allocations: 0 / 459.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.3458, allocations: 127.8 kB / 459.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.3458, allocations: 4 kB / 459.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.3458, allocations: 16 kB / 459.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.3459, allocations: 7.984 kB / 459.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3459, allocations: 4.312 kB / 459.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3471, allocations: 0.7299 MB / 460 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.3474, allocations: 131.4 kB / 460.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/0.3474, allocations: 16 kB / 460.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.3478, allocations: 35.97 kB / 460.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.348, allocations: 52.23 kB / 460.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.348, allocations: 16 kB / 460.2 MB, free: 9.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009116/0.3489, allocations: 0.706 MB / 461 MB, free: 9.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3489, allocations: 0 / 461 MB, free: 9.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000611/0.3495, allocations: 152 kB / 461.1 MB, free: 9.125 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.002817/0.3523, allocations: 1.538 MB / 462.6 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.3536, allocations: 0.523 MB / 463.2 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3536, allocations: 0 / 463.2 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.3542, allocations: 259.3 kB / 463.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.355, allocations: 146.6 kB / 463.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.3657, allocations: 6.537 MB / 470.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.3664, allocations: 0.9748 MB / 471.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004658/0.3668, allocations: 101.2 kB / 471.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.3673, allocations: 307.3 kB / 471.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of SimCode: time 1.103e-06/0.3673, allocations: 0 / 471.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.051/0.4183, allocations: 16.55 MB / 488 MB, free: 14.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.839/10.26, allocations: 11.14 kB / 488 MB, free: 14.14 MB / 398.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 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: 12.722958743106574] 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.408958254847676 10.433249997999999 10.111973188 Calling exit ...