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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 180 kB / 17.4 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 241.4 MB, free: 11.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008462/0.0008462, allocations: 98.14 kB / 292.6 MB, free: 10.74 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 11.98 kB / 352.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1986, allocations: 50.4 MB / 402.8 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09536/0.294, allocations: 89.61 MB / 492.4 MB, free: 6.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.2944, allocations: 95.94 kB / 492.5 MB, free: 6.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04057/0.3349, allocations: 16.3 MB / 0.4968 GB, free: 6.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.335, allocations: 4 kB / 0.4968 GB, free: 6.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.163e-05/0.335, allocations: 12 kB / 0.4968 GB, free: 6.238 MB / 378.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.001808/0.3368, allocations: 1.082 MB / 0.4979 GB, free: 5.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3369, allocations: 8.031 kB / 0.4979 GB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.3371, allocations: 95.81 kB / 0.498 GB, free: 5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.3379, allocations: 0.5629 MB / 0.4986 GB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.338, allocations: 57.8 kB / 0.4986 GB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.674e-05/0.3381, allocations: 60.38 kB / 0.4987 GB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.3393, allocations: 0.6641 MB / 0.4993 GB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.3394, allocations: 11.86 kB / 0.4993 GB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.3394, allocations: 28 kB / 0.4994 GB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.3395, allocations: 20 kB / 0.4994 GB, free: 3.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.3408, allocations: 0.6024 MB / 0.5 GB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.3445, allocations: 2.655 MB / 0.5026 GB, free: 144 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1601/0.5046, allocations: 0.4982 MB / 0.503 GB, free: 94.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/0.5054, allocations: 317.2 kB / 0.5033 GB, free: 94.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.87e-05/0.5055, allocations: 12.77 kB / 0.5034 GB, free: 94.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.5055, allocations: 37.09 kB / 0.5034 GB, free: 94.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 3.176e-06/0.5055, allocations: 4.719 kB / 0.5034 GB, free: 94.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004629/0.5101, allocations: 1.736 MB / 0.5051 GB, free: 94.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.5102, allocations: 59.16 kB / 0.5051 GB, free: 94.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.5116, allocations: 0.9382 MB / 0.5061 GB, free: 93.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.5117, allocations: 34.17 kB / 0.5061 GB, free: 93.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.5119, allocations: 403.3 kB / 0.5065 GB, free: 93.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.5121, allocations: 225.8 kB / 0.5067 GB, free: 93.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.5121, allocations: 14.56 kB / 0.5067 GB, free: 93.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.5122, allocations: 331.8 kB / 0.507 GB, free: 93.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.5128, allocations: 278.4 kB / 0.5073 GB, free: 93.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.5134, allocations: 378.4 kB / 0.5077 GB, free: 93.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.5145, allocations: 0.6401 MB / 0.5083 GB, free: 93.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5145, allocations: 0 / 0.5083 GB, free: 93.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001344/0.5158, allocations: 0.7982 MB / 0.5091 GB, free: 93.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5159, allocations: 7.812 kB / 0.5091 GB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5159, allocations: 3.969 kB / 0.5091 GB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5159, allocations: 6.812 kB / 0.5091 GB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007282/0.5166, allocations: 191.3 kB / 0.5093 GB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.5166, allocations: 10.34 kB / 0.5093 GB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.5172, allocations: 63.98 kB / 0.5093 GB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.5172, allocations: 24.36 kB / 0.5094 GB, free: 93.11 MB / 378.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_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 initialization (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002717/0.5175, allocations: 277 kB / 0.5096 GB, free: 92.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.5176, allocations: 86.81 kB / 0.5097 GB, free: 92.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.5188, allocations: 0.6932 MB / 0.5104 GB, free: 92.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5189, allocations: 12.91 kB / 0.5104 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5189, allocations: 0 / 0.5104 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5189, allocations: 7.141 kB / 0.5104 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.5214, allocations: 2.001 MB / 0.5123 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5214, allocations: 4.031 kB / 0.5124 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.5219, allocations: 148.2 kB / 0.5125 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.522, allocations: 7.656 kB / 0.5125 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.522, allocations: 18.41 kB / 0.5125 GB, free: 91.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.522, allocations: 3.938 kB / 0.5125 GB, free: 91.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.522, allocations: 12.75 kB / 0.5125 GB, free: 91.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.5231, allocations: 0.8204 MB / 0.5133 GB, free: 91.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.5234, allocations: 240.6 kB / 0.5136 GB, free: 91.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.5235, allocations: 18.25 kB / 0.5136 GB, free: 91.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.5239, allocations: 56.98 kB / 0.5136 GB, free: 91.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.524, allocations: 52.84 kB / 0.5137 GB, free: 91.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.5241, allocations: 18.41 kB / 0.5137 GB, free: 91.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006709/0.5247, allocations: 0.6765 MB / 0.5144 GB, free: 90.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5247, allocations: 0 / 0.5144 GB, free: 90.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005281/0.5253, allocations: 189.3 kB / 0.5145 GB, free: 90.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007719/0.5261, allocations: 405.1 kB / 0.5149 GB, free: 90.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.5272, allocations: 0.644 MB / 0.5156 GB, free: 90.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5272, allocations: 0 / 0.5156 GB, free: 90.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.5278, allocations: 340.4 kB / 0.5159 GB, free: 90.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.5287, allocations: 126.5 kB / 0.516 GB, free: 90.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.5308, allocations: 1.953 MB / 0.5179 GB, free: 89.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5312, allocations: 0.9632 MB / 0.5189 GB, free: 88.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004111/0.5316, allocations: 115 kB / 0.519 GB, free: 88.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.5318, allocations: 62.47 kB / 0.519 GB, free: 88.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5318, allocations: 0 / 0.519 GB, free: 88.61 MB / 378.7 MB Notification: Performance of Templates: time 0.01124/0.543, allocations: 8.015 MB / 0.5268 GB, free: 85.46 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches