Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009845/0.0009845, allocations: 196.5 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.5 MB / 245.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009409/0.0009409, allocations: 107.1 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002252/0.0002253, allocations: 8 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1925, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.2957, allocations: 90.72 MB / 0.4884 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.296, allocations: 98.53 kB / 0.4885 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.197/0.493, allocations: 17.03 MB / 0.5051 GB, free: 90.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4931, allocations: 0 / 0.5051 GB, free: 90.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.977e-05/0.4932, allocations: 16.97 kB / 0.5051 GB, free: 90.25 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.002429/0.4956, allocations: 1.101 MB / 0.5062 GB, free: 89.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4957, allocations: 11.78 kB / 0.5062 GB, free: 89.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/0.4963, allocations: 122.6 kB / 0.5063 GB, free: 89.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.4973, allocations: 0.567 MB / 0.5069 GB, free: 89.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.4974, allocations: 53.41 kB / 0.5069 GB, free: 89.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.4975, allocations: 58.41 kB / 0.507 GB, free: 89.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.4989, allocations: 0.6738 MB / 0.5076 GB, free: 89.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.4989, allocations: 5.75 kB / 0.5077 GB, free: 89.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.499, allocations: 27.09 kB / 0.5077 GB, free: 89.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.499, allocations: 12.97 kB / 0.5077 GB, free: 89.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.5003, allocations: 0.6119 MB / 0.5083 GB, free: 89.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.5041, allocations: 2.661 MB / 0.5109 GB, free: 88.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009834/0.5051, allocations: 0.5099 MB / 0.5114 GB, free: 88.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.5057, allocations: 314.5 kB / 0.5117 GB, free: 88.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.5057, allocations: 16.44 kB / 0.5117 GB, free: 88.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.5058, allocations: 36.34 kB / 0.5117 GB, free: 88.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.873e-06/0.5058, allocations: 1.5 kB / 0.5117 GB, free: 88.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004303/0.5101, allocations: 1.749 MB / 0.5134 GB, free: 88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.5101, allocations: 55.91 kB / 0.5135 GB, free: 87.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.5111, allocations: 0.938 MB / 0.5144 GB, free: 87.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.5112, allocations: 44.84 kB / 0.5145 GB, free: 87.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.5114, allocations: 402.3 kB / 0.5148 GB, free: 87.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.5115, allocations: 221.2 kB / 0.5151 GB, free: 87.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.5115, allocations: 11.84 kB / 0.5151 GB, free: 87.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.5116, allocations: 332.2 kB / 0.5154 GB, free: 86.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005505/0.5121, allocations: 276.5 kB / 0.5156 GB, free: 86.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/0.5127, allocations: 386 kB / 0.516 GB, free: 86.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5138, allocations: 0.6322 MB / 0.5166 GB, free: 86.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5138, allocations: 0 / 0.5166 GB, free: 86.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001392/0.5152, allocations: 0.7978 MB / 0.5174 GB, free: 85.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5152, allocations: 11.44 kB / 0.5174 GB, free: 85.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5152, allocations: 3.844 kB / 0.5174 GB, free: 85.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5152, allocations: 8 kB / 0.5174 GB, free: 85.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.516, allocations: 190.8 kB / 0.5176 GB, free: 85.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.516, allocations: 10.08 kB / 0.5176 GB, free: 85.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/0.5166, allocations: 64.66 kB / 0.5177 GB, free: 85.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.5166, allocations: 30.05 kB / 0.5177 GB, free: 85.88 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.0002842/0.5169, allocations: 265.2 kB / 0.518 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.517, allocations: 89.09 kB / 0.518 GB, free: 85.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.5183, allocations: 0.7053 MB / 0.5187 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.5183, allocations: 11.56 kB / 0.5187 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5183, allocations: 0 / 0.5187 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5184, allocations: 3.797 kB / 0.5188 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.521, allocations: 1.996 MB / 0.5207 GB, free: 84.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.521, allocations: 7.5 kB / 0.5207 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.5215, allocations: 152.8 kB / 0.5209 GB, free: 84.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.5215, allocations: 2.969 kB / 0.5209 GB, free: 84.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.5216, allocations: 22.27 kB / 0.5209 GB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.5216, allocations: 10.78 kB / 0.5209 GB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5216, allocations: 7.906 kB / 0.5209 GB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.5227, allocations: 0.8222 MB / 0.5217 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.523, allocations: 248.6 kB / 0.5219 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/0.5231, allocations: 17 kB / 0.522 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.5236, allocations: 57.7 kB / 0.522 GB, free: 83.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.5237, allocations: 50.2 kB / 0.5221 GB, free: 83.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.5238, allocations: 21.69 kB / 0.5221 GB, free: 83.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006993/0.5245, allocations: 0.6848 MB / 0.5227 GB, free: 83.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5245, allocations: 0 / 0.5227 GB, free: 83.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00054/0.525, allocations: 188.2 kB / 0.5229 GB, free: 83.2 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.0007275/0.5258, allocations: 400 kB / 0.5233 GB, free: 83.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.527, allocations: 0.6414 MB / 0.5239 GB, free: 82.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.527, allocations: 0 / 0.5239 GB, free: 82.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.5276, allocations: 345.3 kB / 0.5243 GB, free: 82.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000955/0.5285, allocations: 124.2 kB / 0.5244 GB, free: 82.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.5308, allocations: 1.962 MB / 0.5263 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.5312, allocations: 0.9671 MB / 0.5272 GB, free: 80.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004365/0.5316, allocations: 111 kB / 0.5273 GB, free: 80.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.5318, allocations: 62.33 kB / 0.5274 GB, free: 80.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5318, allocations: 0 / 0.5274 GB, free: 80.74 MB / 378.7 MB Notification: Performance of Templates: time 0.01217/0.544, allocations: 8.049 MB / 0.5353 GB, free: 75.25 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches