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.001678/0.001678, allocations: 114.7 kB / 19.18 MB, free: 3.926 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.001953/0.001953, allocations: 210.6 kB / 22.13 MB, free: 0.9805 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.44/1.44, allocations: 230.2 MB / 255.1 MB, free: 15.23 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.002015/0.002015, allocations: 67.89 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09646, allocations: 53.32 MB / 427.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.2013/0.2977, allocations: 4.685 MB / 432.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.3014, allocations: 1.992 MB / 434.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003273/0.3018, allocations: 13.56 kB / 434.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.3025, allocations: 424.5 kB / 434.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007657/0.3032, allocations: 472.2 kB / 435.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.3038, allocations: 324.7 kB / 435.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009655/0.3047, allocations: 1.038 MB / 436.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.3051, allocations: 202.7 kB / 436.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.3056, allocations: 430.6 kB / 437.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006521/0.3063, allocations: 0.5287 MB / 437.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.3064, allocations: 98.44 kB / 438 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.3067, allocations: 135.3 kB / 438.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.3068, allocations: 240.1 kB / 438.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.3072, allocations: 464.5 kB / 438.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.3086, allocations: 1.31 MB / 440.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3086, allocations: 1.172 kB / 440.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3086, allocations: 0 / 440.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.3087, allocations: 1.062 kB / 440.1 MB, free: 6.355 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.002131/0.3108, allocations: 1.233 MB / 441.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3108, allocations: 12.81 kB / 441.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005027/0.3113, allocations: 129.8 kB / 441.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000876/0.3122, allocations: 0.5769 MB / 442.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.3123, allocations: 45.56 kB / 442.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.33e-05/0.3124, allocations: 67.12 kB / 442.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.3135, allocations: 0.6337 MB / 442.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.3135, allocations: 1.453 kB / 442.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.3135, allocations: 25.97 kB / 442.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.3136, allocations: 14.28 kB / 442.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.3146, allocations: 0.5253 MB / 443.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.3183, allocations: 2.548 MB / 445.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3194, allocations: 457.2 kB / 446.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/0.32, allocations: 265.2 kB / 446.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.3201, allocations: 18.39 kB / 446.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.3201, allocations: 33.28 kB / 446.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.565e-06/0.3201, allocations: 0 / 446.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004068/0.3241, allocations: 1.459 MB / 448.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.3242, allocations: 58.78 kB / 448.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.3254, allocations: 0.9657 MB / 449.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.3254, allocations: 35.83 kB / 449.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.3257, allocations: 417.7 kB / 449.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.3258, allocations: 222.9 kB / 449.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.326, allocations: 123.9 kB / 450 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.326, allocations: 331.9 kB / 450.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.3265, allocations: 225.1 kB / 450.5 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.327, allocations: 332.8 kB / 450.8 MB, free: 272 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.328, allocations: 0.5483 MB / 451.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.328, allocations: 5.375 kB / 451.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001467/0.3295, allocations: 0.7092 MB / 452.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3295, allocations: 10.28 kB / 452.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3295, allocations: 2.75 kB / 452.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3296, allocations: 5.5 kB / 452.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.3303, allocations: 172.7 kB / 452.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.3303, allocations: 6.156 kB / 452.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005366/0.3308, allocations: 30.91 kB / 452.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.3309, allocations: 27.84 kB / 452.3 MB, free: 15.62 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.0003656/0.3313, allocations: 265.4 kB / 452.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.3314, allocations: 95.48 kB / 452.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3327, allocations: 0.6069 MB / 453.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3327, allocations: 9.406 kB / 453.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3327, allocations: 4.969 kB / 453.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/0.3327, allocations: 3.328 kB / 453.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.3356, allocations: 1.783 MB / 455.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3357, allocations: 5.625 kB / 455.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.3362, allocations: 130.6 kB / 455.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.3362, allocations: 9.219 kB / 455.2 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.3362, allocations: 11.97 kB / 455.2 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3362, allocations: 6.734 kB / 455.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3362, allocations: 7.062 kB / 455.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.3375, allocations: 0.7311 MB / 456 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.3378, allocations: 209.8 kB / 456.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.3378, allocations: 15.25 kB / 456.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.3383, allocations: 29.48 kB / 456.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.3384, allocations: 53.45 kB / 456.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.3384, allocations: 20.5 kB / 456.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008863/0.3393, allocations: 0.7026 MB / 457 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3393, allocations: 1.094 kB / 457 MB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005641/0.3398, allocations: 148.9 kB / 457.2 MB, free: 13.04 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.001489/0.3413, allocations: 391 kB / 457.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.3426, allocations: 0.5177 MB / 458.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3426, allocations: 1.094 kB / 458.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.3431, allocations: 260.3 kB / 458.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.3438, allocations: 142.7 kB / 458.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.3465, allocations: 1.653 MB / 460.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.3472, allocations: 0.9711 MB / 461.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.3474, allocations: 62.3 kB / 461.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3474, allocations: 3.938 kB / 461.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01608/0.3635, allocations: 10.15 MB / 471.3 MB, free: 4.586 MB / 366.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.202419501030818]