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.0008011/0.0008011, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001214/0.002015, 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.0007701/0.0007701, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001781, 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.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.17/1.178, allocations: 49.49 MB / 220.5 MB, free: 1.453 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.914e-06/1.914e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.961e-05, allocations: 10.25 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004687/0.004717, allocations: 4.48 MB / 226.3 MB, free: 11.66 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.006866, allocations: 1.8 MB / 228.1 MB, free: 9.855 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.007083, allocations: 15.94 kB / 228.1 MB, free: 9.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.007619, allocations: 422.1 kB / 228.5 MB, free: 9.426 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.008131, allocations: 425.4 kB / 229 MB, free: 9.008 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.008547, allocations: 307.4 kB / 229.3 MB, free: 8.707 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008273/0.009374, allocations: 1.04 MB / 230.3 MB, free: 7.664 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.009674, allocations: 204.9 kB / 230.5 MB, free: 7.461 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006472/0.01032, allocations: 0.6756 MB / 231.2 MB, free: 6.785 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.01072, allocations: 423 kB / 231.6 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.724e-05/0.01082, allocations: 96 kB / 231.7 MB, free: 6.277 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.01097, allocations: 123.9 kB / 231.8 MB, free: 6.156 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.01111, allocations: 187.4 kB / 232 MB, free: 5.973 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.01131, allocations: 251.4 kB / 232.2 MB, free: 5.727 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.01192, allocations: 0.6423 MB / 232.9 MB, free: 5.082 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.44e-05/0.01194, allocations: 7.984 kB / 232.9 MB, free: 5.074 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01194, allocations: 0 / 232.9 MB, free: 5.074 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.01197, allocations: 4 kB / 232.9 MB, free: 5.07 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.00147/0.01344, allocations: 1.262 MB / 234.1 MB, free: 3.781 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.01347, allocations: 8.031 kB / 234.1 MB, free: 3.773 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.0136, allocations: 108.8 kB / 234.3 MB, free: 3.668 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.01405, allocations: 381.3 kB / 234.6 MB, free: 3.27 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/0.01411, allocations: 49.69 kB / 234.7 MB, free: 3.219 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.01418, allocations: 60.38 kB / 234.7 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.01473, allocations: 494.4 kB / 235.2 MB, free: 2.652 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.01475, allocations: 7.891 kB / 235.2 MB, free: 2.645 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.01479, allocations: 24 kB / 235.2 MB, free: 2.621 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.0148, allocations: 16 kB / 235.3 MB, free: 2.605 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.01505, allocations: 189 kB / 235.4 MB, free: 2.418 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.01684, allocations: 1.452 MB / 236.9 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.01715, allocations: 227.1 kB / 237.1 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.01736, allocations: 150.2 kB / 237.3 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.01741, allocations: 12.5 kB / 237.3 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.01744, allocations: 42.98 kB / 237.3 MB, free: 484 kB / 234.7 MB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.01744, allocations: 0 / 237.3 MB, free: 484 kB / 234.7 MB Notification: Performance of matching and sorting (n=61): time 0.001294/0.01873, allocations: 0.7447 MB / 238.1 MB, free: 15.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.01877, allocations: 55.91 kB / 238.1 MB, free: 15.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.0193, allocations: 0.6303 MB / 238.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.01933, allocations: 33.7 kB / 238.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.01948, allocations: 321.7 kB / 239.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.01958, allocations: 218.1 kB / 239.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.0197, allocations: 122.5 kB / 239.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.01984, allocations: 394.5 kB / 239.8 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/0.01993, allocations: 61.97 kB / 239.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.02008, allocations: 171.1 kB / 240 MB, free: 13.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.02036, allocations: 287.5 kB / 240.3 MB, free: 13.35 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02036, allocations: 0 / 240.3 MB, free: 13.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003484/0.02071, allocations: 333.3 kB / 240.6 MB, free: 13.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.02073, allocations: 8 kB / 240.7 MB, free: 13.01 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.02073, allocations: 0 / 240.7 MB, free: 13.01 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.02075, allocations: 8 kB / 240.7 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.02118, allocations: 199.7 kB / 240.9 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.02119, allocations: 4 kB / 240.9 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.02136, allocations: 32.02 kB / 240.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.02139, allocations: 27.98 kB / 240.9 MB, free: 12.74 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.0001426/0.02153, allocations: 140.5 kB / 241.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.0216, allocations: 59.94 kB / 241.1 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.02201, allocations: 318.2 kB / 241.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.02202, allocations: 4 kB / 241.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.02202, allocations: 0 / 241.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.02203, allocations: 3.984 kB / 241.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.02345, allocations: 0.9208 MB / 242.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.02345, allocations: 0 / 242.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.02376, allocations: 152.1 kB / 242.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.02387, allocations: 79.47 kB / 242.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.02388, allocations: 4 kB / 242.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.02389, allocations: 12 kB / 242.6 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.0239, allocations: 11.94 kB / 242.6 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.0239, allocations: 3.938 kB / 242.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.02426, allocations: 441.3 kB / 243 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.0243, allocations: 8 kB / 243.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.02446, allocations: 31.98 kB / 243.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.02454, allocations: 52.3 kB / 243.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.02456, allocations: 15.98 kB / 243.2 MB, free: 10.37 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002393/0.0248, allocations: 315.4 kB / 243.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0248, allocations: 0 / 243.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003359/0.02513, allocations: 155.9 kB / 243.6 MB, free: 9.91 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.001082/0.02621, allocations: 491.1 kB / 244.1 MB, free: 9.465 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.02656, allocations: 289.8 kB / 244.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/0.02658, allocations: 8 kB / 244.4 MB, free: 9.176 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.0267, allocations: 153.3 kB / 244.5 MB, free: 9.023 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.02715, allocations: 174.9 kB / 244.7 MB, free: 8.852 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.03096, allocations: 1.399 MB / 246.1 MB, free: 7.383 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.0311, allocations: 168.1 kB / 246.3 MB, free: 7.199 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.03138, allocations: 84.83 kB / 246.3 MB, free: 7.117 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.03167, allocations: 169.3 kB / 246.5 MB, free: 6.949 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03167, allocations: 0 / 246.5 MB, free: 6.949 MB / 250.7 MB Notification: Performance of Templates: time 0.01406/0.04573, allocations: 8.32 MB / 254.8 MB, free: 14.61 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.886843129992485]