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.001846/0.001846, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002366/0.002366, allocations: 207.8 kB / 23.73 MB, free: 4.523 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001639/0.001639, allocations: 47.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2424, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006421/0.2489, allocations: 4.27 MB / 435.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.2524, allocations: 1.896 MB / 437.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.2527, allocations: 11.94 kB / 437.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007909/0.2535, allocations: 418.2 kB / 438.1 MB, free: 108 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.2545, allocations: 473.5 kB / 438.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007724/0.2553, allocations: 330.6 kB / 438.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.2566, allocations: 1.036 MB / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.257, allocations: 203.1 kB / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.2577, allocations: 438.7 kB / 440.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007414/0.2585, allocations: 0.5333 MB / 441.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.2586, allocations: 100 kB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002776/0.2589, allocations: 135.9 kB / 441.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.2592, allocations: 239.2 kB / 441.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.2595, allocations: 370.1 kB / 442 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.2611, allocations: 1.319 MB / 443.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2611, allocations: 0 / 443.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2611, allocations: 0 / 443.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.2611, allocations: 0 / 443.3 MB, free: 10.96 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.00229/0.2634, allocations: 1.162 MB / 444.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2634, allocations: 8.031 kB / 444.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/0.264, allocations: 132.2 kB / 444.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.2651, allocations: 0.5153 MB / 445.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/0.2652, allocations: 49.31 kB / 445.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.2653, allocations: 60 kB / 445.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.2665, allocations: 0.6613 MB / 445.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.2665, allocations: 0 / 445.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.2666, allocations: 28 kB / 445.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2666, allocations: 16 kB / 445.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.2677, allocations: 0.5165 MB / 446.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/0.2714, allocations: 2.004 MB / 448.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/0.2723, allocations: 445.6 kB / 448.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006569/0.2729, allocations: 268.1 kB / 449.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.273, allocations: 8.438 kB / 449.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.273, allocations: 39 kB / 449.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.904e-06/0.273, allocations: 0 / 449.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004127/0.2771, allocations: 1.452 MB / 450.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.2772, allocations: 68.06 kB / 450.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2783, allocations: 0.9065 MB / 451.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.2783, allocations: 37.7 kB / 451.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.2787, allocations: 416.5 kB / 452 MB, free: 1.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.2789, allocations: 222.1 kB / 452.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.2791, allocations: 126.6 kB / 452.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.2793, allocations: 386.8 kB / 452.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/0.2798, allocations: 217.9 kB / 453 MB, free: 1.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.2805, allocations: 343 kB / 453.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.2816, allocations: 0.5444 MB / 453.8 MB, free: 112 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2816, allocations: 0 / 453.8 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001458/0.283, allocations: 0.7077 MB / 454.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2831, allocations: 4 kB / 454.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.2831, allocations: 8 kB / 454.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.2831, allocations: 7.984 kB / 454.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.2839, allocations: 167.7 kB / 454.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.2839, allocations: 8.156 kB / 454.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.2843, allocations: 35.97 kB / 454.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.2844, allocations: 27.98 kB / 454.8 MB, free: 15.14 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.0003546/0.2847, allocations: 269.6 kB / 455.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.2848, allocations: 83.42 kB / 455.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.2862, allocations: 0.6143 MB / 455.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.2862, allocations: 4 kB / 455.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2862, allocations: 4 kB / 455.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.2862, allocations: 3.984 kB / 455.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.2889, allocations: 1.453 MB / 457.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.2889, allocations: 7.938 kB / 457.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.2895, allocations: 128.1 kB / 457.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.2895, allocations: 11.98 kB / 457.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.2895, allocations: 16 kB / 457.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.2895, allocations: 4 kB / 457.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.2895, allocations: 4 kB / 457.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.2908, allocations: 0.7222 MB / 458.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.291, allocations: 131.4 kB / 458.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/0.2911, allocations: 19.98 kB / 458.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.2915, allocations: 23.98 kB / 458.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2916, allocations: 48.3 kB / 458.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.2916, allocations: 23.92 kB / 458.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008195/0.2925, allocations: 0.6591 MB / 459 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2925, allocations: 0 / 459 MB, free: 10.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006153/0.2931, allocations: 152 kB / 459.2 MB, free: 10.63 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.00145/0.2945, allocations: 408.7 kB / 459.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.2958, allocations: 0.523 MB / 460.1 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2958, allocations: 0 / 460.1 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005547/0.2964, allocations: 255.3 kB / 460.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.2971, allocations: 148.1 kB / 460.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.2998, allocations: 1.602 MB / 462.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3002, allocations: 371.7 kB / 462.4 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003635/0.3006, allocations: 92.95 kB / 462.5 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.3007, allocations: 51.42 kB / 462.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3007, allocations: 0 / 462.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of Templates: time 0.01782/0.3186, allocations: 8.966 MB / 471.6 MB, free: 14.45 MB / 382.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: 4.897526701912284]