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.001532/0.001532, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001715/0.001715, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.449/1.449, allocations: 230.4 MB / 254.7 MB, free: 15 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.002096/0.002096, allocations: 59.91 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.114, allocations: 53.32 MB / 426.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007362/0.1214, allocations: 4.68 MB / 431.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.207/0.3284, allocations: 1.993 MB / 433.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.3288, allocations: 12.53 kB / 433.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006852/0.3295, allocations: 427.5 kB / 434 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007949/0.3303, allocations: 468.7 kB / 434.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.3309, allocations: 321.3 kB / 434.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008023/0.3317, allocations: 1.036 MB / 435.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.332, allocations: 204.7 kB / 436 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/0.3324, allocations: 428.9 kB / 436.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.333, allocations: 0.5337 MB / 436.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.3332, allocations: 100.9 kB / 437 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.3334, allocations: 133.7 kB / 437.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.3336, allocations: 238.2 kB / 437.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.334, allocations: 466.6 kB / 437.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.3357, allocations: 1.303 MB / 439.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.3357, allocations: 0.6562 kB / 439.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3357, allocations: 0.5 kB / 439.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.3357, allocations: 5.188 kB / 439.2 MB, free: 5.945 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.00226/0.3379, allocations: 1.232 MB / 440.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.338, allocations: 10.5 kB / 440.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.3381, allocations: 104.8 kB / 440.5 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.3386, allocations: 133.2 kB / 440.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009165/0.3395, allocations: 0.5805 MB / 441.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.3395, allocations: 46.09 kB / 441.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.3396, allocations: 58.53 kB / 441.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3408, allocations: 0.6349 MB / 442 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.3408, allocations: 3.375 kB / 442 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/0.3408, allocations: 25.69 kB / 442 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.3409, allocations: 14.59 kB / 442 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.3419, allocations: 0.5227 MB / 442.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.3455, allocations: 2.549 MB / 445.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/0.3463, allocations: 459 kB / 445.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.3469, allocations: 265.1 kB / 445.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.426e-05/0.347, allocations: 9.297 kB / 445.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.347, allocations: 42.27 kB / 445.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.853e-06/0.347, allocations: 0.9375 kB / 445.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004101/0.3511, allocations: 1.462 MB / 447.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.3511, allocations: 61.25 kB / 447.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.3525, allocations: 0.9667 MB / 448.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.3525, allocations: 35.83 kB / 448.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.3528, allocations: 417.1 kB / 448.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.353, allocations: 223.5 kB / 449 MB, free: 432 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.3532, allocations: 119.8 kB / 449.1 MB, free: 368 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.3533, allocations: 336.4 kB / 449.4 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/0.3539, allocations: 233.3 kB / 449.7 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.3546, allocations: 333 kB / 450 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.3558, allocations: 0.5485 MB / 450.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3558, allocations: 3.938 kB / 450.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001452/0.3572, allocations: 0.7133 MB / 451.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3572, allocations: 6.031 kB / 451.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3573, allocations: 3.656 kB / 451.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.3573, allocations: 8.906 kB / 451.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.3581, allocations: 165.8 kB / 451.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.3581, allocations: 6.078 kB / 451.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.3586, allocations: 33.09 kB / 451.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.3587, allocations: 23.98 kB / 451.5 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.0004528/0.3591, allocations: 278.3 kB / 451.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.3593, allocations: 91.31 kB / 451.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.3607, allocations: 0.607 MB / 452.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3607, allocations: 5.406 kB / 452.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.3607, allocations: 1.312 kB / 452.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3607, allocations: 3.984 kB / 452.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.3638, allocations: 1.785 MB / 454.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3638, allocations: 2.438 kB / 454.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.3643, allocations: 133 kB / 454.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3643, allocations: 5.844 kB / 454.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.3643, allocations: 16.83 kB / 454.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.3643, allocations: 9.625 kB / 454.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3644, allocations: 2.531 kB / 454.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3656, allocations: 0.7325 MB / 455.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.3659, allocations: 208.5 kB / 455.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/0.366, allocations: 20.33 kB / 455.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.3664, allocations: 29.28 kB / 455.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3665, allocations: 48.66 kB / 455.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.3665, allocations: 20.7 kB / 455.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009371/0.3674, allocations: 0.6982 MB / 456.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3674, allocations: 3.938 kB / 456.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005933/0.368, allocations: 154.2 kB / 456.3 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.002787/0.3708, allocations: 1.545 MB / 457.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.372, allocations: 0.5168 MB / 458.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.372, allocations: 4.188 kB / 458.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.3725, allocations: 264.1 kB / 458.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/0.3733, allocations: 148.2 kB / 458.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.3837, allocations: 6.532 MB / 465.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.3845, allocations: 0.9718 MB / 466.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004745/0.385, allocations: 91.2 kB / 466.4 MB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.3855, allocations: 303.3 kB / 466.7 MB, free: 5.957 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3855, allocations: 0 / 466.7 MB, free: 5.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04942/0.4349, allocations: 16.13 MB / 482.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.883/10.32, allocations: 3.938 kB / 482.8 MB, free: 8.004 MB / 382.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.743808560073376] 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.450181965250522 10.470274735 10.130888182 Calling exit ...