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.001314/0.001314, allocations: 176.6 kB / 17.4 MB, free: 4.418 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.273/1.273, allocations: 223.3 MB / 241.4 MB, free: 9.973 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.0007748/0.0007748, allocations: 95.84 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002905, allocations: 15.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1969, allocations: 50.4 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09885/0.2958, allocations: 91.88 MB / 494.6 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.2961, allocations: 95.95 kB / 494.7 MB, free: 4.336 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.2203/0.5164, allocations: 22.73 MB / 0.5053 GB, free: 91.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5164, allocations: 0 / 0.5053 GB, free: 91.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.94e-05/0.5165, allocations: 27.28 kB / 0.5053 GB, free: 91.39 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.00328/0.5198, allocations: 1.342 MB / 0.5067 GB, free: 90.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5199, allocations: 12.77 kB / 0.5067 GB, free: 90.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/0.5204, allocations: 127.7 kB / 0.5068 GB, free: 90.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5218, allocations: 0.6837 MB / 0.5075 GB, free: 90.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.522, allocations: 82.77 kB / 0.5075 GB, free: 90.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.5222, allocations: 97.97 kB / 0.5076 GB, free: 90.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.5247, allocations: 1.049 MB / 0.5087 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.5248, allocations: 3.938 kB / 0.5087 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-05/0.5249, allocations: 43.19 kB / 0.5087 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.5249, allocations: 20.81 kB / 0.5087 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.5269, allocations: 0.9734 MB / 0.5097 GB, free: 90.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/0.532, allocations: 3.869 MB / 0.5135 GB, free: 88.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.5341, allocations: 0.9631 MB / 0.5144 GB, free: 88.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008055/0.5349, allocations: 462.4 kB / 0.5148 GB, free: 88.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.535, allocations: 10 kB / 0.5148 GB, free: 88.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.535, allocations: 40.47 kB / 0.5149 GB, free: 88.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 2.906e-06/0.535, allocations: 4 kB / 0.5149 GB, free: 88.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.005231/0.5402, allocations: 2.301 MB / 0.5171 GB, free: 87.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.5403, allocations: 86.83 kB / 0.5172 GB, free: 87.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.5413, allocations: 0.9196 MB / 0.5181 GB, free: 87.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.5414, allocations: 41.7 kB / 0.5182 GB, free: 87.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.5416, allocations: 0.4988 MB / 0.5186 GB, free: 86.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.5418, allocations: 292.3 kB / 0.5189 GB, free: 86.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.5418, allocations: 18.59 kB / 0.5189 GB, free: 86.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.5419, allocations: 347.8 kB / 0.5193 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008724/0.5428, allocations: 430.7 kB / 0.5197 GB, free: 86.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000921/0.5437, allocations: 0.5826 MB / 0.5202 GB, free: 85.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.5454, allocations: 0.9531 MB / 0.5212 GB, free: 85.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5454, allocations: 0 / 0.5212 GB, free: 85.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002296/0.5477, allocations: 1.191 MB / 0.5223 GB, free: 84.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.5477, allocations: 10.12 kB / 0.5224 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5477, allocations: 5.781 kB / 0.5224 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.5478, allocations: 8.125 kB / 0.5224 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.5492, allocations: 347.8 kB / 0.5227 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.5492, allocations: 13.25 kB / 0.5227 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.5503, allocations: 114.3 kB / 0.5228 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/0.5503, allocations: 41.91 kB / 0.5229 GB, free: 84.88 MB / 378.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 () * Number of clocked 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.0004928/0.5509, allocations: 293.8 kB / 0.5231 GB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.5511, allocations: 104.1 kB / 0.5232 GB, free: 84.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.5521, allocations: 492.9 kB / 0.5237 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5521, allocations: 9.906 kB / 0.5237 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5521, allocations: 0 / 0.5237 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5522, allocations: 2.859 kB / 0.5237 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/0.5566, allocations: 3.045 MB / 0.5267 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/0.5567, allocations: 11.12 kB / 0.5267 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009044/0.5576, allocations: 274 kB / 0.527 GB, free: 82.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.106e-05/0.5576, allocations: 19.94 kB / 0.527 GB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.5577, allocations: 31.56 kB / 0.527 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.441e-05/0.5577, allocations: 22.94 kB / 0.527 GB, free: 82.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.5577, allocations: 15.94 kB / 0.5271 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.5594, allocations: 1.306 MB / 0.5283 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/0.5599, allocations: 205.3 kB / 0.5285 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.5602, allocations: 31.22 kB / 0.5286 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008141/0.561, allocations: 82.11 kB / 0.5286 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.5611, allocations: 90.11 kB / 0.5287 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.5612, allocations: 43.23 kB / 0.5288 GB, free: 80.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008511/0.562, allocations: 0.6391 MB / 0.5294 GB, free: 80.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.562, allocations: 0 / 0.5294 GB, free: 80.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001002/0.563, allocations: 231.9 kB / 0.5296 GB, free: 79.8 MB / 378.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 () * Number of clocked 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.0008538/0.5639, allocations: 413.9 kB / 0.53 GB, free: 79.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.5658, allocations: 0.9319 MB / 0.5309 GB, free: 78.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.5658, allocations: 0 / 0.5309 GB, free: 78.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008377/0.5666, allocations: 486 kB / 0.5314 GB, free: 78.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/0.5693, allocations: 260.3 kB / 0.5316 GB, free: 78.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.5729, allocations: 2.503 MB / 0.5341 GB, free: 75.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.5734, allocations: 1.034 MB / 0.5351 GB, free: 74.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007063/0.5741, allocations: 136.8 kB / 0.5352 GB, free: 74.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.5744, allocations: 93.23 kB / 0.5353 GB, free: 74.51 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5744, allocations: 0 / 0.5353 GB, free: 74.51 MB / 378.7 MB Notification: Performance of Templates: time 0.02161/0.5961, allocations: 12.35 MB / 0.5474 GB, free: 64.09 MB / 378.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/jenkins1/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