Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001207/0.001207, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.002825, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001109/0.001109, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.002172, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.008/1.008, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1652/1.173, allocations: 49.48 MB / 220.5 MB, free: 1.445 MB / 218.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.587e-05, allocations: 6.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006016/0.006042, allocations: 6.188 MB / 228 MB, free: 9.945 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.0102, allocations: 2.197 MB / 230.2 MB, free: 7.734 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006792/0.01088, allocations: 23.88 kB / 230.2 MB, free: 7.711 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.0116, allocations: 353.7 kB / 230.6 MB, free: 7.363 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.0128, allocations: 0.508 MB / 231.1 MB, free: 6.852 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.01359, allocations: 431.3 kB / 231.5 MB, free: 6.43 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.01528, allocations: 1.572 MB / 233.1 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004956/0.01578, allocations: 341.9 kB / 233.4 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.01699, allocations: 0.9931 MB / 234.4 MB, free: 3.5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/0.01764, allocations: 0.5337 MB / 235 MB, free: 2.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.01782, allocations: 156 kB / 235.1 MB, free: 2.812 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.01811, allocations: 176 kB / 235.3 MB, free: 2.641 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.01835, allocations: 255.2 kB / 235.5 MB, free: 2.391 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.01879, allocations: 383.3 kB / 235.9 MB, free: 2.016 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.02044, allocations: 0.9344 MB / 236.8 MB, free: 1.078 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.16e-05/0.02047, allocations: 0 / 236.8 MB, free: 1.078 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.02047, allocations: 0 / 236.8 MB, free: 1.078 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.0205, allocations: 0 / 236.8 MB, free: 1.078 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001815/0.02231, allocations: 1.655 MB / 238.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.02235, allocations: 8.031 kB / 238.5 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.02253, allocations: 172.8 kB / 238.7 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.0231, allocations: 453.7 kB / 239.1 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.02316, allocations: 74.38 kB / 239.2 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.02326, allocations: 100.4 kB / 239.3 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007829/0.02404, allocations: 0.7478 MB / 240 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.02407, allocations: 15.89 kB / 240 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.02412, allocations: 40 kB / 240.1 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.02413, allocations: 23.98 kB / 240.1 MB, free: 13.72 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.02452, allocations: 276 kB / 240.4 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.02725, allocations: 2.099 MB / 242.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.02801, allocations: 444.5 kB / 242.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.02818, allocations: 145.5 kB / 243.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.02823, allocations: 12 kB / 243.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.02826, allocations: 46.86 kB / 243.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 3.827e-06/0.02827, allocations: 0 / 243.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.001886/0.03015, allocations: 0.8381 MB / 243.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.0302, allocations: 85.11 kB / 244 MB, free: 9.648 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004904/0.03069, allocations: 0.6575 MB / 244.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.03072, allocations: 33.7 kB / 244.7 MB, free: 8.934 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.0309, allocations: 473.6 kB / 245.2 MB, free: 8.465 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.03102, allocations: 241.9 kB / 245.4 MB, free: 8.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.03117, allocations: 158.5 kB / 245.6 MB, free: 8.066 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.0313, allocations: 398.6 kB / 246 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.03142, allocations: 81.95 kB / 246 MB, free: 7.586 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.03163, allocations: 282.9 kB / 246.3 MB, free: 7.234 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.03199, allocations: 438.5 kB / 246.7 MB, free: 6.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.032, allocations: 4 kB / 246.8 MB, free: 6.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0004899/0.03249, allocations: 453.8 kB / 247.2 MB, free: 6.273 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.03251, allocations: 8 kB / 247.2 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.03252, allocations: 8 kB / 247.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.03253, allocations: 8 kB / 247.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.03316, allocations: 292.3 kB / 247.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.03317, allocations: 19.92 kB / 247.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.03346, allocations: 43.97 kB / 247.6 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.0335, allocations: 31.98 kB / 247.6 MB, free: 5.871 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0001854/0.03368, allocations: 176.5 kB / 247.8 MB, free: 5.688 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.03377, allocations: 75.92 kB / 247.8 MB, free: 5.613 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.03402, allocations: 197.1 kB / 248 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.03402, allocations: 8 kB / 248 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.03403, allocations: 0 / 248 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.03404, allocations: 3.984 kB / 248 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.03552, allocations: 1.19 MB / 249.2 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.03553, allocations: 8 kB / 249.2 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.03595, allocations: 207.6 kB / 249.4 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.03605, allocations: 79.42 kB / 249.5 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.03606, allocations: 12.22 kB / 249.5 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.03609, allocations: 23.94 kB / 249.6 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.0361, allocations: 15.92 kB / 249.6 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.03611, allocations: 8 kB / 249.6 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.03692, allocations: 0.6395 MB / 250.2 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.03699, allocations: 24 kB / 250.2 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.03723, allocations: 43.91 kB / 250.3 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.03731, allocations: 63.78 kB / 250.4 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.03733, allocations: 23.94 kB / 250.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002524/0.03758, allocations: 315.4 kB / 250.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.03758, allocations: 0 / 250.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005205/0.0381, allocations: 208 kB / 250.9 MB, free: 2.352 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.001154/0.03926, allocations: 497.1 kB / 251.4 MB, free: 1.902 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005207/0.03978, allocations: 381.5 kB / 251.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.253e-05/0.03982, allocations: 16.5 kB / 251.8 MB, free: 1.516 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.04, allocations: 172.3 kB / 251.9 MB, free: 1.348 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.04068, allocations: 279 kB / 252.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.04465, allocations: 1.776 MB / 254 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.04483, allocations: 184.6 kB / 254.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004436/0.04528, allocations: 110.4 kB / 254.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.04564, allocations: 221.2 kB / 254.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of SimCode: time 3.075e-06/0.04564, allocations: 0 / 254.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Templates: time 0.01888/0.06453, allocations: 11.36 MB / 265.8 MB, free: 3.258 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.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.9537868527695537]