Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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: 124.5 kB / 17.79 MB, free: 5.227 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.001628/0.001628, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.536/1.536, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 47.94 kB / 373.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1027, allocations: 53.33 MB / 426.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.2/0.3026, allocations: 4.675 MB / 431.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.3058, allocations: 1.991 MB / 433.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.3061, allocations: 14.69 kB / 433.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.3068, allocations: 426.6 kB / 433.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008606/0.3077, allocations: 469.7 kB / 434.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.3084, allocations: 326.2 kB / 434.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.3095, allocations: 1.04 MB / 435.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.3098, allocations: 204.6 kB / 435.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005602/0.3104, allocations: 431.7 kB / 436.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.311, allocations: 0.5366 MB / 436.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.3112, allocations: 97.34 kB / 437 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.3114, allocations: 133.7 kB / 437.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002763/0.3117, allocations: 238.9 kB / 437.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005119/0.3122, allocations: 468.3 kB / 437.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.3142, allocations: 1.303 MB / 439.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3142, allocations: 5.094 kB / 439.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3142, allocations: 0 / 439.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.3142, allocations: 0 / 439.1 MB, free: 6.242 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00222/0.3165, allocations: 1.236 MB / 440.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3165, allocations: 9.75 kB / 440.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.317, allocations: 133.3 kB / 440.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008554/0.3179, allocations: 0.5784 MB / 441.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.3179, allocations: 46.41 kB / 441.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-05/0.318, allocations: 59.5 kB / 441.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.3192, allocations: 0.6351 MB / 441.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.3192, allocations: 0.6094 kB / 441.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.3193, allocations: 26.06 kB / 441.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.3193, allocations: 14.78 kB / 441.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3205, allocations: 0.5255 MB / 442.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.3243, allocations: 2.546 MB / 444.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/0.3253, allocations: 449.9 kB / 445.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/0.3259, allocations: 268.8 kB / 445.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.427e-05/0.326, allocations: 7.328 kB / 445.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.326, allocations: 42.17 kB / 445.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.387e-06/0.326, allocations: 1.156 kB / 445.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004708/0.3307, allocations: 1.454 MB / 447.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3308, allocations: 62.59 kB / 447.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.3322, allocations: 0.9695 MB / 448.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.3322, allocations: 36.27 kB / 448.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.3325, allocations: 416.1 kB / 448.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.3327, allocations: 228.1 kB / 448.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.3329, allocations: 118.8 kB / 448.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.333, allocations: 341.6 kB / 449.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/0.3335, allocations: 224.8 kB / 449.5 MB, free: 352 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.3342, allocations: 332.1 kB / 449.8 MB, free: 160 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.3354, allocations: 0.5445 MB / 450.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3354, allocations: 1.594 kB / 450.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00182/0.3372, allocations: 0.7118 MB / 451.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.3373, allocations: 7.797 kB / 451.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3373, allocations: 6.406 kB / 451.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.3373, allocations: 9.031 kB / 451.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008437/0.3381, allocations: 172.3 kB / 451.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.3382, allocations: 6.625 kB / 451.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.3388, allocations: 30.25 kB / 451.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.3388, allocations: 28.55 kB / 451.3 MB, free: 15.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * 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.0004937/0.3393, allocations: 278.6 kB / 451.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.3395, allocations: 85.94 kB / 451.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.341, allocations: 0.6093 MB / 452.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.341, allocations: 8.016 kB / 452.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.341, allocations: 0 / 452.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.341, allocations: 6.719 kB / 452.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/0.3452, allocations: 1.785 MB / 454.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.3452, allocations: 2.656 kB / 454.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.3458, allocations: 131.7 kB / 454.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.3458, allocations: 6.266 kB / 454.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.3458, allocations: 14.44 kB / 454.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.3458, allocations: 11.27 kB / 454.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.3458, allocations: 3.375 kB / 454.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.3474, allocations: 0.7294 MB / 455 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.3478, allocations: 210.6 kB / 455.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/0.3479, allocations: 14.25 kB / 455.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.3483, allocations: 29.16 kB / 455.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.3485, allocations: 50.8 kB / 455.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.3485, allocations: 19.77 kB / 455.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.3496, allocations: 0.7037 MB / 456 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3496, allocations: 3.938 kB / 456 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007221/0.3503, allocations: 152.5 kB / 456.1 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.001478/0.3518, allocations: 386.2 kB / 456.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.3532, allocations: 0.5238 MB / 457 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3532, allocations: 0 / 457 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.3538, allocations: 258.1 kB / 457.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009664/0.3548, allocations: 146 kB / 457.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.358, allocations: 1.61 MB / 459 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.3587, allocations: 0.9678 MB / 460 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004741/0.3592, allocations: 94.81 kB / 460.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.3594, allocations: 62.27 kB / 460.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3594, allocations: 0 / 460.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Templates: time 0.01862/0.378, allocations: 8.155 MB / 468.3 MB, free: 6.465 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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: 5.249837931245565]