Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001333/0.001333, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001463/0.001463, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.5 MB / 258.1 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.89 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2482, allocations: 53.41 MB / 432.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006569/0.2547, allocations: 4.724 MB / 437.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.2584, allocations: 2.014 MB / 439.2 MB, free: 32 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005254/0.2589, allocations: 19.88 kB / 439.2 MB, free: 12 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008558/0.2598, allocations: 418.3 kB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.2608, allocations: 477.5 kB / 440.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007494/0.2616, allocations: 319.5 kB / 440.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.2629, allocations: 1.039 MB / 441.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.2632, allocations: 211.1 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006261/0.2639, allocations: 442.5 kB / 442.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006854/0.2645, allocations: 0.5294 MB / 442.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.2647, allocations: 100 kB / 442.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.2649, allocations: 132 kB / 442.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.2652, allocations: 247.1 kB / 443.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.2656, allocations: 457.6 kB / 443.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.2671, allocations: 1.305 MB / 444.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2671, allocations: 0 / 444.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2671, allocations: 0 / 444.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.2671, allocations: 8 kB / 444.8 MB, free: 10.38 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.002312/0.2694, allocations: 1.162 MB / 446 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2694, allocations: 8.031 kB / 446 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005021/0.2699, allocations: 132.3 kB / 446.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.271, allocations: 0.5116 MB / 446.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.271, allocations: 45.69 kB / 446.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.2711, allocations: 63.94 kB / 446.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.2723, allocations: 0.6324 MB / 447.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.2723, allocations: 3.984 kB / 447.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.2724, allocations: 28 kB / 447.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.2724, allocations: 12 kB / 447.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.2736, allocations: 0.5204 MB / 447.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.2776, allocations: 2.468 MB / 450.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009416/0.2786, allocations: 445.1 kB / 450.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/0.2792, allocations: 277.5 kB / 451.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.2793, allocations: 4.438 kB / 451.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.2793, allocations: 42.98 kB / 451.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.194e-06/0.2793, allocations: 4 kB / 451.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004411/0.2837, allocations: 1.456 MB / 452.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.2838, allocations: 60.06 kB / 452.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.285, allocations: 0.9654 MB / 453.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.2851, allocations: 37.7 kB / 453.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.2854, allocations: 412.7 kB / 454.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.2856, allocations: 230 kB / 454.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.2858, allocations: 118.6 kB / 454.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2859, allocations: 338 kB / 454.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.2865, allocations: 229.9 kB / 455 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.2872, allocations: 327.1 kB / 455.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.2883, allocations: 0.5444 MB / 455.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2883, allocations: 0 / 455.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001564/0.2899, allocations: 0.7152 MB / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.2899, allocations: 8 kB / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2899, allocations: 0 / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.2899, allocations: 8.281 kB / 456.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.2908, allocations: 171.8 kB / 456.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.2908, allocations: 4 kB / 456.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.2913, allocations: 35.97 kB / 456.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.2913, allocations: 20 kB / 456.8 MB, free: 14.05 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.0003945/0.2917, allocations: 277.5 kB / 457.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2919, allocations: 91.38 kB / 457.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.2932, allocations: 0.615 MB / 457.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.2933, allocations: 4 kB / 457.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2933, allocations: 0 / 457.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.2933, allocations: 0 / 457.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.2963, allocations: 1.752 MB / 459.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.2963, allocations: 4 kB / 459.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.2968, allocations: 140 kB / 459.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.2969, allocations: 4 kB / 459.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.2969, allocations: 11.98 kB / 459.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.2969, allocations: 8 kB / 459.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2969, allocations: 3.938 kB / 459.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.2982, allocations: 0.7338 MB / 460.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.2986, allocations: 131.4 kB / 460.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.2987, allocations: 15.98 kB / 460.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.2991, allocations: 31.98 kB / 460.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2992, allocations: 48.3 kB / 460.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.2993, allocations: 27.97 kB / 460.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009202/0.3002, allocations: 0.6982 MB / 461.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3002, allocations: 0 / 461.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005767/0.3007, allocations: 155.9 kB / 461.5 MB, free: 9.137 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.001365/0.3021, allocations: 369.9 kB / 461.9 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3034, allocations: 0.5233 MB / 462.4 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3034, allocations: 0 / 462.4 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.3039, allocations: 258.2 kB / 462.7 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/0.3047, allocations: 142.1 kB / 462.8 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.3076, allocations: 1.65 MB / 464.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/0.3082, allocations: 0.9825 MB / 465.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.3085, allocations: 67.34 kB / 465.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3085, allocations: 0 / 465.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01675/0.3252, allocations: 10.17 MB / 475.7 MB, free: 11.04 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.176100626122206]