Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009875/0.0009875, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009426/0.0009426, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9448/0.9448, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.607e-05, allocations: 3.281 kB / 273.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004281/0.004297, allocations: 4.621 MB / 278.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.006626, allocations: 2.023 MB / 280.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.006873, allocations: 11.94 kB / 280.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.007409, allocations: 422.1 kB / 280.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006318/0.008041, allocations: 481.1 kB / 281 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.008472, allocations: 319.3 kB / 281.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.009227, allocations: 1.075 MB / 282.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.009476, allocations: 201 kB / 282.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.009992, allocations: 0.612 MB / 283.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.01037, allocations: 427 kB / 283.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.01045, allocations: 96 kB / 283.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.0106, allocations: 120 kB / 283.9 MB, free: 10 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.01072, allocations: 243.2 kB / 284.1 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.01091, allocations: 295.2 kB / 284.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.01145, allocations: 0.7279 MB / 285.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.01146, allocations: 0 / 285.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.01146, allocations: 0 / 285.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.01146, allocations: 0 / 285.1 MB, free: 8.742 MB / 266.7 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.001024/0.01249, allocations: 1.102 MB / 286.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.01252, allocations: 15.98 kB / 286.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.01278, allocations: 140.8 kB / 286.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.01316, allocations: 394 kB / 286.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.01319, allocations: 49.62 kB / 286.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.01325, allocations: 64.12 kB / 286.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.01369, allocations: 485.8 kB / 287.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.01371, allocations: 3.984 kB / 287.3 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.01374, allocations: 24 kB / 287.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.01375, allocations: 16 kB / 287.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.01398, allocations: 189 kB / 287.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.01552, allocations: 1.44 MB / 289 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.0158, allocations: 252.6 kB / 289.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.016, allocations: 150.2 kB / 289.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.01603, allocations: 12.48 kB / 289.4 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.01605, allocations: 43.06 kB / 289.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.603e-06/0.01605, allocations: 0 / 289.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.001153/0.0172, allocations: 0.7433 MB / 290.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.01723, allocations: 60 kB / 290.2 MB, free: 3.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.01763, allocations: 0.642 MB / 290.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.01765, allocations: 37.7 kB / 290.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.01778, allocations: 322.4 kB / 291.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.01787, allocations: 218.1 kB / 291.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.01799, allocations: 130.5 kB / 291.6 MB, free: 2.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.01809, allocations: 394.6 kB / 292 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.01818, allocations: 61.97 kB / 292 MB, free: 1.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.01832, allocations: 171.1 kB / 292.2 MB, free: 1.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.01858, allocations: 288.1 kB / 292.5 MB, free: 1.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01858, allocations: 0 / 292.5 MB, free: 1.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003415/0.01892, allocations: 337.1 kB / 292.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01893, allocations: 15.92 kB / 292.8 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01894, allocations: 4 kB / 292.8 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.01895, allocations: 4 kB / 292.8 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.01933, allocations: 183.9 kB / 293 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01934, allocations: 7.984 kB / 293 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.01951, allocations: 24 kB / 293 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.01953, allocations: 19.98 kB / 293.1 MB, free: 0.5117 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 (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.0001246/0.01966, allocations: 148.5 kB / 293.2 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.01973, allocations: 67.94 kB / 293.3 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.02007, allocations: 329.2 kB / 293.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.02007, allocations: 11.94 kB / 293.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.02007, allocations: 3.938 kB / 293.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.02008, allocations: 0 / 293.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.021, allocations: 0.9219 MB / 294.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.021, allocations: 0 / 294.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.02128, allocations: 135.8 kB / 294.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.02128, allocations: 4 kB / 294.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.0213, allocations: 16 kB / 294.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.0213, allocations: 4 kB / 294.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.02131, allocations: 4 kB / 294.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.02161, allocations: 448.5 kB / 295.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.02172, allocations: 79.47 kB / 295.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.02177, allocations: 15.98 kB / 295.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.02192, allocations: 20 kB / 295.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.02198, allocations: 56.28 kB / 295.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.022, allocations: 16 kB / 295.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.02223, allocations: 327.4 kB / 295.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02223, allocations: 0 / 295.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.02252, allocations: 155.9 kB / 295.8 MB, free: 13.65 MB / 282.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 (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.000883/0.0234, allocations: 464.5 kB / 296.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.02371, allocations: 287 kB / 296.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.02372, allocations: 11.94 kB / 296.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.02385, allocations: 144.8 kB / 296.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.02423, allocations: 150 kB / 296.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.02565, allocations: 1.36 MB / 298.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.02576, allocations: 168.2 kB / 298.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.02596, allocations: 84.97 kB / 298.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.02622, allocations: 181.2 kB / 298.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02622, allocations: 0 / 298.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of Templates: time 0.01062/0.03683, allocations: 8.42 MB / 307 MB, free: 2.676 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8003262989223003]