Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 175.5 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.337/1.337, allocations: 221.3 MB / 235.5 MB, free: 2.965 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.000875/0.0008751, allocations: 90.56 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.888e-05, allocations: 0 / 343.8 MB, free: 4.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.09997, allocations: 50.42 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.472, allocations: 91.72 MB / 486 MB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.4724, allocations: 91.78 kB / 486.1 MB, free: 11.72 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Magnetic/FluxTubes/Examples/MovingCoilActuator/Components/ConstantActuator.mo:67:3-67:83:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.06756/0.54, allocations: 22.74 MB / 0.4969 GB, free: 4.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.54, allocations: 0 / 0.4969 GB, free: 4.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001262/0.5401, allocations: 24 kB / 0.4969 GB, free: 4.871 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004278/0.5444, allocations: 1.22 MB / 0.4981 GB, free: 3.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.5445, allocations: 12.03 kB / 0.4981 GB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006733/0.5452, allocations: 126.5 kB / 0.4982 GB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.5472, allocations: 0.6654 MB / 0.4989 GB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.5475, allocations: 78 kB / 0.4989 GB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003732/0.5479, allocations: 95.91 kB / 0.499 GB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/0.5507, allocations: 0.9312 MB / 0.4999 GB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.5508, allocations: 0 / 0.4999 GB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.5509, allocations: 40 kB / 0.5 GB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.551, allocations: 24 kB / 0.5 GB, free: 1.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.5533, allocations: 0.7745 MB / 0.5008 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007367/0.5606, allocations: 3.864 MB / 0.5045 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.5627, allocations: 0.8316 MB / 0.5053 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/0.5635, allocations: 371.6 kB / 0.5057 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.5635, allocations: 12.56 kB / 0.5057 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5636, allocations: 43.06 kB / 0.5058 GB, free: 11.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=68): time 3.155e-06/0.5636, allocations: 0 / 0.5058 GB, free: 11.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=86): time 0.003977/0.5676, allocations: 1.643 MB / 0.5074 GB, free: 9.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.5677, allocations: 97.47 kB / 0.5074 GB, free: 9.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.5691, allocations: 0.8128 MB / 0.5082 GB, free: 8.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/0.5692, allocations: 41.7 kB / 0.5083 GB, free: 8.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.5696, allocations: 0.4991 MB / 0.5088 GB, free: 8.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.5698, allocations: 295.7 kB / 0.5091 GB, free: 8.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.5699, allocations: 20 kB / 0.5091 GB, free: 8.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.57, allocations: 345.9 kB / 0.5094 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/0.5706, allocations: 294 kB / 0.5097 GB, free: 7.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.5714, allocations: 466.1 kB / 0.5101 GB, free: 6.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/0.572, allocations: 343 kB / 0.5105 GB, free: 6.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.572, allocations: 4 kB / 0.5105 GB, free: 6.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001644/0.5737, allocations: 0.9193 MB / 0.5114 GB, free: 5.613 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.5737, allocations: 4 kB / 0.5114 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5737, allocations: 4 kB / 0.5114 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.5738, allocations: 12 kB / 0.5114 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.5753, allocations: 351.9 kB / 0.5117 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.147e-05/0.5753, allocations: 11.94 kB / 0.5117 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.5764, allocations: 119.8 kB / 0.5118 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.71e-05/0.5765, allocations: 39.98 kB / 0.5119 GB, free: 5.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.000219/0.5768, allocations: 163.7 kB / 0.512 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.577, allocations: 98.86 kB / 0.5121 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008542/0.5779, allocations: 370.4 kB / 0.5125 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5779, allocations: 8 kB / 0.5125 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.5779, allocations: 0 / 0.5125 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.578, allocations: 3.984 kB / 0.5125 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00502/0.583, allocations: 2.888 MB / 0.5153 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/0.583, allocations: 12.97 kB / 0.5153 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.5841, allocations: 275.5 kB / 0.5156 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.586e-05/0.5842, allocations: 19.98 kB / 0.5156 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.5843, allocations: 28 kB / 0.5156 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-05/0.5843, allocations: 23.92 kB / 0.5157 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.5843, allocations: 15.94 kB / 0.5157 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.5863, allocations: 1.675 MB / 0.5173 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/0.5868, allocations: 207.9 kB / 0.5175 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.5871, allocations: 31.98 kB / 0.5175 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/0.588, allocations: 83.95 kB / 0.5176 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.5882, allocations: 95.69 kB / 0.5177 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.5882, allocations: 39.98 kB / 0.5177 GB, free: 14.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001083/0.5893, allocations: 0.6163 MB / 0.5183 GB, free: 13.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5893, allocations: 4 kB / 0.5183 GB, free: 13.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001095/0.5904, allocations: 243.9 kB / 0.5186 GB, free: 13.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0009338/0.5914, allocations: 379.9 kB / 0.5189 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.5928, allocations: 0.7192 MB / 0.5196 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.5928, allocations: 0 / 0.5196 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007442/0.5935, allocations: 410.8 kB / 0.52 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5947, allocations: 195.8 kB / 0.5202 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.598, allocations: 1.577 MB / 0.5218 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000797/0.5988, allocations: 1.053 MB / 0.5228 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007993/0.5996, allocations: 135.2 kB / 0.5229 GB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/0.5999, allocations: 79.41 kB / 0.523 GB, free: 8.906 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5999, allocations: 0 / 0.523 GB, free: 8.906 MB / 410.7 MB Notification: Performance of Templates: time 0.02049/0.6204, allocations: 10.64 MB / 0.5334 GB, free: 14.34 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches