Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001507/0.002563, allocations: 449.9 kB / 10.44 MB, free: 248 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006924/0.0006924, allocations: 144.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002215, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8813/0.8813, allocations: 173.4 MB / 185.9 MB, free: 8.914 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07404/0.9554, allocations: 52.5 MB / 238.4 MB, free: 4.355 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 239.7 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.394e-05, allocations: 5.828 kB / 239.7 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004054/0.004068, allocations: 4.586 MB / 244.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.005754, allocations: 1.838 MB / 246.1 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.005917, allocations: 11.94 kB / 246.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.006344, allocations: 418.1 kB / 246.6 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.006762, allocations: 429.4 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.007114, allocations: 319.2 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006252/0.007739, allocations: 1.047 MB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.007951, allocations: 201 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000498/0.008449, allocations: 0.6834 MB / 249.2 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.008778, allocations: 419 kB / 249.6 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.008856, allocations: 92 kB / 249.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.008988, allocations: 120 kB / 249.8 MB, free: 8.918 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.0091, allocations: 187.4 kB / 250 MB, free: 8.734 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.009262, allocations: 251.4 kB / 250.3 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.009739, allocations: 0.65 MB / 250.9 MB, free: 7.836 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.009749, allocations: 0 / 250.9 MB, free: 7.836 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00975, allocations: 7.938 kB / 250.9 MB, free: 7.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.009762, allocations: 0 / 250.9 MB, free: 7.828 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.00114/0.0109, allocations: 1.254 MB / 252.2 MB, free: 6.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.01093, allocations: 8.031 kB / 252.2 MB, free: 6.535 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.01103, allocations: 108.8 kB / 252.3 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.0114, allocations: 385.2 kB / 252.7 MB, free: 6.027 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.01144, allocations: 49.69 kB / 252.7 MB, free: 5.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.01149, allocations: 60.38 kB / 252.8 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.01194, allocations: 494.4 kB / 253.3 MB, free: 5.414 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.01196, allocations: 7.875 kB / 253.3 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.01199, allocations: 24 kB / 253.3 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.012, allocations: 16 kB / 253.3 MB, free: 5.367 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.01222, allocations: 177.1 kB / 253.5 MB, free: 5.191 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.01371, allocations: 1.459 MB / 254.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.01397, allocations: 232.7 kB / 255.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.01416, allocations: 157.4 kB / 255.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.01419, allocations: 8.5 kB / 255.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.01421, allocations: 46.94 kB / 255.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.443e-06/0.01421, allocations: 0 / 255.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001131/0.01534, allocations: 0.7681 MB / 256.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.01537, allocations: 55.91 kB / 256.2 MB, free: 2.387 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.01573, allocations: 0.6265 MB / 256.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.01575, allocations: 33.7 kB / 256.9 MB, free: 1.703 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.01586, allocations: 325.7 kB / 257.2 MB, free: 1.383 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.01595, allocations: 214.1 kB / 257.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.01606, allocations: 122.6 kB / 257.5 MB, free: 1.043 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.01615, allocations: 394.5 kB / 257.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.01624, allocations: 65.97 kB / 257.9 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.01636, allocations: 171.1 kB / 258.1 MB, free: 400 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.01662, allocations: 299.5 kB / 258.4 MB, free: 68 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01662, allocations: 0 / 258.4 MB, free: 68 kB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003301/0.01695, allocations: 345 kB / 258.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01696, allocations: 4 kB / 258.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01697, allocations: 4 kB / 258.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.01698, allocations: 4 kB / 258.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.01737, allocations: 195.7 kB / 258.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01738, allocations: 8.281 kB / 259 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.01754, allocations: 31.92 kB / 259 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.01756, allocations: 20 kB / 259 MB, free: 15.46 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.0001217/0.01768, allocations: 148.5 kB / 259.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.01775, allocations: 67.88 kB / 259.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.01807, allocations: 314.2 kB / 259.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01807, allocations: 4 kB / 259.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01807, allocations: 0 / 259.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01808, allocations: 11.98 kB / 259.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008782/0.01895, allocations: 0.913 MB / 260.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.01896, allocations: 4.312 kB / 260.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.01923, allocations: 147.8 kB / 260.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.01933, allocations: 75.45 kB / 260.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.01934, allocations: 4 kB / 260.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.01936, allocations: 19.98 kB / 260.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.01936, allocations: 8 kB / 260.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.01937, allocations: 7.938 kB / 260.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.01965, allocations: 437.3 kB / 261.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.01969, allocations: 12 kB / 261.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.01985, allocations: 23.98 kB / 261.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.01991, allocations: 52.3 kB / 261.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.01992, allocations: 16 kB / 261.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.02013, allocations: 323.4 kB / 261.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02013, allocations: 0 / 261.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002744/0.02041, allocations: 148 kB / 261.7 MB, free: 12.63 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.0009491/0.02136, allocations: 0.4902 MB / 262.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.02165, allocations: 295 kB / 262.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/0.02167, allocations: 11.94 kB / 262.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.02184, allocations: 185.5 kB / 262.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.02247, allocations: 1.027 MB / 263.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.02518, allocations: 1.396 MB / 265.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.02528, allocations: 164.1 kB / 265.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.02547, allocations: 88.88 kB / 265.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.0257, allocations: 169.3 kB / 265.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0257, allocations: 0 / 265.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of Templates: time 0.01014/0.03584, allocations: 8.386 MB / 273.9 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5258561288937926]