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.007914/0.007914, allocations: 109.9 kB / 21.98 MB, free: 5.199 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.002029/0.002029, allocations: 216.4 kB / 25.29 MB, free: 3.207 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.562/1.562, allocations: 230.6 MB / 259 MB, free: 8.031 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.00196/0.00196, allocations: 60.12 kB / 379.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2316, allocations: 53.37 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006835/0.2384, allocations: 4.709 MB / 437.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003643/0.2421, allocations: 2.018 MB / 439.9 MB, free: 236 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/0.2425, allocations: 19.88 kB / 439.9 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.2434, allocations: 422.2 kB / 440.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009962/0.2444, allocations: 473.4 kB / 440.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000712/0.2451, allocations: 330.5 kB / 441.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.2463, allocations: 1.04 MB / 442.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.2466, allocations: 215 kB / 442.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005827/0.2472, allocations: 434.7 kB / 442.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006676/0.2479, allocations: 0.5255 MB / 443.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.248, allocations: 100 kB / 443.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.2482, allocations: 136 kB / 443.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.2485, allocations: 243.1 kB / 443.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.2489, allocations: 465.6 kB / 444.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.2503, allocations: 1.301 MB / 445.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2503, allocations: 4 kB / 445.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2503, allocations: 0 / 445.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.2504, allocations: 3.938 kB / 445.5 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.002243/0.2526, allocations: 1.162 MB / 446.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2526, allocations: 8.031 kB / 446.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/0.2531, allocations: 132.2 kB / 446.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009708/0.2541, allocations: 0.5192 MB / 447.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/0.2542, allocations: 45.31 kB / 447.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.2543, allocations: 63.98 kB / 447.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2555, allocations: 0.6285 MB / 448.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.2555, allocations: 3.938 kB / 448.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.2556, allocations: 32 kB / 448.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.2556, allocations: 12 kB / 448.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.2568, allocations: 0.5205 MB / 448.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.2607, allocations: 2.472 MB / 451.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009485/0.2617, allocations: 442.1 kB / 451.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/0.2623, allocations: 267 kB / 451.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.2624, allocations: 8.422 kB / 451.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.2624, allocations: 42.94 kB / 451.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.944e-06/0.2624, allocations: 0 / 451.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004393/0.2668, allocations: 1.46 MB / 453.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.2668, allocations: 64.06 kB / 453.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.2681, allocations: 0.9615 MB / 454.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.2682, allocations: 37.7 kB / 454.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.2685, allocations: 412.8 kB / 454.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.2687, allocations: 230 kB / 455 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.2689, allocations: 118.6 kB / 455.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2691, allocations: 330 kB / 455.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.2696, allocations: 229.9 kB / 455.7 MB, free: 148 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.2703, allocations: 323.1 kB / 456 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2714, allocations: 0.5521 MB / 456.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2714, allocations: 3.938 kB / 456.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001512/0.2729, allocations: 0.7113 MB / 457.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.273, allocations: 8 kB / 457.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.273, allocations: 4 kB / 457.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.273, allocations: 4 kB / 457.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007841/0.2738, allocations: 176 kB / 457.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.2738, allocations: 11.94 kB / 457.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/0.2743, allocations: 35.91 kB / 457.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.2743, allocations: 24 kB / 457.5 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.0004044/0.2747, allocations: 273.5 kB / 457.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.2749, allocations: 87.44 kB / 457.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.2762, allocations: 0.615 MB / 458.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.2762, allocations: 4 kB / 458.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2763, allocations: 3.938 kB / 458.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.2763, allocations: 3.984 kB / 458.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.2793, allocations: 1.748 MB / 460.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.2793, allocations: 8 kB / 460.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.2799, allocations: 124.2 kB / 460.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.2799, allocations: 11.98 kB / 460.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.2799, allocations: 16 kB / 460.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.2799, allocations: 7.938 kB / 460.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.2799, allocations: 4 kB / 460.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.2812, allocations: 0.7299 MB / 461.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.2815, allocations: 135.4 kB / 461.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.2816, allocations: 16 kB / 461.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.282, allocations: 23.98 kB / 461.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.2821, allocations: 56.22 kB / 461.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.2821, allocations: 24 kB / 461.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009101/0.283, allocations: 0.6982 MB / 462.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.283, allocations: 0 / 462.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000571/0.2836, allocations: 155.9 kB / 462.3 MB, free: 9.328 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.001349/0.285, allocations: 378.6 kB / 462.6 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.2863, allocations: 0.5194 MB / 463.1 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.2863, allocations: 8.188 kB / 463.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.2868, allocations: 254.3 kB / 463.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/0.2876, allocations: 135.8 kB / 463.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.2905, allocations: 1.658 MB / 465.2 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.2912, allocations: 0.9709 MB / 466.2 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.2914, allocations: 67.42 kB / 466.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2914, allocations: 0 / 466.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of Templates: time 0.01735/0.3088, allocations: 10.16 MB / 476.4 MB, free: 11.28 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/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_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.51220131199807]