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.0009686/0.0009686, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.305/1.305, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008211/0.0008214, allocations: 94.91 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.956e-05, allocations: 4 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 50.41 MB / 394.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.5314, allocations: 89.45 MB / 483.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5318, allocations: 95.75 kB / 483.8 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04318/0.575, allocations: 16.28 MB / 0.4884 GB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.575, allocations: 7.938 kB / 0.4884 GB, free: 13.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.17e-05/0.5751, allocations: 12 kB / 0.4884 GB, free: 13.64 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.001824/0.5769, allocations: 0.9735 MB / 0.4893 GB, free: 12.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.577, allocations: 12.03 kB / 0.4893 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.5771, allocations: 94.88 kB / 0.4894 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009033/0.578, allocations: 0.5387 MB / 0.49 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.5782, allocations: 50 kB / 0.49 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.92e-05/0.5783, allocations: 52 kB / 0.49 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.5794, allocations: 0.609 MB / 0.4906 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5794, allocations: 0 / 0.4906 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.5795, allocations: 28 kB / 0.4907 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.5795, allocations: 16 kB / 0.4907 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.5804, allocations: 0.501 MB / 0.4912 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004277/0.5847, allocations: 2.647 MB / 0.4938 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.5855, allocations: 464.5 kB / 0.4942 GB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/0.5861, allocations: 270.3 kB / 0.4945 GB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/0.5861, allocations: 16.5 kB / 0.4945 GB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.5862, allocations: 42.94 kB / 0.4945 GB, free: 7.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 3.216e-06/0.5862, allocations: 3.938 kB / 0.4945 GB, free: 7.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.003592/0.5898, allocations: 1.364 MB / 0.4959 GB, free: 5.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.5899, allocations: 63.97 kB / 0.4959 GB, free: 5.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.591, allocations: 0.8396 MB / 0.4967 GB, free: 4.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.5911, allocations: 37.7 kB / 0.4968 GB, free: 4.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.5914, allocations: 404 kB / 0.4972 GB, free: 4.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.5915, allocations: 212.8 kB / 0.4974 GB, free: 4.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.5916, allocations: 16 kB / 0.4974 GB, free: 4.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5917, allocations: 337.9 kB / 0.4977 GB, free: 3.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.5921, allocations: 201.5 kB / 0.4979 GB, free: 3.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.5926, allocations: 309.1 kB / 0.4982 GB, free: 3.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.593, allocations: 242.1 kB / 0.4984 GB, free: 3.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.593, allocations: 0 / 0.4984 GB, free: 3.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001069/0.5941, allocations: 0.6709 MB / 0.4991 GB, free: 2.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5941, allocations: 4.281 kB / 0.4991 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5941, allocations: 8 kB / 0.4991 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.5941, allocations: 4 kB / 0.4991 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/0.595, allocations: 187.8 kB / 0.4993 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.595, allocations: 8 kB / 0.4993 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.5956, allocations: 63.95 kB / 0.4993 GB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.5956, allocations: 27.98 kB / 0.4994 GB, free: 2.043 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 () * 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.0001446/0.5958, allocations: 144.8 kB / 0.4995 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.5959, allocations: 86.97 kB / 0.4996 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.597, allocations: 0.5737 MB / 0.5001 GB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.597, allocations: 8 kB / 0.5001 GB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.597, allocations: 3.984 kB / 0.5002 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.597, allocations: 0 / 0.5002 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.5998, allocations: 1.878 MB / 0.502 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5998, allocations: 0 / 0.502 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.6004, allocations: 156.1 kB / 0.5021 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.6004, allocations: 8 kB / 0.5021 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.6005, allocations: 19.98 kB / 0.5022 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.6005, allocations: 4 kB / 0.5022 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6005, allocations: 7.938 kB / 0.5022 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.6015, allocations: 0.8214 MB / 0.503 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.6018, allocations: 244 kB / 0.5032 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.6019, allocations: 19.98 kB / 0.5032 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.6024, allocations: 63.94 kB / 0.5033 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/0.6025, allocations: 40.47 kB / 0.5033 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.6026, allocations: 27.92 kB / 0.5034 GB, free: 13.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008429/0.6034, allocations: 0.6632 MB / 0.504 GB, free: 13.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6034, allocations: 0 / 0.504 GB, free: 13.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006085/0.6041, allocations: 176 kB / 0.5042 GB, free: 12.84 MB / 394.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 () * 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.0009311/0.605, allocations: 365.7 kB / 0.5045 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008779/0.6059, allocations: 0.5203 MB / 0.505 GB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6059, allocations: 0 / 0.505 GB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004283/0.6063, allocations: 276.1 kB / 0.5053 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.607, allocations: 108.4 kB / 0.5054 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.6091, allocations: 1.197 MB / 0.5066 GB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.6097, allocations: 0.9827 MB / 0.5075 GB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004645/0.6102, allocations: 117 kB / 0.5076 GB, free: 9.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.6104, allocations: 55.42 kB / 0.5077 GB, free: 9.242 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6104, allocations: 0 / 0.5077 GB, free: 9.242 MB / 394.7 MB Notification: Performance of Templates: time 0.01484/0.6253, allocations: 8.008 MB / 0.5155 GB, free: 1.273 MB / 394.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/jenkins/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