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.001495/0.001495, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001725/0.001725, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001511/0.001511, allocations: 43.94 kB / 379 MB, free: 2.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2126, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008754/0.2213, allocations: 6.488 MB / 438.9 MB, free: 436 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.2248, allocations: 1.925 MB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006743/0.2254, allocations: 19.94 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.2261, allocations: 226 kB / 441 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000991/0.2271, allocations: 424.7 kB / 441.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.2278, allocations: 375.5 kB / 441.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.2293, allocations: 1.514 MB / 443.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.2298, allocations: 353.6 kB / 443.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.2304, allocations: 0.5646 MB / 444.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007171/0.2311, allocations: 0.6107 MB / 444.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.2313, allocations: 163.9 kB / 445 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.2316, allocations: 168 kB / 445.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.2318, allocations: 303.1 kB / 445.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005732/0.2324, allocations: 0.6572 MB / 446.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.2342, allocations: 1.893 MB / 448 MB, free: 7.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2342, allocations: 0 / 448 MB, free: 7.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.2342, allocations: 4 kB / 448 MB, free: 7.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.2342, allocations: 0 / 448 MB, free: 7.223 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.002672/0.2369, allocations: 1.396 MB / 449.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2369, allocations: 8.031 kB / 449.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005152/0.2374, allocations: 160.1 kB / 449.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.2386, allocations: 0.6306 MB / 450.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.2386, allocations: 74 kB / 450.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.2388, allocations: 99.98 kB / 450.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.2404, allocations: 0.9779 MB / 451.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.2405, allocations: 3.953 kB / 451.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/0.2405, allocations: 40 kB / 451.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.2406, allocations: 27.98 kB / 451.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.2421, allocations: 0.7938 MB / 452.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.2471, allocations: 3.248 MB / 455.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.2484, allocations: 0.7651 MB / 456.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006967/0.2491, allocations: 406.8 kB / 456.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.2492, allocations: 16.34 kB / 456.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.2492, allocations: 47.69 kB / 456.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.294e-06/0.2492, allocations: 4 kB / 456.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008358/0.2576, allocations: 3.822 MB / 460.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.2576, allocations: 85.77 kB / 460.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008298/0.2585, allocations: 0.6408 MB / 461.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.2585, allocations: 45.7 kB / 461.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.2589, allocations: 449.1 kB / 461.7 MB, free: 9.145 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.2592, allocations: 428.3 kB / 462.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.2595, allocations: 186.9 kB / 462.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.2597, allocations: 390.7 kB / 462.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.2604, allocations: 346.5 kB / 463.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008114/0.2612, allocations: 0.4889 MB / 463.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.2626, allocations: 0.8549 MB / 464.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2626, allocations: 3.938 kB / 464.4 MB, free: 6.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002082/0.2647, allocations: 1.146 MB / 465.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2648, allocations: 8 kB / 465.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2648, allocations: 0 / 465.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.2652, allocations: 130.5 kB / 465.7 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009769/0.2661, allocations: 239.7 kB / 465.9 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.2702, allocations: 4.67 MB / 470.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.2708, allocations: 31.98 kB / 470.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.2709, allocations: 43.98 kB / 470.7 MB, free: 15.75 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.0004396/0.2713, allocations: 279.4 kB / 470.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.2715, allocations: 99.33 kB / 471 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.273, allocations: 0.7414 MB / 471.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.273, allocations: 12 kB / 471.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.273, allocations: 4 kB / 471.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.273, allocations: 7.969 kB / 471.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.277, allocations: 2.576 MB / 474.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.277, allocations: 3.938 kB / 474.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.2779, allocations: 199.8 kB / 474.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004261/0.2783, allocations: 151.3 kB / 474.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/0.2784, allocations: 27.98 kB / 474.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00457/0.2829, allocations: 5.576 MB / 480.3 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2829, allocations: 3.938 kB / 480.3 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.2857, allocations: 1.661 MB / 482 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.2861, allocations: 183.3 kB / 482.2 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.2862, allocations: 31.88 kB / 482.2 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.2867, allocations: 35.97 kB / 482.2 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.2869, allocations: 84.44 kB / 482.3 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.2869, allocations: 35.98 kB / 482.4 MB, free: 3.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005941/0.2875, allocations: 459.1 kB / 482.8 MB, free: 2.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2875, allocations: 4 kB / 482.8 MB, free: 2.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008643/0.2884, allocations: 260 kB / 483.1 MB, free: 2.734 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001785/0.2886, allocations: 137.5 kB / 483.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.2907, allocations: 1.23 MB / 484.4 MB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2907, allocations: 0 / 484.4 MB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.292, allocations: 0.9441 MB / 485.4 MB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.293, allocations: 203.5 kB / 485.6 MB, free: 128 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.2969, allocations: 2.231 MB / 487.8 MB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.2976, allocations: 1.033 MB / 488.8 MB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.2979, allocations: 91.41 kB / 488.9 MB, free: 12.7 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2979, allocations: 0 / 488.9 MB, free: 12.7 MB / 398.1 MB Notification: Performance of Templates: time 0.03337/0.3313, allocations: 30.17 MB / 0.5069 GB, free: 14.54 MB / 430.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] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.827817348996177]