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.0009452/0.0009452, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002214, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007448/0.0007448, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001756, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.073/1.073, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1808/1.254, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.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.603e-06/1.603e-06, allocations: 0 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.444e-05, allocations: 2.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004512/0.004526, allocations: 4.492 MB / 226.5 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.006496, allocations: 1.796 MB / 228.3 MB, free: 9.742 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.00673, allocations: 11.94 kB / 228.3 MB, free: 9.73 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.007257, allocations: 430 kB / 228.7 MB, free: 9.309 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006701/0.007927, allocations: 429.4 kB / 229.1 MB, free: 8.887 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.008318, allocations: 307.4 kB / 229.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007338/0.009052, allocations: 1.04 MB / 230.5 MB, free: 7.543 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.009317, allocations: 208.9 kB / 230.7 MB, free: 7.336 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.009854, allocations: 0.6679 MB / 231.3 MB, free: 6.668 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.01028, allocations: 427 kB / 231.7 MB, free: 6.25 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.526e-05/0.01037, allocations: 95.94 kB / 231.8 MB, free: 6.156 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.01054, allocations: 123.9 kB / 232 MB, free: 6.035 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.01068, allocations: 187.4 kB / 232.1 MB, free: 5.852 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.01086, allocations: 247.4 kB / 232.4 MB, free: 5.609 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.01143, allocations: 0.6501 MB / 233 MB, free: 4.957 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.01144, allocations: 0 / 233 MB, free: 4.957 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01144, allocations: 0 / 233 MB, free: 4.957 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.01146, allocations: 0 / 233 MB, free: 4.957 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001279/0.01274, allocations: 1.262 MB / 234.3 MB, free: 3.668 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.01277, allocations: 12.03 kB / 234.3 MB, free: 3.656 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.01289, allocations: 108.8 kB / 234.4 MB, free: 3.551 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.01334, allocations: 381.3 kB / 234.8 MB, free: 3.152 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.01338, allocations: 45.69 kB / 234.8 MB, free: 3.105 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.01345, allocations: 56.38 kB / 234.9 MB, free: 3.051 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.01395, allocations: 0.4945 MB / 235.4 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.01397, allocations: 7.891 kB / 235.4 MB, free: 2.523 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.014, allocations: 24 kB / 235.4 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.01401, allocations: 12 kB / 235.4 MB, free: 2.488 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.01426, allocations: 181 kB / 235.6 MB, free: 2.309 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.01639, allocations: 1.459 MB / 237.1 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.01668, allocations: 233.1 kB / 237.3 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.01695, allocations: 150.3 kB / 237.4 MB, free: 424 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.017, allocations: 12.48 kB / 237.4 MB, free: 412 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.01703, allocations: 39.06 kB / 237.5 MB, free: 364 kB / 234.7 MB Notification: Performance of pre-optimization done (n=48): time 1.743e-06/0.01704, allocations: 0 / 237.5 MB, free: 364 kB / 234.7 MB Notification: Performance of matching and sorting (n=61): time 0.001675/0.01871, allocations: 0.7681 MB / 238.3 MB, free: 15.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.01875, allocations: 55.91 kB / 238.3 MB, free: 15.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.01919, allocations: 0.6186 MB / 238.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.01922, allocations: 33.7 kB / 239 MB, free: 14.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.01937, allocations: 333.7 kB / 239.3 MB, free: 14.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.01949, allocations: 214.1 kB / 239.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.01962, allocations: 126.5 kB / 239.6 MB, free: 14.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.01976, allocations: 390.5 kB / 240 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.01986, allocations: 65.95 kB / 240.1 MB, free: 13.72 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.02002, allocations: 171.1 kB / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.0203, allocations: 299.5 kB / 240.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.0203, allocations: 0 / 240.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00036/0.02066, allocations: 337.1 kB / 240.9 MB, free: 12.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.02068, allocations: 4.281 kB / 240.9 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.02069, allocations: 8 kB / 240.9 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.02071, allocations: 4 kB / 240.9 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.02118, allocations: 191.7 kB / 241.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.02119, allocations: 8 kB / 241.1 MB, free: 12.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.02137, allocations: 35.91 kB / 241.1 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.02139, allocations: 16 kB / 241.1 MB, free: 12.6 MB / 250.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.0001496/0.02154, allocations: 156.5 kB / 241.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.02161, allocations: 63.94 kB / 241.3 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.02198, allocations: 310.2 kB / 241.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.02199, allocations: 8 kB / 241.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.02199, allocations: 3.938 kB / 241.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.022, allocations: 3.984 kB / 241.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.02308, allocations: 0.9208 MB / 242.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.02308, allocations: 4 kB / 242.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.02337, allocations: 139.8 kB / 242.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.02349, allocations: 71.78 kB / 242.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.02349, allocations: 15.92 kB / 242.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.02351, allocations: 16 kB / 242.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.02352, allocations: 7.984 kB / 242.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.02353, allocations: 4 kB / 242.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.02388, allocations: 437.3 kB / 243.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.02393, allocations: 16 kB / 243.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.02409, allocations: 27.97 kB / 243.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.02416, allocations: 56.3 kB / 243.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.02417, allocations: 16 kB / 243.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000238/0.02441, allocations: 315.4 kB / 243.7 MB, free: 9.902 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02441, allocations: 0 / 243.7 MB, free: 9.902 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.02474, allocations: 155.9 kB / 243.8 MB, free: 9.75 MB / 250.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.001095/0.02583, allocations: 485.4 kB / 244.3 MB, free: 9.309 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.02623, allocations: 294.5 kB / 244.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.49e-05/0.02626, allocations: 8 kB / 244.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.02645, allocations: 203.1 kB / 244.8 MB, free: 8.809 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/0.02729, allocations: 1.032 MB / 245.8 MB, free: 7.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.03049, allocations: 1.384 MB / 247.2 MB, free: 6.141 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.03063, allocations: 172.1 kB / 247.4 MB, free: 5.945 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002342/0.03086, allocations: 92.88 kB / 247.5 MB, free: 5.855 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.03113, allocations: 173.2 kB / 247.6 MB, free: 5.684 MB / 250.7 MB Notification: Performance of SimCode: time 1.222e-06/0.03113, allocations: 0 / 247.6 MB, free: 5.684 MB / 250.7 MB Notification: Performance of Templates: time 0.01177/0.04289, allocations: 8.364 MB / 256 MB, free: 13.31 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] 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","",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: 3.294977331534028]