Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001489/0.001489, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.379/1.379, allocations: 230.4 MB / 255.4 MB, free: 9.094 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 71.83 kB / 374.7 MB, free: 4.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2439, allocations: 53.32 MB / 428.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006423/0.2503, allocations: 4.688 MB / 432.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.2537, allocations: 1.991 MB / 434.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.254, allocations: 12 kB / 434.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.2548, allocations: 430.2 kB / 435.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009174/0.2557, allocations: 465.5 kB / 435.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.2564, allocations: 331.4 kB / 435.9 MB, free: 176 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.2575, allocations: 1.036 MB / 437 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.2579, allocations: 206.6 kB / 437.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005487/0.2584, allocations: 426.7 kB / 437.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006481/0.2591, allocations: 0.5333 MB / 438.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.2592, allocations: 96 kB / 438.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.2594, allocations: 136 kB / 438.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.2597, allocations: 247 kB / 438.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.2601, allocations: 461.6 kB / 439 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.2615, allocations: 1.301 MB / 440.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2615, allocations: 0 / 440.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2615, allocations: 0 / 440.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2615, allocations: 0 / 440.3 MB, free: 11.74 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.00221/0.2637, allocations: 1.241 MB / 441.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2637, allocations: 12.03 kB / 441.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.2642, allocations: 128.2 kB / 441.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.2651, allocations: 0.5873 MB / 442.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.2652, allocations: 45.31 kB / 442.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.506e-05/0.2653, allocations: 64 kB / 442.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.2664, allocations: 0.6285 MB / 443 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2664, allocations: 0 / 443 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/0.2665, allocations: 27.94 kB / 443.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.2665, allocations: 19.94 kB / 443.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2676, allocations: 0.5166 MB / 443.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.2715, allocations: 2.553 MB / 446.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009164/0.2724, allocations: 444.4 kB / 446.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.273, allocations: 266 kB / 446.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.2731, allocations: 8.422 kB / 446.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.2731, allocations: 39 kB / 446.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.375e-06/0.2731, allocations: 3.938 kB / 446.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004401/0.2775, allocations: 1.463 MB / 448.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.2776, allocations: 63.97 kB / 448.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.2788, allocations: 0.9615 MB / 449.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.2788, allocations: 37.7 kB / 449.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.2792, allocations: 412.7 kB / 449.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.2794, allocations: 226.1 kB / 450.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.2796, allocations: 122.6 kB / 450.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2797, allocations: 330 kB / 450.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.2804, allocations: 229.9 kB / 450.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/0.2811, allocations: 327.1 kB / 451 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.2822, allocations: 0.5479 MB / 451.6 MB, free: 124 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2822, allocations: 0 / 451.6 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001486/0.2837, allocations: 0.7152 MB / 452.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2837, allocations: 4 kB / 452.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2837, allocations: 4 kB / 452.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2837, allocations: 4 kB / 452.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/0.2845, allocations: 168 kB / 452.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.2845, allocations: 11.94 kB / 452.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.2849, allocations: 31.97 kB / 452.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.285, allocations: 28 kB / 452.5 MB, free: 15.15 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.0003572/0.2854, allocations: 265.6 kB / 452.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.2855, allocations: 87.44 kB / 452.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.2868, allocations: 0.6126 MB / 453.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2868, allocations: 4 kB / 453.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2868, allocations: 0 / 453.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.2869, allocations: 11.92 kB / 453.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.2898, allocations: 1.788 MB / 455.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2898, allocations: 0 / 455.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.2903, allocations: 123.9 kB / 455.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.2903, allocations: 4.312 kB / 455.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.2904, allocations: 20 kB / 455.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.2904, allocations: 11.88 kB / 455.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.2904, allocations: 7.984 kB / 455.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.2916, allocations: 0.7319 MB / 456.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.2919, allocations: 208.5 kB / 456.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.479e-05/0.292, allocations: 16 kB / 456.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.2924, allocations: 27.97 kB / 456.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.2925, allocations: 52.25 kB / 456.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.2925, allocations: 20 kB / 456.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008654/0.2934, allocations: 0.7099 MB / 457.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2934, allocations: 0 / 457.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005422/0.2939, allocations: 148 kB / 457.4 MB, free: 10.11 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.001284/0.2952, allocations: 385.8 kB / 457.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.2964, allocations: 0.5184 MB / 458.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2964, allocations: 0.5625 kB / 458.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005507/0.297, allocations: 262.3 kB / 458.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007506/0.2977, allocations: 135.7 kB / 458.7 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.3004, allocations: 1.656 MB / 460.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.301, allocations: 0.9708 MB / 461.3 MB, free: 6.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.3013, allocations: 63.42 kB / 461.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3013, allocations: 4 kB / 461.4 MB, free: 6.172 MB / 366.1 MB Notification: Performance of Templates: time 0.01532/0.3166, allocations: 10.16 MB / 471.5 MB, free: 12.06 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.037403255933896]