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.001267/0.001267, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001356/0.001356, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.368/1.368, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.001934/0.001934, allocations: 71.83 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.228, allocations: 53.32 MB / 432.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006374/0.2344, allocations: 4.725 MB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.2377, allocations: 2.003 MB / 438.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/0.238, allocations: 11.94 kB / 438.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.2388, allocations: 422.2 kB / 439.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008836/0.2397, allocations: 481.5 kB / 439.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.2403, allocations: 319.5 kB / 440 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.2414, allocations: 1.036 MB / 441 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.2418, allocations: 210.6 kB / 441.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005161/0.2423, allocations: 418.7 kB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/0.2429, allocations: 0.5372 MB / 442.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.243, allocations: 96 kB / 442.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.2433, allocations: 135.9 kB / 442.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.2435, allocations: 239.1 kB / 442.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.2439, allocations: 469.5 kB / 443.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.2453, allocations: 1.309 MB / 444.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2453, allocations: 0 / 444.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2453, allocations: 0 / 444.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.2453, allocations: 0 / 444.4 MB, free: 10.93 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.002231/0.2475, allocations: 1.233 MB / 445.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2476, allocations: 8.031 kB / 445.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004872/0.248, allocations: 136.2 kB / 445.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009459/0.249, allocations: 0.5796 MB / 446.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.249, allocations: 45.31 kB / 446.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2491, allocations: 60 kB / 446.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.2503, allocations: 0.6284 MB / 447.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.2503, allocations: 7.984 kB / 447.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.2504, allocations: 27.94 kB / 447.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.2504, allocations: 20 kB / 447.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.2515, allocations: 0.5204 MB / 447.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.2555, allocations: 2.541 MB / 450.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/0.2564, allocations: 452.8 kB / 450.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/0.2571, allocations: 262 kB / 450.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.2571, allocations: 12.42 kB / 450.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.2572, allocations: 39 kB / 451 MB, free: 4.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.374e-06/0.2572, allocations: 0 / 451 MB, free: 4.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004298/0.2615, allocations: 1.455 MB / 452.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.2615, allocations: 59.97 kB / 452.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.2627, allocations: 0.9693 MB / 453.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.2627, allocations: 37.7 kB / 453.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.2631, allocations: 420.7 kB / 453.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.2633, allocations: 222.1 kB / 454.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.2635, allocations: 122.6 kB / 454.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2636, allocations: 334 kB / 454.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.2642, allocations: 221.9 kB / 454.8 MB, free: 252 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.2648, allocations: 335 kB / 455.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.2659, allocations: 0.5479 MB / 455.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2659, allocations: 0 / 455.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001458/0.2674, allocations: 0.7077 MB / 456.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.2674, allocations: 11.98 kB / 456.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2674, allocations: 0 / 456.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.2674, allocations: 11.94 kB / 456.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.2682, allocations: 167.8 kB / 456.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.2682, allocations: 8 kB / 456.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.2687, allocations: 32.05 kB / 456.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.2687, allocations: 27.98 kB / 456.6 MB, free: 14.35 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.0003663/0.2691, allocations: 273.6 kB / 456.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.2692, allocations: 83.44 kB / 456.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.2706, allocations: 0.6126 MB / 457.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.2706, allocations: 8 kB / 457.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2706, allocations: 0 / 457.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2706, allocations: 0 / 457.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.2735, allocations: 1.784 MB / 459.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2735, allocations: 4 kB / 459.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.2741, allocations: 131.8 kB / 459.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.2741, allocations: 7.984 kB / 459.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.2741, allocations: 19.94 kB / 459.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.2741, allocations: 4 kB / 459.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.2741, allocations: 4 kB / 459.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.2753, allocations: 0.7284 MB / 460.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.2756, allocations: 216.4 kB / 460.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.2757, allocations: 8 kB / 460.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.2761, allocations: 39.97 kB / 460.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.2762, allocations: 44.27 kB / 460.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.2763, allocations: 20 kB / 460.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008533/0.2771, allocations: 0.7021 MB / 461.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2771, allocations: 0 / 461.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005459/0.2777, allocations: 148 kB / 461.4 MB, free: 9.324 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.001288/0.279, allocations: 394.2 kB / 461.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.2802, allocations: 0.5184 MB / 462.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2802, allocations: 4 kB / 462.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.2807, allocations: 267.4 kB / 462.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.2815, allocations: 134.1 kB / 462.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.2841, allocations: 1.648 MB / 464.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.2848, allocations: 0.9708 MB / 465.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.285, allocations: 67.41 kB / 465.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.285, allocations: 0 / 465.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of Templates: time 0.01601/0.301, allocations: 10.17 MB / 475.6 MB, free: 11.26 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: 7.748003288172185]