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.00146/0.00146, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001757/0.001757, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.482/1.482, allocations: 230.6 MB / 254.8 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.001473/0.001473, allocations: 51.92 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09922, allocations: 53.33 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.2023/0.3016, allocations: 4.675 MB / 432.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.3048, allocations: 1.989 MB / 434.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006382/0.3055, allocations: 17.47 kB / 434.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008601/0.3063, allocations: 424.6 kB / 434.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.3075, allocations: 470.5 kB / 435 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.3083, allocations: 328.6 kB / 435.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.3096, allocations: 1.043 MB / 436.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.31, allocations: 203.1 kB / 436.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.3107, allocations: 434.8 kB / 437 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006147/0.3113, allocations: 0.5302 MB / 437.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.3114, allocations: 97.16 kB / 437.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.3117, allocations: 137.5 kB / 437.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.3119, allocations: 238 kB / 438 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.3122, allocations: 469.4 kB / 438.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.3136, allocations: 1.304 MB / 439.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3136, allocations: 1.125 kB / 439.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3136, allocations: 0 / 439.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.3137, allocations: 3.938 kB / 439.8 MB, free: 6.258 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.002041/0.3157, allocations: 1.238 MB / 441 MB, free: 5.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3157, allocations: 9.344 kB / 441 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.3162, allocations: 132.9 kB / 441.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008451/0.3171, allocations: 0.5822 MB / 441.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.3171, allocations: 46.28 kB / 441.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.3172, allocations: 55.91 kB / 441.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.3183, allocations: 0.6328 MB / 442.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.3183, allocations: 1.219 kB / 442.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.3184, allocations: 29.91 kB / 442.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.3184, allocations: 14.86 kB / 442.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.3195, allocations: 0.5207 MB / 443 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.323, allocations: 2.552 MB / 445.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.3239, allocations: 449.9 kB / 446 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/0.3246, allocations: 266.7 kB / 446.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.3246, allocations: 11.08 kB / 446.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.3247, allocations: 38.59 kB / 446.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.424e-06/0.3247, allocations: 0 / 446.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004503/0.3292, allocations: 1.455 MB / 447.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3292, allocations: 57.38 kB / 447.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.3304, allocations: 0.9697 MB / 448.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.3305, allocations: 40.64 kB / 448.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.3308, allocations: 412.8 kB / 449.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.3309, allocations: 224 kB / 449.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.3311, allocations: 123 kB / 449.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.3312, allocations: 337.4 kB / 449.9 MB, free: 448 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.3317, allocations: 221.1 kB / 450.2 MB, free: 372 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.3323, allocations: 335.6 kB / 450.5 MB, free: 176 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.3335, allocations: 0.5453 MB / 451 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3335, allocations: 0 / 451 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001572/0.335, allocations: 0.7137 MB / 451.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.335, allocations: 5.5 kB / 451.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3351, allocations: 2.75 kB / 451.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3351, allocations: 6.016 kB / 451.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007577/0.3358, allocations: 168.4 kB / 451.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.3358, allocations: 6.219 kB / 451.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.3364, allocations: 37.84 kB / 452 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.3364, allocations: 23.53 kB / 452 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.000397/0.3368, allocations: 277.9 kB / 452.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.337, allocations: 91.19 kB / 452.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.3384, allocations: 0.6165 MB / 453 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.3384, allocations: 4.812 kB / 453 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3384, allocations: 2.016 kB / 453 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.3384, allocations: 3.094 kB / 453 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.3414, allocations: 1.787 MB / 454.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3414, allocations: 2.469 kB / 454.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.342, allocations: 127 kB / 454.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.342, allocations: 5.938 kB / 454.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.342, allocations: 16.25 kB / 454.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.342, allocations: 5.141 kB / 454.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.342, allocations: 7 kB / 454.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.3435, allocations: 0.728 MB / 455.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.3438, allocations: 211.4 kB / 455.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.3439, allocations: 19.39 kB / 455.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.3443, allocations: 30.36 kB / 455.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.3444, allocations: 49.14 kB / 455.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.3444, allocations: 21.88 kB / 456 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009158/0.3453, allocations: 0.6971 MB / 456.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3453, allocations: 4 kB / 456.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006246/0.346, allocations: 152.7 kB / 456.8 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.001356/0.3473, allocations: 385 kB / 457.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.3485, allocations: 0.524 MB / 457.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3485, allocations: 0 / 457.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.3491, allocations: 261.3 kB / 458 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/0.3499, allocations: 150.9 kB / 458.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.3526, allocations: 1.644 MB / 459.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.3532, allocations: 0.9646 MB / 460.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.3534, allocations: 66.03 kB / 460.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3534, allocations: 0 / 460.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of Templates: time 0.01648/0.3699, allocations: 10.16 MB / 471 MB, free: 4.441 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/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: 8.268204969004728]