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.001453/0.001453, allocations: 109 kB / 19.74 MB, free: 2.586 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.001592/0.001592, allocations: 217.3 kB / 22.92 MB, free: 5.562 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.289/1.289, allocations: 230.4 MB / 256.4 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 179] 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.001773/0.001773, allocations: 71.83 kB / 376.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2177, allocations: 53.31 MB / 429.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005996/0.2237, allocations: 4.727 MB / 434.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.2268, allocations: 1.999 MB / 436.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.2271, allocations: 11.94 kB / 436.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.2277, allocations: 430.2 kB / 436.6 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007919/0.2285, allocations: 473.5 kB / 437 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.2291, allocations: 323.4 kB / 437.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009663/0.2301, allocations: 1.032 MB / 438.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.2304, allocations: 214.6 kB / 438.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.2308, allocations: 426.7 kB / 439 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.2314, allocations: 0.5371 MB / 439.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.2315, allocations: 96 kB / 439.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.2318, allocations: 132 kB / 439.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.232, allocations: 243.1 kB / 440 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.2323, allocations: 465.6 kB / 440.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.2335, allocations: 1.3 MB / 441.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2335, allocations: 0 / 441.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2335, allocations: 0 / 441.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.2336, allocations: 4 kB / 441.7 MB, free: 11.2 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.001957/0.2355, allocations: 1.233 MB / 443 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2355, allocations: 12.03 kB / 443 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.2357, allocations: 102.7 kB / 443.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.2361, allocations: 136.2 kB / 443.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008175/0.2369, allocations: 0.5755 MB / 443.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.237, allocations: 45.31 kB / 443.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.813e-05/0.237, allocations: 71.86 kB / 443.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.2381, allocations: 0.6285 MB / 444.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2381, allocations: 0 / 444.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.2382, allocations: 24 kB / 444.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.2382, allocations: 16 kB / 444.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.2392, allocations: 0.5204 MB / 445.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.2427, allocations: 2.549 MB / 447.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/0.2436, allocations: 451.6 kB / 448.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/0.2442, allocations: 273.2 kB / 448.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.2442, allocations: 8.422 kB / 448.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.2443, allocations: 43 kB / 448.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.563e-06/0.2443, allocations: 3.938 kB / 448.4 MB, free: 4.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.003951/0.2482, allocations: 1.455 MB / 449.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2483, allocations: 59.97 kB / 449.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.2493, allocations: 0.9654 MB / 450.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.2494, allocations: 37.7 kB / 450.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.2497, allocations: 412.7 kB / 451.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.2498, allocations: 230 kB / 451.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.25, allocations: 122.6 kB / 451.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2501, allocations: 334 kB / 452 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.2506, allocations: 225.9 kB / 452.2 MB, free: 404 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.2512, allocations: 327.1 kB / 452.5 MB, free: 48 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.2523, allocations: 0.5441 MB / 453.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2523, allocations: 3.938 kB / 453.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00136/0.2536, allocations: 0.7152 MB / 453.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2537, allocations: 7.125 kB / 453.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2537, allocations: 4.281 kB / 453.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2537, allocations: 8 kB / 453.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007018/0.2544, allocations: 163.8 kB / 454 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.2544, allocations: 8 kB / 454 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.2548, allocations: 31.97 kB / 454 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.2549, allocations: 24 kB / 454 MB, free: 14.51 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.000314/0.2552, allocations: 278 kB / 454.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2553, allocations: 91.44 kB / 454.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.2565, allocations: 0.6049 MB / 455 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2565, allocations: 4 kB / 455 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2565, allocations: 0 / 455 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.2565, allocations: 7.984 kB / 455 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.2591, allocations: 1.78 MB / 456.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.2591, allocations: 7.922 kB / 456.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.2597, allocations: 132.1 kB / 456.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.2597, allocations: 4 kB / 456.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.2597, allocations: 16 kB / 457 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.2597, allocations: 8 kB / 457 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.2597, allocations: 11.88 kB / 457 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.2609, allocations: 0.7282 MB / 457.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.2611, allocations: 212.4 kB / 457.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/0.2612, allocations: 16 kB / 457.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.2616, allocations: 27.97 kB / 458 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.2617, allocations: 48.33 kB / 458 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.453e-05/0.2617, allocations: 23.98 kB / 458 MB, free: 10.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008006/0.2625, allocations: 0.6982 MB / 458.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2625, allocations: 0 / 458.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004912/0.263, allocations: 156 kB / 458.9 MB, free: 9.473 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.002524/0.2655, allocations: 1.538 MB / 460.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.2666, allocations: 0.5111 MB / 460.9 MB, free: 7.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2666, allocations: 4.125 kB / 460.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.2671, allocations: 266.2 kB / 461.2 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.2678, allocations: 142 kB / 461.3 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00893/0.2768, allocations: 6.535 MB / 467.9 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.2774, allocations: 0.9785 MB / 468.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.2777, allocations: 93.17 kB / 468.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.2781, allocations: 307.3 kB / 469.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2781, allocations: 0 / 469.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04082/0.3189, allocations: 16.12 MB / 485.4 MB, free: 14.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.762, allocations: 8.047 kB / 485.4 MB, free: 14.94 MB / 398.1 MB " [Timeout remaining time 651] (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 --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: 10.853874813998118]