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.001153/0.001153, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.000875/0.000875, allocations: 164.2 kB / 25.45 MB, free: 9.348 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 0.9099/0.9099, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.954e-06/1.954e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.688e-05, allocations: 6.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.0059/0.005927, allocations: 4.109 MB / 303.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.008581, allocations: 1.672 MB / 305.5 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.008865, allocations: 11.94 kB / 305.5 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007409/0.009606, allocations: 422.1 kB / 305.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007621/0.01037, allocations: 437.5 kB / 306.3 MB, free: 240 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.01092, allocations: 299.3 kB / 306.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000973/0.01189, allocations: 1.055 MB / 307.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003525/0.01225, allocations: 191 kB / 307.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/0.01284, allocations: 0.5887 MB / 308.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005244/0.01336, allocations: 442.9 kB / 308.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.01348, allocations: 96 kB / 309 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.01367, allocations: 123.9 kB / 309.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.01387, allocations: 247.1 kB / 309.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.01414, allocations: 303.1 kB / 309.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.01548, allocations: 1.301 MB / 310.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01548, allocations: 0 / 310.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01548, allocations: 0 / 310.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.01549, allocations: 0 / 310.9 MB, free: 11.61 MB / 298.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.001873/0.01736, allocations: 1.139 MB / 312.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.01741, allocations: 12.03 kB / 312.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.01756, allocations: 104.3 kB / 312.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008743/0.01844, allocations: 0.5023 MB / 312.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.01849, allocations: 45.69 kB / 312.7 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.01859, allocations: 60.38 kB / 312.8 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.01974, allocations: 0.6736 MB / 313.5 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.01977, allocations: 15.83 kB / 313.5 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.01983, allocations: 24 kB / 313.5 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.01984, allocations: 16 kB / 313.5 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.02101, allocations: 0.5478 MB / 314.1 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.0242, allocations: 1.994 MB / 316.1 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008831/0.02508, allocations: 446.5 kB / 316.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006097/0.02569, allocations: 286.2 kB / 316.8 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.02573, allocations: 8.438 kB / 316.8 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.02575, allocations: 46.94 kB / 316.8 MB, free: 5.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.02576, allocations: 0 / 316.8 MB, free: 5.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.00348/0.02924, allocations: 1.496 MB / 318.3 MB, free: 4.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.02928, allocations: 63.84 kB / 318.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/0.03023, allocations: 0.883 MB / 319.3 MB, free: 3.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.03027, allocations: 37.7 kB / 319.3 MB, free: 3.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.03054, allocations: 408.5 kB / 319.7 MB, free: 2.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.03068, allocations: 214.2 kB / 319.9 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.03087, allocations: 114.6 kB / 320 MB, free: 2.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.03102, allocations: 386.8 kB / 320.4 MB, free: 1.922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.03157, allocations: 245.9 kB / 320.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.03218, allocations: 343.1 kB / 321 MB, free: 1.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.03326, allocations: 0.5749 MB / 321.6 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.03326, allocations: 0 / 321.6 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000922/0.03419, allocations: 0.7233 MB / 322.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.0342, allocations: 8 kB / 322.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.03421, allocations: 0 / 322.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.03423, allocations: 8 kB / 322.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.03462, allocations: 167.8 kB / 322.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.03463, allocations: 19.98 kB / 322.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.03484, allocations: 35.91 kB / 322.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.03487, allocations: 35.92 kB / 322.6 MB, free: 15.71 MB / 314.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.0002281/0.0351, allocations: 261.6 kB / 322.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.03516, allocations: 75.53 kB / 322.9 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008121/0.03598, allocations: 0.6339 MB / 323.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.03598, allocations: 4 kB / 323.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.03599, allocations: 3.938 kB / 323.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.036, allocations: 7.969 kB / 323.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.03774, allocations: 1.486 MB / 325 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.03774, allocations: 0 / 325 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.03802, allocations: 135.8 kB / 325.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.03802, allocations: 4 kB / 325.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.03804, allocations: 12 kB / 325.2 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.03805, allocations: 12.25 kB / 325.2 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.03805, allocations: 11.88 kB / 325.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.03877, allocations: 0.7381 MB / 325.9 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.03891, allocations: 123.5 kB / 326.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.03896, allocations: 12 kB / 326.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.03915, allocations: 35.97 kB / 326.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.03922, allocations: 48.36 kB / 326.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.03924, allocations: 19.98 kB / 326.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004372/0.03968, allocations: 0.6396 MB / 326.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.03968, allocations: 0 / 326.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.04001, allocations: 151.9 kB / 327 MB, free: 11.17 MB / 314.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.0005825/0.0406, allocations: 397.5 kB / 327.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007306/0.04133, allocations: 0.5497 MB / 327.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.04133, allocations: 0 / 327.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.04166, allocations: 283.7 kB / 328.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.04209, allocations: 130.8 kB / 328.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.04366, allocations: 1.573 MB / 329.9 MB, free: 8.195 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.04389, allocations: 367 kB / 330.2 MB, free: 7.809 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.04403, allocations: 60.48 kB / 330.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.04403, allocations: 0 / 330.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of Templates: time 0.00825/0.05228, allocations: 10.01 MB / 340.3 MB, free: 13.72 MB / 330.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=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: 5.004433203488588]