Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001978/0.001978, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002615/0.002615, allocations: 207.5 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 58.73 kB / 347.7 MB, free: 9.617 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2926, allocations: 49.16 MB / 396.9 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005936/0.2986, allocations: 4.558 MB / 401.4 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.3014, allocations: 1.775 MB / 403.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/0.3017, allocations: 13.94 kB / 403.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009151/0.3026, allocations: 422.9 kB / 403.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007879/0.3034, allocations: 426.1 kB / 404 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006408/0.304, allocations: 310.1 kB / 404.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.3053, allocations: 1.018 MB / 405.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.3057, allocations: 210.6 kB / 405.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005212/0.3062, allocations: 417.1 kB / 406 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007156/0.3069, allocations: 0.5278 MB / 406.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.307, allocations: 96.91 kB / 406.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.3073, allocations: 129 kB / 406.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.3075, allocations: 237 kB / 406.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.3078, allocations: 457.5 kB / 407.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3091, allocations: 1.275 MB / 408.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3091, allocations: 5.156 kB / 408.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3091, allocations: 0 / 408.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.3091, allocations: 0 / 408.7 MB, free: 2.457 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002058/0.3112, allocations: 1.16 MB / 409.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3112, allocations: 9.938 kB / 409.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.3114, allocations: 102.8 kB / 409.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008777/0.3122, allocations: 490.3 kB / 410.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.3123, allocations: 50.34 kB / 410.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.3124, allocations: 63.72 kB / 410.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.3135, allocations: 0.6521 MB / 411.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.3136, allocations: 4.984 kB / 411.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.3136, allocations: 25.28 kB / 411.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.3136, allocations: 18.81 kB / 411.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.3149, allocations: 0.5551 MB / 411.8 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003945/0.3188, allocations: 2.458 MB / 414.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3198, allocations: 452 kB / 414.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/0.3205, allocations: 279.7 kB / 415 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-05/0.3206, allocations: 12.88 kB / 415 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3206, allocations: 38.28 kB / 415 MB, free: 13.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 3.908e-06/0.3206, allocations: 7.984 kB / 415 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004628/0.3252, allocations: 1.497 MB / 416.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.3253, allocations: 57.59 kB / 416.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.3266, allocations: 0.9481 MB / 417.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.3267, allocations: 35.89 kB / 417.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.3271, allocations: 417.2 kB / 418 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.3273, allocations: 215.1 kB / 418.2 MB, free: 12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.3275, allocations: 120.4 kB / 418.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3277, allocations: 336.3 kB / 418.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/0.3284, allocations: 240.1 kB / 418.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007121/0.3291, allocations: 347 kB / 419.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.3304, allocations: 0.5641 MB / 419.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3304, allocations: 0 / 419.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001689/0.3321, allocations: 0.7312 MB / 420.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3321, allocations: 14.16 kB / 420.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.3321, allocations: 1.875 kB / 420.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.3321, allocations: 9 kB / 420.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008041/0.3329, allocations: 171.4 kB / 420.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3329, allocations: 5.531 kB / 420.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.3335, allocations: 42.33 kB / 420.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.3335, allocations: 25.41 kB / 420.7 MB, free: 10.46 MB / 334.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 (83): * Single equations (assignments): 83 * 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.0004267/0.334, allocations: 265.4 kB / 421 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.3341, allocations: 89.84 kB / 421.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.3357, allocations: 0.6361 MB / 421.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3357, allocations: 5.875 kB / 421.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3357, allocations: 0 / 421.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.3357, allocations: 5.547 kB / 421.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.3389, allocations: 1.767 MB / 423.5 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.3389, allocations: 7.922 kB / 423.5 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/0.3395, allocations: 140.1 kB / 423.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.3395, allocations: 8 kB / 423.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.3396, allocations: 8 kB / 423.7 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.3396, allocations: 8 kB / 423.7 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.3396, allocations: 0 / 423.7 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.341, allocations: 0.7495 MB / 424.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.3413, allocations: 139.3 kB / 424.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.12e-05/0.3414, allocations: 12 kB / 424.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.3419, allocations: 35.97 kB / 424.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.342, allocations: 48.3 kB / 424.7 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.342, allocations: 31.86 kB / 424.7 MB, free: 7.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009078/0.3429, allocations: 0.6826 MB / 425.4 MB, free: 6.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3429, allocations: 0 / 425.4 MB, free: 6.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006422/0.3436, allocations: 159.9 kB / 425.5 MB, free: 6.191 MB / 334.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 (61): * Single equations (assignments): 61 * 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.001388/0.3449, allocations: 376.6 kB / 425.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.3464, allocations: 0.5492 MB / 426.4 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3464, allocations: 0 / 426.4 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.3471, allocations: 279.4 kB / 426.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.3478, allocations: 122.9 kB / 426.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.3507, allocations: 1.589 MB / 428.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.3513, allocations: 0.9592 MB / 429.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004068/0.3517, allocations: 97.03 kB / 429.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3519, allocations: 55.42 kB / 429.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3519, allocations: 0 / 429.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Templates: time 0.01696/0.3689, allocations: 8.222 MB / 437.8 MB, free: 9.844 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.158702006097883]