Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009384/0.0009384, allocations: 198.9 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 226.5 MB / 245.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008082/0.0008083, allocations: 89.23 kB / 297.4 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002155/0.0002155, allocations: 8 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2188, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3213, allocations: 90.72 MB / 499.4 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.3217, allocations: 95.95 kB / 499.5 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.247/0.5687, allocations: 17.02 MB / 0.5044 GB, free: 90.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5687, allocations: 1.094 kB / 0.5044 GB, free: 90.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001074/0.5689, allocations: 14.97 kB / 0.5044 GB, free: 90.15 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.002933/0.5718, allocations: 1.104 MB / 0.5055 GB, free: 89.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.5719, allocations: 9 kB / 0.5055 GB, free: 89.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.5726, allocations: 126.9 kB / 0.5056 GB, free: 89.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.574, allocations: 0.5676 MB / 0.5062 GB, free: 89.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.5741, allocations: 51.2 kB / 0.5062 GB, free: 89.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.5743, allocations: 60.25 kB / 0.5063 GB, free: 89.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.5766, allocations: 0.6692 MB / 0.5069 GB, free: 89.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.5766, allocations: 6.906 kB / 0.5069 GB, free: 89.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.39e-05/0.5767, allocations: 25.22 kB / 0.507 GB, free: 89.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.5768, allocations: 14.94 kB / 0.507 GB, free: 89.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.579, allocations: 0.6154 MB / 0.5076 GB, free: 89.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006691/0.5858, allocations: 2.665 MB / 0.5102 GB, free: 88.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.5875, allocations: 0.5023 MB / 0.5107 GB, free: 88.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/0.5884, allocations: 321.3 kB / 0.511 GB, free: 88.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.5885, allocations: 20.77 kB / 0.511 GB, free: 88.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.5885, allocations: 36.31 kB / 0.511 GB, free: 88.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.384e-06/0.5885, allocations: 0 / 0.511 GB, free: 88.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004612/0.5932, allocations: 1.743 MB / 0.5127 GB, free: 87.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.5932, allocations: 59.25 kB / 0.5128 GB, free: 87.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.5943, allocations: 0.9429 MB / 0.5137 GB, free: 87.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.5944, allocations: 37.67 kB / 0.5138 GB, free: 87.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.5946, allocations: 406.8 kB / 0.5141 GB, free: 87.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.5947, allocations: 216.2 kB / 0.5144 GB, free: 87.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.5947, allocations: 15.97 kB / 0.5144 GB, free: 87.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.5948, allocations: 333.4 kB / 0.5147 GB, free: 86.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.5954, allocations: 277.4 kB / 0.5149 GB, free: 86.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.596, allocations: 379.4 kB / 0.5153 GB, free: 86.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.5971, allocations: 0.63 MB / 0.5159 GB, free: 86.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5971, allocations: 0 / 0.5159 GB, free: 86.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001451/0.5986, allocations: 0.8032 MB / 0.5167 GB, free: 85.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5986, allocations: 7.906 kB / 0.5167 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5986, allocations: 3.625 kB / 0.5167 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.5986, allocations: 6.406 kB / 0.5167 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/0.5994, allocations: 196.2 kB / 0.5169 GB, free: 85.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.5995, allocations: 9.25 kB / 0.5169 GB, free: 85.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.6001, allocations: 62.02 kB / 0.517 GB, free: 85.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.6001, allocations: 27.69 kB / 0.517 GB, free: 85.85 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.0003445/0.6005, allocations: 273 kB / 0.5173 GB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.6006, allocations: 89.19 kB / 0.5174 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.602, allocations: 0.6985 MB / 0.518 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.602, allocations: 8.156 kB / 0.518 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.602, allocations: 4 kB / 0.518 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.602, allocations: 5.797 kB / 0.5181 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.6047, allocations: 1.999 MB / 0.52 GB, free: 84.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.6048, allocations: 2.531 kB / 0.52 GB, free: 84.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.6053, allocations: 161.1 kB / 0.5202 GB, free: 84.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.6054, allocations: 3.688 kB / 0.5202 GB, free: 84.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.6054, allocations: 15.69 kB / 0.5202 GB, free: 84.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.6054, allocations: 7.156 kB / 0.5202 GB, free: 84.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6054, allocations: 3.812 kB / 0.5202 GB, free: 84.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.6066, allocations: 0.8321 MB / 0.521 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.6069, allocations: 247.6 kB / 0.5212 GB, free: 83.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.12e-05/0.607, allocations: 15.66 kB / 0.5213 GB, free: 83.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.6075, allocations: 57.98 kB / 0.5213 GB, free: 83.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/0.6075, allocations: 53.16 kB / 0.5214 GB, free: 83.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.6076, allocations: 21.81 kB / 0.5214 GB, free: 83.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007289/0.6083, allocations: 0.6823 MB / 0.522 GB, free: 83.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6083, allocations: 0 / 0.522 GB, free: 83.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005699/0.6089, allocations: 185.7 kB / 0.5222 GB, free: 83.17 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.0007667/0.6097, allocations: 389.6 kB / 0.5226 GB, free: 83.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.6109, allocations: 0.6469 MB / 0.5232 GB, free: 82.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6109, allocations: 0 / 0.5232 GB, free: 82.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.6115, allocations: 348.1 kB / 0.5236 GB, free: 82.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.6126, allocations: 131.6 kB / 0.5237 GB, free: 82.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.6149, allocations: 2.003 MB / 0.5256 GB, free: 81.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.6152, allocations: 0.9702 MB / 0.5266 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.6155, allocations: 72.55 kB / 0.5267 GB, free: 80.78 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6155, allocations: 0 / 0.5267 GB, free: 80.78 MB / 378.7 MB Notification: Performance of Templates: time 0.012/0.6275, allocations: 10.41 MB / 0.5368 GB, free: 72.97 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches