Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 212.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.224, allocations: 53.38 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008129/0.2322, allocations: 5.721 MB / 438.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.2354, allocations: 1.839 MB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.2357, allocations: 19.94 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.2362, allocations: 210.1 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008293/0.2371, allocations: 428.7 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.2377, allocations: 371.5 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2391, allocations: 1.503 MB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.2397, allocations: 353.9 kB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006293/0.2403, allocations: 0.5763 MB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006959/0.241, allocations: 0.6029 MB / 443.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.2412, allocations: 160 kB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.2414, allocations: 172 kB / 444.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.2417, allocations: 303 kB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005237/0.2422, allocations: 0.5367 MB / 445.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.2441, allocations: 1.902 MB / 447 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2441, allocations: 4 kB / 447 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2441, allocations: 0 / 447 MB, free: 7.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.2441, allocations: 3.938 kB / 447 MB, free: 7.992 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.002874/0.247, allocations: 1.4 MB / 448.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.247, allocations: 8.031 kB / 448.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00056/0.2476, allocations: 156.1 kB / 448.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.2488, allocations: 0.6306 MB / 449.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.2488, allocations: 74 kB / 449.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.249, allocations: 96 kB / 449.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.2509, allocations: 1.028 MB / 450.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.2509, allocations: 7.953 kB / 450.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.413e-05/0.251, allocations: 40 kB / 450.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.251, allocations: 24 kB / 450.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.2526, allocations: 0.7938 MB / 451.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004789/0.2574, allocations: 2.712 MB / 454 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.2587, allocations: 0.7642 MB / 454.7 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.2595, allocations: 406.8 kB / 455.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.2595, allocations: 12.5 kB / 455.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.2596, allocations: 51.61 kB / 455.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.695e-06/0.2596, allocations: 3.938 kB / 455.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008643/0.2682, allocations: 3.81 MB / 459 MB, free: 11.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.2683, allocations: 89.77 kB / 459.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007439/0.269, allocations: 0.5771 MB / 459.7 MB, free: 11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/0.2691, allocations: 49.7 kB / 459.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.2694, allocations: 453 kB / 460.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.2698, allocations: 428.3 kB / 460.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.2701, allocations: 186.9 kB / 460.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.2703, allocations: 394.7 kB / 461.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006959/0.271, allocations: 342.5 kB / 461.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/0.2718, allocations: 488.7 kB / 462 MB, free: 8.641 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.2733, allocations: 0.8471 MB / 462.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.2733, allocations: 4 kB / 462.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00211/0.2754, allocations: 1.142 MB / 464 MB, free: 6.594 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2754, allocations: 15.94 kB / 464 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2754, allocations: 0 / 464 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.2758, allocations: 126.5 kB / 464.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.2769, allocations: 239.7 kB / 464.3 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.2809, allocations: 4.582 MB / 468.9 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.2815, allocations: 36.02 kB / 468.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/0.2816, allocations: 43.94 kB / 469 MB, free: 1.246 MB / 366.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.0004074/0.282, allocations: 277.6 kB / 469.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.2821, allocations: 95.44 kB / 469.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.2837, allocations: 0.741 MB / 470.1 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.2837, allocations: 3.984 kB / 470.1 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2837, allocations: 0 / 470.1 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.2841, allocations: 171.5 kB / 470.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.2842, allocations: 24 kB / 470.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/0.2848, allocations: 35.98 kB / 470.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.2849, allocations: 88.47 kB / 470.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002785/0.2877, allocations: 1.28 MB / 471.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002532/0.2902, allocations: 1.645 MB / 473.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006956/0.2909, allocations: 389 kB / 473.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000524/0.2915, allocations: 410.8 kB / 474.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.2915, allocations: 0 / 474.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.2935, allocations: 1.014 MB / 475.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of SimCode: time 0.003617/0.2971, allocations: 2.622 MB / 477.7 MB, free: 8.305 MB / 382.1 MB Notification: Performance of Templates: time 0.02748/0.3246, allocations: 17.02 MB / 494.8 MB, free: 7.516 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] Could not SIGINT process: 445355. Could not SIGINT process: 445356. Could not SIGINT process: 445359. Could not SIGINT process: 445015. [Calling os._exit(0), Time elapsed: 484.66255190299853] 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.33279987900459673 0.34612325399999994 0.099104946 Calling exit ...