Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009771/0.0009772, allocations: 183.8 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007492/0.0007493, allocations: 89.53 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002963, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1919, allocations: 47.58 MB / 377 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0922/0.2841, allocations: 86.95 MB / 464 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.2844, allocations: 87.95 kB / 464.1 MB, free: 9.48 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Magnetic/FluxTubes.mo:1363:11-1363:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.09402/0.3784, allocations: 35.92 MB / 500 MB, free: 5.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3784, allocations: 0 / 500 MB, free: 5.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.003e-05/0.3785, allocations: 20 kB / 0.4883 GB, free: 5.391 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002586/0.3811, allocations: 1.224 MB / 0.4895 GB, free: 4.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.3812, allocations: 12.03 kB / 0.4895 GB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.3815, allocations: 123.5 kB / 0.4896 GB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3825, allocations: 0.6337 MB / 0.4902 GB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.3827, allocations: 78.55 kB / 0.4903 GB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.3828, allocations: 100.4 kB / 0.4904 GB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.3847, allocations: 1.029 MB / 0.4914 GB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.3848, allocations: 15.77 kB / 0.4914 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.831e-05/0.3849, allocations: 40 kB / 0.4915 GB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.3849, allocations: 27.98 kB / 0.4915 GB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.3869, allocations: 0.9421 MB / 0.4924 GB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1632/0.5502, allocations: 3.558 MB / 0.4959 GB, free: 96.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.5517, allocations: 0.8764 MB / 0.4967 GB, free: 96.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009364/0.5526, allocations: 0.5166 MB / 0.4972 GB, free: 96.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.5527, allocations: 19.27 kB / 0.4973 GB, free: 96.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.5527, allocations: 44.5 kB / 0.4973 GB, free: 96.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 3.617e-06/0.5527, allocations: 0 / 0.4973 GB, free: 96.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.01072/0.5635, allocations: 5.1 MB / 0.5023 GB, free: 95.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.5636, allocations: 90.95 kB / 0.5024 GB, free: 95.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.5642, allocations: 0.6099 MB / 0.503 GB, free: 95.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.5643, allocations: 49.42 kB / 0.503 GB, free: 95.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.5645, allocations: 416.3 kB / 0.5034 GB, free: 94.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.5647, allocations: 449.6 kB / 0.5038 GB, free: 94.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.5648, allocations: 25.75 kB / 0.5039 GB, free: 94.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.5649, allocations: 398.9 kB / 0.5042 GB, free: 94.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007906/0.5657, allocations: 450.1 kB / 0.5047 GB, free: 94.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008536/0.5665, allocations: 0.5773 MB / 0.5052 GB, free: 94.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.5682, allocations: 1.038 MB / 0.5063 GB, free: 94.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5682, allocations: 2.25 kB / 0.5063 GB, free: 94.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002303/0.5705, allocations: 1.37 MB / 0.5076 GB, free: 93.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5705, allocations: 7.469 kB / 0.5076 GB, free: 93.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.5706, allocations: 3.391 kB / 0.5076 GB, free: 93.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.571, allocations: 157.8 kB / 0.5078 GB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.5721, allocations: 284.6 kB / 0.508 GB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.575, allocations: 4.778 MB / 0.5127 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008267/0.5758, allocations: 76.08 kB / 0.5128 GB, free: 89.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.5759, allocations: 49.11 kB / 0.5128 GB, free: 89.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004412/0.5763, allocations: 287.7 kB / 0.5131 GB, free: 89.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.5765, allocations: 97.94 kB / 0.5132 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.578, allocations: 0.8568 MB / 0.514 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.578, allocations: 15 kB / 0.514 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.5781, allocations: 3.906 kB / 0.514 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.5781, allocations: 11.48 kB / 0.514 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/0.5824, allocations: 3.114 MB / 0.5171 GB, free: 87.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.5825, allocations: 3.781 kB / 0.5171 GB, free: 87.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009529/0.5834, allocations: 255.1 kB / 0.5173 GB, free: 87.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003036/0.5837, allocations: 122.5 kB / 0.5175 GB, free: 87.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.85e-05/0.5838, allocations: 31.44 kB / 0.5175 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.5861, allocations: 4.393 MB / 0.5218 GB, free: 82.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5861, allocations: 7.906 kB / 0.5218 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.5891, allocations: 2.041 MB / 0.5238 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.5893, allocations: 175.6 kB / 0.5239 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.5895, allocations: 27.72 kB / 0.524 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000679/0.5902, allocations: 84.39 kB / 0.524 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.5903, allocations: 89.89 kB / 0.5241 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.5904, allocations: 39.62 kB / 0.5242 GB, free: 81.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000521/0.5909, allocations: 440.3 kB / 0.5246 GB, free: 81.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5909, allocations: 0 / 0.5246 GB, free: 81.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001063/0.592, allocations: 270.6 kB / 0.5248 GB, free: 81.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.i,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002279/0.5922, allocations: 156.4 kB / 0.525 GB, free: 81.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.5945, allocations: 1.516 MB / 0.5265 GB, free: 80.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5945, allocations: 0 / 0.5265 GB, free: 80.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.5957, allocations: 1.004 MB / 0.5275 GB, free: 79.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.597, allocations: 171.8 kB / 0.5276 GB, free: 79.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.6006, allocations: 2.828 MB / 0.5304 GB, free: 77.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.601, allocations: 1.039 MB / 0.5314 GB, free: 77.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006264/0.6017, allocations: 123 kB / 0.5315 GB, free: 77.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.6019, allocations: 81.27 kB / 0.5316 GB, free: 77.21 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6019, allocations: 0 / 0.5316 GB, free: 77.21 MB / 378.7 MB Notification: Performance of Templates: time 0.01781/0.6197, allocations: 11.74 MB / 0.5431 GB, free: 70.56 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches