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.ForceCurrentBehaviour.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.001417/0.001417, allocations: 105 kB / 19.74 MB, free: 2.453 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.001472/0.001472, allocations: 216.3 kB / 22.92 MB, free: 5.195 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.282/1.282, allocations: 230.4 MB / 256.4 MB, free: 8.258 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.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",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.001821/0.001821, allocations: 68.02 kB / 376.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2141, allocations: 53.31 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007569/0.2216, allocations: 6.606 MB / 436 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.2252, allocations: 2.404 MB / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.2255, allocations: 19.94 kB / 438.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000673/0.2262, allocations: 361.7 kB / 438.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009482/0.2271, allocations: 0.5395 MB / 439.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000737/0.2278, allocations: 455.3 kB / 439.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.2292, allocations: 1.557 MB / 441.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004937/0.2297, allocations: 362.6 kB / 441.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.2304, allocations: 0.5957 MB / 442.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007871/0.2312, allocations: 0.6886 MB / 443 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.2313, allocations: 160 kB / 443.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.2316, allocations: 196 kB / 443.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.2319, allocations: 327 kB / 443.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005915/0.2325, allocations: 0.6843 MB / 444.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.2343, allocations: 1.977 MB / 446.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2343, allocations: 0 / 446.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2343, allocations: 0 / 446.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.2343, allocations: 3.938 kB / 446.3 MB, free: 6.473 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002666/0.237, allocations: 1.58 MB / 447.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.237, allocations: 12.03 kB / 447.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.2372, allocations: 144.3 kB / 448 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004888/0.2376, allocations: 168 kB / 448.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.2387, allocations: 0.7545 MB / 448.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.2388, allocations: 77.94 kB / 449 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.2389, allocations: 96 kB / 449.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.2406, allocations: 0.974 MB / 450.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.2406, allocations: 7.984 kB / 450.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/0.2407, allocations: 43.98 kB / 450.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.2408, allocations: 24 kB / 450.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.2424, allocations: 0.8094 MB / 451 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00521/0.2476, allocations: 3.668 MB / 454.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.2495, allocations: 0.5868 MB / 455.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/0.2501, allocations: 290.5 kB / 455.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.2501, allocations: 12.36 kB / 455.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.2502, allocations: 47.03 kB / 455.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 3.537e-06/0.2502, allocations: 7.984 kB / 455.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004233/0.2544, allocations: 1.683 MB / 457.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.2545, allocations: 89.09 kB / 457.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.256, allocations: 1.034 MB / 458.4 MB, free: 10 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/0.2561, allocations: 45.7 kB / 458.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.2565, allocations: 0.5584 MB / 459 MB, free: 9.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.2567, allocations: 238 kB / 459.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.257, allocations: 166.5 kB / 459.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2571, allocations: 345.9 kB / 459.7 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/0.2579, allocations: 305.8 kB / 460 MB, free: 8.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009275/0.2588, allocations: 499.2 kB / 460.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.2604, allocations: 0.7835 MB / 461.3 MB, free: 6.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2604, allocations: 4 kB / 461.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002016/0.2624, allocations: 0.9687 MB / 462.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2624, allocations: 8 kB / 462.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2624, allocations: 4 kB / 462.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.2624, allocations: 12 kB / 462.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.2636, allocations: 279.6 kB / 462.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.2636, allocations: 15.88 kB / 462.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/0.2643, allocations: 55.89 kB / 462.6 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.2644, allocations: 35.98 kB / 462.7 MB, free: 5.543 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (112): * Single equations (assignments): 112 * 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.0004169/0.2648, allocations: 285.6 kB / 462.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.265, allocations: 111.3 kB / 463 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/0.2658, allocations: 354.2 kB / 463.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2658, allocations: 11.94 kB / 463.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2658, allocations: 0 / 463.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.2658, allocations: 7.922 kB / 463.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/0.2694, allocations: 2.294 MB / 465.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2694, allocations: 4 kB / 465.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.2702, allocations: 207.7 kB / 465.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.2702, allocations: 8.156 kB / 465.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.2703, allocations: 24 kB / 465.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.2703, allocations: 15.94 kB / 466 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.2703, allocations: 19.86 kB / 466 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.2719, allocations: 1.027 MB / 467 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.2721, allocations: 196.4 kB / 467.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.2722, allocations: 19.98 kB / 467.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.2728, allocations: 51.95 kB / 467.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.2729, allocations: 63.75 kB / 467.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.273, allocations: 28 kB / 467.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009166/0.2739, allocations: 0.719 MB / 468.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2739, allocations: 4 kB / 468.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007454/0.2746, allocations: 215.9 kB / 468.3 MB, free: 15.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.00295/0.2776, allocations: 1.849 MB / 470.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.2791, allocations: 0.6978 MB / 470.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2791, allocations: 3.938 kB / 470.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007309/0.2799, allocations: 346 kB / 471.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.281, allocations: 230.6 kB / 471.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.2935, allocations: 8.456 MB / 479.9 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.2942, allocations: 1.034 MB / 480.9 MB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005146/0.2947, allocations: 127.6 kB / 481 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.2952, allocations: 403.3 kB / 481.4 MB, free: 2.066 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2952, allocations: 0 / 481.4 MB, free: 2.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.3428, allocations: 20.92 MB / 0.4906 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/8.957, allocations: 11.83 kB / 0.4906 GB, free: 13.33 MB / 414.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-07 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.115404476004187]