Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001034/0.001034, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001522/0.002556, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009392/0.0009392, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001335/0.002274, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8564/0.8564, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1459/1.002, allocations: 52.48 MB / 238.5 MB, free: 7.641 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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034e-05/1.149e-05, allocations: 2.969 kB / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.004554/0.004566, allocations: 6.262 MB / 246 MB, free: 96 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.00683, allocations: 2.255 MB / 248.3 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.007097, allocations: 20.62 kB / 248.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.00766, allocations: 359.6 kB / 248.6 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005483/0.008208, allocations: 0.5011 MB / 249.1 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.008664, allocations: 461.2 kB / 249.6 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008994/0.009563, allocations: 1.577 MB / 251.2 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.009889, allocations: 345.9 kB / 251.5 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.01081, allocations: 0.9899 MB / 252.5 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.01123, allocations: 0.5188 MB / 253 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.01135, allocations: 156.5 kB / 253.2 MB, free: 8.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.01153, allocations: 188.6 kB / 253.3 MB, free: 8.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.01168, allocations: 255.3 kB / 253.6 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.01194, allocations: 388.9 kB / 254 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006902/0.01263, allocations: 0.9344 MB / 254.9 MB, free: 7.164 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.01264, allocations: 0 / 254.9 MB, free: 7.164 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01264, allocations: 4 kB / 254.9 MB, free: 7.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.01265, allocations: 0 / 254.9 MB, free: 7.16 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001456/0.01411, allocations: 1.64 MB / 256.5 MB, free: 5.488 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.01414, allocations: 19.97 kB / 256.6 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.01428, allocations: 164.8 kB / 256.7 MB, free: 5.309 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.01476, allocations: 469.6 kB / 257.2 MB, free: 4.824 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.01481, allocations: 70.38 kB / 257.3 MB, free: 4.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/0.0149, allocations: 100.3 kB / 257.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.01558, allocations: 0.7439 MB / 258.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.01561, allocations: 7.938 kB / 258.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.01565, allocations: 36 kB / 258.1 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.01567, allocations: 24 kB / 258.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.016, allocations: 272 kB / 258.4 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.01834, allocations: 2.115 MB / 260.5 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/0.01901, allocations: 439 kB / 261 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.01914, allocations: 142.2 kB / 261.1 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.01918, allocations: 19.98 kB / 261.1 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.0192, allocations: 46.73 kB / 261.2 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 1.553e-06/0.0192, allocations: 0 / 261.2 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.001151/0.02036, allocations: 0.8479 MB / 262 MB, free: 15.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.02039, allocations: 89.06 kB / 262.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.0208, allocations: 0.6496 MB / 262.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.02083, allocations: 37.7 kB / 262.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.02099, allocations: 473.6 kB / 263.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.02109, allocations: 237.9 kB / 263.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.02123, allocations: 162.5 kB / 263.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.02133, allocations: 398.6 kB / 264 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.02144, allocations: 85.89 kB / 264.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.02164, allocations: 289.8 kB / 264.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.022, allocations: 459.4 kB / 264.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02201, allocations: 0 / 264.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0004376/0.02244, allocations: 466.1 kB / 265.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.02246, allocations: 8 kB / 265.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.02247, allocations: 8 kB / 265.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.02248, allocations: 8 kB / 265.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.02305, allocations: 295.9 kB / 265.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.02306, allocations: 11.94 kB / 265.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.0233, allocations: 47.95 kB / 265.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.02333, allocations: 28 kB / 265.7 MB, free: 11.94 MB / 266.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.0001476/0.02348, allocations: 166.7 kB / 265.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/0.02356, allocations: 71.88 kB / 265.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.02401, allocations: 201.2 kB / 266.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.02401, allocations: 4 kB / 266.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.02402, allocations: 4 kB / 266.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.02402, allocations: 3.984 kB / 266.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.02523, allocations: 1.183 MB / 267.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.02523, allocations: 8 kB / 267.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.02562, allocations: 211.8 kB / 267.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.0257, allocations: 83.41 kB / 267.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.02571, allocations: 12 kB / 267.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.02573, allocations: 16 kB / 267.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.02574, allocations: 23.86 kB / 267.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.02574, allocations: 15.94 kB / 267.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.02614, allocations: 0.6413 MB / 268.3 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.02619, allocations: 16 kB / 268.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.02642, allocations: 43.97 kB / 268.4 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.02649, allocations: 71.91 kB / 268.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.02651, allocations: 23.98 kB / 268.5 MB, free: 8.922 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.02673, allocations: 315.4 kB / 268.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02673, allocations: 0 / 268.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004005/0.02713, allocations: 204 kB / 269 MB, free: 8.418 MB / 266.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.0009707/0.0281, allocations: 0.4996 MB / 269.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.02848, allocations: 384.2 kB / 269.9 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.347e-05/0.0285, allocations: 20.48 kB / 269.9 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.02874, allocations: 213 kB / 270.1 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009707/0.02971, allocations: 1.689 MB / 271.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.03322, allocations: 1.783 MB / 273.6 MB, free: 3.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.03335, allocations: 176.7 kB / 273.7 MB, free: 3.434 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.03362, allocations: 114.7 kB / 273.9 MB, free: 3.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.03392, allocations: 221.2 kB / 274.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.03393, allocations: 0 / 274.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of Templates: time 0.01313/0.04706, allocations: 11.49 MB / 285.6 MB, free: 7.816 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.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.667573418468237]