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.001857/0.001857, allocations: 91.67 kB / 21.73 MB, free: 2.543 MB / 18.57 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.00204/0.00204, allocations: 162.1 kB / 25.03 MB, free: 8.562 MB / 18.57 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.381/1.381, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 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 1.453e-06/1.453e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.208e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00727/0.007302, allocations: 4.452 MB / 254.8 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.01104, allocations: 1.731 MB / 256.6 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004852/0.01152, allocations: 15.88 kB / 256.6 MB, free: 1.598 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008828/0.01241, allocations: 418.2 kB / 257 MB, free: 1.188 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009351/0.01334, allocations: 429.5 kB / 257.4 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.01403, allocations: 311.4 kB / 257.7 MB, free: 472 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.01539, allocations: 1.047 MB / 258.8 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.01578, allocations: 191.1 kB / 258.9 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007895/0.01657, allocations: 0.5847 MB / 259.5 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/0.01725, allocations: 454.9 kB / 260 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.01741, allocations: 100 kB / 260.1 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.01767, allocations: 131.9 kB / 260.2 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.01796, allocations: 239.2 kB / 260.4 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.01836, allocations: 295.3 kB / 260.7 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.02007, allocations: 1.297 MB / 262 MB, free: 12.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.02007, allocations: 0 / 262 MB, free: 12.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02007, allocations: 0 / 262 MB, free: 12.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.02009, allocations: 0 / 262 MB, free: 12.14 MB / 250.7 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.002671/0.02276, allocations: 1.324 MB / 263.3 MB, free: 10.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.0228, allocations: 8.031 kB / 263.3 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.02308, allocations: 148.3 kB / 263.5 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.02408, allocations: 0.509 MB / 264 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/0.02415, allocations: 45.69 kB / 264 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.02427, allocations: 72.23 kB / 264.1 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.02566, allocations: 0.6937 MB / 264.8 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.02569, allocations: 3.938 kB / 264.8 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.02575, allocations: 24 kB / 264.8 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.02577, allocations: 16 kB / 264.8 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.027, allocations: 0.5087 MB / 265.4 MB, free: 8.699 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.03199, allocations: 2.632 MB / 268 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.03299, allocations: 447 kB / 268.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/0.03372, allocations: 273.1 kB / 268.7 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.848e-05/0.03379, allocations: 12.44 kB / 268.7 MB, free: 5.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.03384, allocations: 49.88 kB / 268.8 MB, free: 5.184 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/0.03384, allocations: 3.938 kB / 268.8 MB, free: 5.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.004195/0.03804, allocations: 1.313 MB / 270.1 MB, free: 3.867 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.0381, allocations: 63.84 kB / 270.1 MB, free: 3.793 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.03949, allocations: 0.8705 MB / 271 MB, free: 2.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.03955, allocations: 37.7 kB / 271 MB, free: 2.867 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.0401, allocations: 0.4953 MB / 271.5 MB, free: 2.363 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.04038, allocations: 242.1 kB / 271.8 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.04071, allocations: 144.3 kB / 271.9 MB, free: 1.977 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0005827/0.04129, allocations: 0.6211 MB / 272.5 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.04193, allocations: 221.9 kB / 272.8 MB, free: 1.125 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007924/0.04272, allocations: 367.4 kB / 273.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.04399, allocations: 0.5753 MB / 273.7 MB, free: 108 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.04399, allocations: 0 / 273.7 MB, free: 108 kB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001765/0.04576, allocations: 0.7037 MB / 274.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.04578, allocations: 4 kB / 274.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.0458, allocations: 4 kB / 274.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.04583, allocations: 4 kB / 274.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.04663, allocations: 176 kB / 274.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.04665, allocations: 7.938 kB / 274.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.04718, allocations: 27.98 kB / 274.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.04724, allocations: 27.98 kB / 274.6 MB, free: 15.15 MB / 266.7 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.0004509/0.04769, allocations: 256.4 kB / 274.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.04787, allocations: 99.48 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.04928, allocations: 0.5676 MB / 275.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.04929, allocations: 8 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.04929, allocations: 3.938 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.0493, allocations: 3.984 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.05264, allocations: 1.722 MB / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.05265, allocations: 4 kB / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.05318, allocations: 115.9 kB / 277.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/0.0532, allocations: 8 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.05324, allocations: 19.98 kB / 277.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.05325, allocations: 12.19 kB / 277.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.05326, allocations: 11.94 kB / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.05467, allocations: 0.8053 MB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.05494, allocations: 119.4 kB / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/0.05503, allocations: 16 kB / 278.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.05539, allocations: 23.98 kB / 278.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.05551, allocations: 56.3 kB / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.05556, allocations: 23.98 kB / 278.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007584/0.05632, allocations: 0.5498 MB / 279 MB, free: 10.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05632, allocations: 0 / 279 MB, free: 10.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005918/0.05691, allocations: 148 kB / 279.2 MB, free: 10.42 MB / 266.7 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.00255/0.05946, allocations: 394 kB / 279.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.06079, allocations: 0.5631 MB / 280.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.0608, allocations: 0.5625 kB / 280.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.06139, allocations: 295.3 kB / 280.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007804/0.06217, allocations: 131.4 kB / 280.6 MB, free: 9.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.0649, allocations: 1.454 MB / 282 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.06535, allocations: 355 kB / 282.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003799/0.06573, allocations: 96.81 kB / 282.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.06592, allocations: 56.48 kB / 282.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.06592, allocations: 3.938 kB / 282.5 MB, free: 7.027 MB / 266.7 MB Notification: Performance of Templates: time 0.01699/0.08291, allocations: 7.487 MB / 290 MB, free: 15.52 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] 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.701523164054379]