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.001031/0.001031, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.238/1.238, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0007863/0.0007864, allocations: 100.6 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003346, allocations: 11.94 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2262, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09698/0.3232, allocations: 89.53 MB / 491 MB, free: 6.934 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.3236, allocations: 93.2 kB / 491.1 MB, free: 6.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04188/0.3654, allocations: 16.31 MB / 0.4955 GB, free: 6.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3655, allocations: 0 / 0.4955 GB, free: 6.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.172e-05/0.3655, allocations: 15.98 kB / 0.4956 GB, free: 6.465 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.001844/0.3674, allocations: 1.086 MB / 0.4966 GB, free: 5.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3674, allocations: 12.03 kB / 0.4966 GB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.3676, allocations: 94.86 kB / 0.4967 GB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/0.3684, allocations: 0.531 MB / 0.4972 GB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.3686, allocations: 53.94 kB / 0.4973 GB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.3687, allocations: 63.89 kB / 0.4973 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.3699, allocations: 0.6713 MB / 0.498 GB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.37, allocations: 3.938 kB / 0.498 GB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.37, allocations: 24 kB / 0.498 GB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.3701, allocations: 16 kB / 0.498 GB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.3713, allocations: 0.6141 MB / 0.4986 GB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003739/0.3751, allocations: 2.647 MB / 0.5012 GB, free: 412 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1771/0.5522, allocations: 0.5019 MB / 0.5017 GB, free: 94.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.116e-05/0.5523, allocations: 7.875 kB / 0.5017 GB, free: 94.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.5524, allocations: 38.38 kB / 0.5018 GB, free: 94.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 3.476e-06/0.5524, allocations: 0 / 0.5018 GB, free: 94.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.005338/0.5577, allocations: 1.737 MB / 0.5035 GB, free: 94.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.5578, allocations: 57.66 kB / 0.5035 GB, free: 94.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.5591, allocations: 0.8535 MB / 0.5043 GB, free: 94.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.5592, allocations: 43.83 kB / 0.5044 GB, free: 93.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.5595, allocations: 402.2 kB / 0.5048 GB, free: 93.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.5596, allocations: 212.8 kB / 0.505 GB, free: 93.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.5597, allocations: 16.09 kB / 0.505 GB, free: 93.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.5597, allocations: 331.5 kB / 0.5053 GB, free: 93.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006484/0.5604, allocations: 281.5 kB / 0.5056 GB, free: 93.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.5612, allocations: 377.9 kB / 0.5059 GB, free: 93.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/0.5619, allocations: 315.5 kB / 0.5062 GB, free: 93.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5619, allocations: 3.281 kB / 0.5062 GB, free: 93.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00145/0.5634, allocations: 0.7965 MB / 0.507 GB, free: 93.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5634, allocations: 8.094 kB / 0.507 GB, free: 93.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5634, allocations: 3.906 kB / 0.507 GB, free: 93.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.5635, allocations: 11.08 kB / 0.507 GB, free: 93.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007869/0.5642, allocations: 193.3 kB / 0.5072 GB, free: 93.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.5643, allocations: 7.156 kB / 0.5072 GB, free: 93.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/0.5649, allocations: 63.3 kB / 0.5073 GB, free: 93.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.565, allocations: 28.88 kB / 0.5073 GB, free: 93.23 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 (87): * Single equations (assignments): 87 * 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.000364/0.5654, allocations: 269.4 kB / 0.5076 GB, free: 93.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.5655, allocations: 82.38 kB / 0.5077 GB, free: 93.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.5669, allocations: 0.6932 MB / 0.5083 GB, free: 93.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5669, allocations: 10.25 kB / 0.5083 GB, free: 93.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5669, allocations: 3.953 kB / 0.5083 GB, free: 93.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5669, allocations: 3.281 kB / 0.5083 GB, free: 93.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.5697, allocations: 1.969 MB / 0.5103 GB, free: 92.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5697, allocations: 2.781 kB / 0.5103 GB, free: 92.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.5703, allocations: 154.5 kB / 0.5104 GB, free: 92.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.5704, allocations: 3.812 kB / 0.5104 GB, free: 92.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.5704, allocations: 22.69 kB / 0.5104 GB, free: 92.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.5704, allocations: 11.28 kB / 0.5105 GB, free: 92.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5704, allocations: 3.844 kB / 0.5105 GB, free: 92.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.5716, allocations: 0.9131 MB / 0.5114 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.572, allocations: 241.1 kB / 0.5116 GB, free: 91.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.5721, allocations: 11.94 kB / 0.5116 GB, free: 91.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.5726, allocations: 58.95 kB / 0.5116 GB, free: 91.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.5727, allocations: 50.83 kB / 0.5117 GB, free: 91.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.5728, allocations: 22.39 kB / 0.5117 GB, free: 91.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006979/0.5735, allocations: 0.6796 MB / 0.5124 GB, free: 91.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5735, allocations: 0 / 0.5124 GB, free: 91.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005848/0.5741, allocations: 182.1 kB / 0.5126 GB, free: 91.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (65): * Single equations (assignments): 65 * 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.0007718/0.5748, allocations: 384.1 kB / 0.5129 GB, free: 91.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.5761, allocations: 0.6485 MB / 0.5136 GB, free: 90.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5761, allocations: 6.844 kB / 0.5136 GB, free: 90.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.5767, allocations: 338.2 kB / 0.5139 GB, free: 90.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005671/0.5772, allocations: 111 kB / 0.514 GB, free: 90.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.5795, allocations: 1.94 MB / 0.5159 GB, free: 89.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.5799, allocations: 0.9757 MB / 0.5168 GB, free: 89.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004675/0.5804, allocations: 117.1 kB / 0.5169 GB, free: 89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.5806, allocations: 61.42 kB / 0.517 GB, free: 88.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.863e-06/0.5806, allocations: 0 / 0.517 GB, free: 88.98 MB / 378.7 MB Notification: Performance of Templates: time 0.01248/0.5931, allocations: 7.916 MB / 0.5247 GB, free: 86.41 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/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