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.001557/0.001557, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001659/0.001659, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.389/1.389, allocations: 230.4 MB / 258.1 MB, free: 8.164 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="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",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="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",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [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.001907/0.001907, allocations: 71.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2118, allocations: 53.32 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008292/0.22, allocations: 6.494 MB / 438.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003284/0.2233, allocations: 1.925 MB / 440.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.2237, allocations: 19.94 kB / 440.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.2242, allocations: 214 kB / 440.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008095/0.225, allocations: 432.7 kB / 441.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006475/0.2257, allocations: 375.5 kB / 441.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2271, allocations: 1.495 MB / 443 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005159/0.2276, allocations: 355.5 kB / 443.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006354/0.2283, allocations: 0.5567 MB / 443.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007256/0.229, allocations: 0.6068 MB / 444.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.2292, allocations: 163.9 kB / 444.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.2294, allocations: 172 kB / 444.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.2297, allocations: 303.1 kB / 445.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006044/0.2303, allocations: 0.6611 MB / 445.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.2321, allocations: 1.892 MB / 447.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2321, allocations: 0 / 447.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2321, allocations: 3.984 kB / 447.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.2321, allocations: 0 / 447.7 MB, free: 7.672 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.002782/0.2349, allocations: 1.471 MB / 449.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2349, allocations: 12.03 kB / 449.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005175/0.2355, allocations: 156.1 kB / 449.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.2366, allocations: 0.6962 MB / 450 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/0.2367, allocations: 78 kB / 450.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.2369, allocations: 99.98 kB / 450.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.2386, allocations: 0.9701 MB / 451.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.2386, allocations: 7.953 kB / 451.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.964e-05/0.2387, allocations: 43.94 kB / 451.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.2387, allocations: 24 kB / 451.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.2404, allocations: 0.7977 MB / 452 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005055/0.2454, allocations: 3.318 MB / 455.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.2468, allocations: 0.7513 MB / 456.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.2475, allocations: 407.1 kB / 456.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/0.2476, allocations: 20.48 kB / 456.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.2476, allocations: 47.75 kB / 456.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.144e-06/0.2476, allocations: 0 / 456.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009248/0.2569, allocations: 4.207 MB / 460.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.257, allocations: 89.77 kB / 460.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009067/0.2579, allocations: 0.637 MB / 461.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.2579, allocations: 45.7 kB / 461.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.2583, allocations: 449.1 kB / 462 MB, free: 8.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.2587, allocations: 428.3 kB / 462.4 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.259, allocations: 194.8 kB / 462.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.2592, allocations: 390.7 kB / 463 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/0.2599, allocations: 346.5 kB / 463.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008608/0.2608, allocations: 492.6 kB / 463.8 MB, free: 7.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.2624, allocations: 0.851 MB / 464.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2624, allocations: 0 / 464.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002202/0.2646, allocations: 1.15 MB / 465.8 MB, free: 4.957 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2646, allocations: 10.81 kB / 465.8 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.2646, allocations: 0 / 465.8 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.265, allocations: 134.7 kB / 465.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.266, allocations: 239.7 kB / 466.2 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004613/0.2706, allocations: 4.973 MB / 471.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/0.2712, allocations: 35.98 kB / 471.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/0.2713, allocations: 40.06 kB / 471.2 MB, free: 15.11 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.0004395/0.2718, allocations: 285.6 kB / 471.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.2719, allocations: 95.39 kB / 471.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.2735, allocations: 0.7413 MB / 472.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.2735, allocations: 7.984 kB / 472.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2735, allocations: 0 / 472.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.2739, allocations: 256.4 kB / 472.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.274, allocations: 23.94 kB / 472.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005475/0.2745, allocations: 39.98 kB / 472.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.2747, allocations: 80.52 kB / 472.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002829/0.2775, allocations: 1.292 MB / 474 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002649/0.2802, allocations: 1.641 MB / 475.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007272/0.2809, allocations: 401.5 kB / 476 MB, free: 10.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006428/0.2815, allocations: 459.1 kB / 476.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of Backend: time 3.5e-07/0.2815, allocations: 0 / 476.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.2837, allocations: 1.013 MB / 477.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of SimCode: time 0.003817/0.2875, allocations: 2.653 MB / 480.2 MB, free: 5.984 MB / 382.1 MB Notification: Performance of Templates: time 0.02599/0.3135, allocations: 15.24 MB / 495.4 MB, free: 6.867 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (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 & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] Could not SIGINT process: 3464064. Could not SIGINT process: 3464065. Could not SIGINT process: 3464070. Could not SIGINT process: 3463755. [Calling os._exit(0), Time elapsed: 484.52396167395636] 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'] 0.3215954820625484 0.335447847 0.100399713 Calling exit ...