Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 85 kB / 21.44 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 162.5 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.649e-05/3.855e-05, allocations: 10.28 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006886/0.006924, allocations: 4.105 MB / 303.1 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.01026, allocations: 1.676 MB / 304.7 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.01062, allocations: 11.94 kB / 304.8 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008089/0.01143, allocations: 418.1 kB / 305.2 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009006/0.01233, allocations: 429.5 kB / 305.6 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.01301, allocations: 311.3 kB / 305.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.01434, allocations: 1.051 MB / 306.9 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000377/0.01471, allocations: 195 kB / 307.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007528/0.01547, allocations: 0.5887 MB / 307.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006372/0.0161, allocations: 442.9 kB / 308.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.01625, allocations: 99.94 kB / 308.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.01647, allocations: 119.9 kB / 308.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.01672, allocations: 247.1 kB / 308.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.01706, allocations: 295.3 kB / 308.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.01854, allocations: 1.301 MB / 310.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.01854, allocations: 4 kB / 310.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01854, allocations: 4 kB / 310.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.01856, allocations: 0 / 310.2 MB, free: 13.42 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002462/0.02102, allocations: 1.143 MB / 311.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.02107, allocations: 8.031 kB / 311.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.02125, allocations: 108.3 kB / 311.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.02229, allocations: 0.4984 MB / 312 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.02235, allocations: 41.69 kB / 312 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.02248, allocations: 60.38 kB / 312.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.02387, allocations: 0.6736 MB / 312.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.0239, allocations: 7.875 kB / 312.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.02397, allocations: 28 kB / 312.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.02398, allocations: 12 kB / 312.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.02536, allocations: 0.5478 MB / 313.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.02896, allocations: 2.009 MB / 315.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000997/0.02996, allocations: 442.5 kB / 315.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007347/0.03069, allocations: 282.2 kB / 316 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.03073, allocations: 12.44 kB / 316.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.03078, allocations: 39 kB / 316.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 2.084e-06/0.03078, allocations: 4 kB / 316.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004559/0.03534, allocations: 1.496 MB / 317.6 MB, free: 5.859 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.0354, allocations: 67.83 kB / 317.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.03647, allocations: 0.883 MB / 318.5 MB, free: 4.891 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.03652, allocations: 37.7 kB / 318.6 MB, free: 4.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.03684, allocations: 408.5 kB / 319 MB, free: 4.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.03702, allocations: 210.2 kB / 319.2 MB, free: 4.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.03724, allocations: 122.6 kB / 319.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002532/0.03749, allocations: 382.8 kB / 319.7 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.03814, allocations: 245.9 kB / 319.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/0.03885, allocations: 343.1 kB / 320.3 MB, free: 3.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.04022, allocations: 0.5671 MB / 320.8 MB, free: 2.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.04022, allocations: 4 kB / 320.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00174/0.04196, allocations: 0.7195 MB / 321.5 MB, free: 1.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.04199, allocations: 10.48 kB / 321.6 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.042, allocations: 4 kB / 321.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.04203, allocations: 7.938 kB / 321.6 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.04285, allocations: 171.8 kB / 321.7 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.04287, allocations: 12 kB / 321.7 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.04339, allocations: 43.89 kB / 321.8 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.04345, allocations: 27.98 kB / 321.8 MB, free: 1.523 MB / 302.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 (83): * Single equations (assignments): 83 * 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.0004107/0.04386, allocations: 261.6 kB / 322.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.04399, allocations: 79.48 kB / 322.2 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.04557, allocations: 0.63 MB / 322.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.04559, allocations: 8 kB / 322.8 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.0456, allocations: 7.938 kB / 322.8 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.0456, allocations: 3.984 kB / 322.8 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1725/0.2181, allocations: 1.478 MB / 324.3 MB, free: 33.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.2181, allocations: 3.312 kB / 324.3 MB, free: 33.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.2187, allocations: 135.2 kB / 324.4 MB, free: 33.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.2187, allocations: 4.062 kB / 324.4 MB, free: 33.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.2188, allocations: 15.47 kB / 324.4 MB, free: 33.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.2188, allocations: 5.453 kB / 324.4 MB, free: 33.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2188, allocations: 7.812 kB / 324.4 MB, free: 33.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.2202, allocations: 0.7351 MB / 325.2 MB, free: 33.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.2205, allocations: 125.2 kB / 325.3 MB, free: 33.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/0.2206, allocations: 10.66 kB / 325.3 MB, free: 33.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.221, allocations: 36.45 kB / 325.3 MB, free: 33.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.2212, allocations: 55.59 kB / 325.4 MB, free: 33.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.2213, allocations: 18.42 kB / 325.4 MB, free: 33.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.2223, allocations: 0.6417 MB / 326.1 MB, free: 33.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2223, allocations: 1.859 kB / 326.1 MB, free: 33.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006918/0.223, allocations: 149.8 kB / 326.2 MB, free: 33.02 MB / 302.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 (61): * Single equations (assignments): 61 * 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.001519/0.2245, allocations: 397.8 kB / 326.6 MB, free: 32.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.226, allocations: 0.5543 MB / 327.2 MB, free: 32.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.226, allocations: 1.812 kB / 327.2 MB, free: 32.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.2266, allocations: 272.8 kB / 327.4 MB, free: 32.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/0.2273, allocations: 119 kB / 327.5 MB, free: 32.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.2306, allocations: 1.538 MB / 329.1 MB, free: 31.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.2312, allocations: 364 kB / 329.4 MB, free: 31.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005482/0.2318, allocations: 97.5 kB / 329.5 MB, free: 31.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.232, allocations: 55.62 kB / 329.6 MB, free: 31.52 MB / 302.1 MB Notification: Performance of SimCode: time 1.654e-06/0.232, allocations: 0 / 329.6 MB, free: 31.52 MB / 302.1 MB Notification: Performance of Templates: time 0.01706/0.2491, allocations: 7.461 MB / 337 MB, free: 29.19 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.62199068069458]