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.001244/0.001244, allocations: 111 kB / 21.19 MB, free: 0.6758 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.001425/0.001425, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.231, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007942/0.2389, allocations: 5.709 MB / 438 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.2424, allocations: 1.843 MB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.2428, allocations: 23.88 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005707/0.2434, allocations: 210.1 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008768/0.2443, allocations: 424.8 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.245, allocations: 375.5 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.2464, allocations: 1.503 MB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.247, allocations: 357.9 kB / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006526/0.2476, allocations: 0.5762 MB / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007146/0.2483, allocations: 0.6068 MB / 443.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.2485, allocations: 160 kB / 444.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.2488, allocations: 168 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.2491, allocations: 307 kB / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.2496, allocations: 0.5291 MB / 445.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.2515, allocations: 1.906 MB / 447 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2515, allocations: 0 / 447 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2515, allocations: 0 / 447 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.2515, allocations: 7.938 kB / 447 MB, free: 7.984 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.00291/0.2544, allocations: 1.4 MB / 448.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2544, allocations: 8.031 kB / 448.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.255, allocations: 156.1 kB / 448.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.2562, allocations: 0.6306 MB / 449.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.856e-05/0.2563, allocations: 78 kB / 449.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.2565, allocations: 103.9 kB / 449.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.2583, allocations: 1.02 MB / 450.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.2584, allocations: 3.953 kB / 450.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.2585, allocations: 40 kB / 450.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.2585, allocations: 24 kB / 450.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.2601, allocations: 0.7938 MB / 451.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004909/0.265, allocations: 2.708 MB / 453.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.2664, allocations: 0.768 MB / 454.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007778/0.2672, allocations: 408.9 kB / 455.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.656e-05/0.2672, allocations: 16.48 kB / 455.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.2673, allocations: 47.62 kB / 455.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.555e-06/0.2673, allocations: 0 / 455.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009081/0.2764, allocations: 3.813 MB / 459 MB, free: 11.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.2764, allocations: 89.77 kB / 459.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007779/0.2772, allocations: 0.581 MB / 459.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.2773, allocations: 41.7 kB / 459.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.2776, allocations: 457 kB / 460.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.278, allocations: 424.3 kB / 460.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.2783, allocations: 186.9 kB / 460.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.2785, allocations: 394.7 kB / 461.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007164/0.2792, allocations: 346.5 kB / 461.5 MB, free: 9.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.28, allocations: 492.5 kB / 461.9 MB, free: 8.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.2816, allocations: 0.8549 MB / 462.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2816, allocations: 3.984 kB / 462.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002173/0.2837, allocations: 1.138 MB / 463.9 MB, free: 6.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2838, allocations: 8 kB / 463.9 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2838, allocations: 4.312 kB / 464 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/0.2842, allocations: 130.5 kB / 464.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.2853, allocations: 235.7 kB / 464.3 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/0.2894, allocations: 4.586 MB / 468.9 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.29, allocations: 44.11 kB / 468.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/0.2901, allocations: 39.98 kB / 469 MB, free: 1.23 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.0004692/0.2905, allocations: 287.3 kB / 469.3 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.2907, allocations: 87.44 kB / 469.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.2923, allocations: 0.7409 MB / 470.1 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.2923, allocations: 12 kB / 470.1 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.2923, allocations: 4 kB / 470.1 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.2923, allocations: 3.984 kB / 470.1 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.2962, allocations: 2.172 MB / 472.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2962, allocations: 0 / 472.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009481/0.2972, allocations: 191.8 kB / 472.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.2977, allocations: 155.3 kB / 472.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.864e-05/0.2977, allocations: 31.98 kB / 472.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004695/0.3024, allocations: 5.465 MB / 478.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3024, allocations: 0 / 478.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.3053, allocations: 1.673 MB / 479.8 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.3057, allocations: 171.4 kB / 480 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.3059, allocations: 31.88 kB / 480 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.3064, allocations: 27.98 kB / 480 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.3066, allocations: 80.5 kB / 480.1 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.021e-05/0.3067, allocations: 35.98 kB / 480.1 MB, free: 5.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000578/0.3073, allocations: 410.8 kB / 480.5 MB, free: 5.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3073, allocations: 0 / 480.5 MB, free: 5.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009433/0.3082, allocations: 264 kB / 480.8 MB, free: 4.887 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.0001931/0.3084, allocations: 135.2 kB / 480.9 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.3106, allocations: 1.227 MB / 482.1 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3106, allocations: 0 / 482.1 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.312, allocations: 0.9402 MB / 483.1 MB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.3131, allocations: 202.6 kB / 483.3 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.3169, allocations: 2.183 MB / 485.5 MB, free: 68 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.3174, allocations: 454.3 kB / 485.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004869/0.3179, allocations: 123.6 kB / 486 MB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.3181, allocations: 75.42 kB / 486.1 MB, free: 15.39 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3181, allocations: 0 / 486.1 MB, free: 15.39 MB / 398.1 MB Notification: Performance of Templates: time 0.02445/0.3426, allocations: 14.13 MB / 0.4885 GB, free: 1.465 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 -s gbode -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: 4.905492758000037]