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.001306/0.001306, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001365/0.001365, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.002012/0.002012, allocations: 64.77 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2433, allocations: 53.37 MB / 432.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006422/0.2497, allocations: 4.725 MB / 437.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.2536, allocations: 2.01 MB / 439.1 MB, free: 224 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.2541, allocations: 15.94 kB / 439.2 MB, free: 208 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007818/0.2549, allocations: 426.2 kB / 439.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009193/0.2558, allocations: 473.5 kB / 440 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.2566, allocations: 326.8 kB / 440.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.2578, allocations: 1.032 MB / 441.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.2582, allocations: 217 kB / 441.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.2587, allocations: 442.5 kB / 442 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.2594, allocations: 0.5255 MB / 442.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.2595, allocations: 100 kB / 442.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.2597, allocations: 132 kB / 442.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.26, allocations: 243.1 kB / 443 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004136/0.2604, allocations: 469.6 kB / 443.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.2618, allocations: 1.299 MB / 444.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2618, allocations: 0 / 444.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2618, allocations: 0 / 444.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.2618, allocations: 0 / 444.8 MB, free: 10.57 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.002161/0.264, allocations: 1.17 MB / 445.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.264, allocations: 8.031 kB / 446 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/0.2645, allocations: 128.2 kB / 446.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.2655, allocations: 0.5192 MB / 446.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.2656, allocations: 49.3 kB / 446.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.2657, allocations: 60 kB / 446.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.2669, allocations: 0.6285 MB / 447.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.267, allocations: 0 / 447.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.267, allocations: 24 kB / 447.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.267, allocations: 16 kB / 447.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2681, allocations: 0.5243 MB / 447.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/0.2722, allocations: 2.472 MB / 450.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/0.2731, allocations: 449.2 kB / 450.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.2737, allocations: 266 kB / 451.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.2737, allocations: 8.438 kB / 451.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.2738, allocations: 39 kB / 451.1 MB, free: 4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.492e-06/0.2738, allocations: 0 / 451.1 MB, free: 4 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.003949/0.2777, allocations: 1.46 MB / 452.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.2778, allocations: 60.06 kB / 452.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2789, allocations: 0.9654 MB / 453.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.279, allocations: 37.7 kB / 453.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.2793, allocations: 416.7 kB / 454 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.2795, allocations: 222.1 kB / 454.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.2797, allocations: 122.6 kB / 454.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2798, allocations: 337.9 kB / 454.7 MB, free: 368 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.2803, allocations: 221.9 kB / 454.9 MB, free: 144 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.281, allocations: 331.1 kB / 455.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.282, allocations: 0.5405 MB / 455.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.282, allocations: 4 kB / 455.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001419/0.2835, allocations: 0.7154 MB / 456.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2835, allocations: 8 kB / 456.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2835, allocations: 0 / 456.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.2835, allocations: 8 kB / 456.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/0.2843, allocations: 167.8 kB / 456.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2843, allocations: 4 kB / 456.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.2847, allocations: 36.03 kB / 456.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.2848, allocations: 31.97 kB / 456.8 MB, free: 14.24 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.0003507/0.2852, allocations: 277.5 kB / 457 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.2853, allocations: 87.44 kB / 457.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.2866, allocations: 0.615 MB / 457.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.2866, allocations: 8 kB / 457.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2866, allocations: 0 / 457.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2866, allocations: 3.984 kB / 457.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.2895, allocations: 1.745 MB / 459.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2895, allocations: 4 kB / 459.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.2901, allocations: 135.7 kB / 459.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.2901, allocations: 8 kB / 459.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.2902, allocations: 8 kB / 459.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.2902, allocations: 7.938 kB / 459.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2902, allocations: 4 kB / 459.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.2914, allocations: 0.734 MB / 460.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.2916, allocations: 135.4 kB / 460.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-05/0.2917, allocations: 12 kB / 460.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.2922, allocations: 39.97 kB / 460.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.2923, allocations: 44.3 kB / 460.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.2923, allocations: 20 kB / 460.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008989/0.2932, allocations: 0.7021 MB / 461.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2932, allocations: 0 / 461.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00059/0.2938, allocations: 151.9 kB / 461.5 MB, free: 9.336 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.001456/0.2952, allocations: 389.2 kB / 461.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.2965, allocations: 0.5229 MB / 462.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2965, allocations: 0 / 462.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005548/0.297, allocations: 259.5 kB / 462.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.2978, allocations: 131.2 kB / 462.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.3004, allocations: 1.617 MB / 464.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.301, allocations: 0.9709 MB / 465.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003714/0.3014, allocations: 109.1 kB / 465.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.3016, allocations: 55.42 kB / 465.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3016, allocations: 0 / 465.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of Templates: time 0.01637/0.318, allocations: 8.518 MB / 474 MB, free: 12.93 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/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-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: 5.002220282331109]