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.001106/0.001106, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.534/1.534, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000846/0.0008459, allocations: 82.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.655e-05, allocations: 0 / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.078/0.07806, allocations: 47.59 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/0.373, allocations: 86.76 MB / 456.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.3733, allocations: 81.7 kB / 456.9 MB, free: 6.586 MB / 330.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.09878/0.4721, allocations: 35.95 MB / 492.8 MB, free: 3.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4721, allocations: 0 / 492.8 MB, free: 3.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.24e-05/0.4722, allocations: 20 kB / 492.8 MB, free: 3.926 MB / 362.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.002486/0.4747, allocations: 1.139 MB / 494 MB, free: 2.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.4748, allocations: 8.031 kB / 494 MB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.475, allocations: 118.6 kB / 494.1 MB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.4762, allocations: 0.6096 MB / 494.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.4763, allocations: 74 kB / 494.8 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.4765, allocations: 99.91 kB / 494.9 MB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.4782, allocations: 0.9425 MB / 495.8 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.4782, allocations: 0 / 495.8 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/0.4783, allocations: 44 kB / 495.9 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.4784, allocations: 24 kB / 495.9 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.4799, allocations: 0.7776 MB / 496.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005423/0.4854, allocations: 3.571 MB / 0.4885 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.4866, allocations: 0.8015 MB / 0.4893 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/0.4873, allocations: 458.3 kB / 0.4897 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/0.4874, allocations: 16.55 kB / 0.4897 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4874, allocations: 47.06 kB / 0.4898 GB, free: 10.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 2.885e-06/0.4874, allocations: 3.938 kB / 0.4898 GB, free: 10.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.008871/0.4963, allocations: 4.271 MB / 0.494 GB, free: 6.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.4964, allocations: 94.33 kB / 0.4941 GB, free: 6.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.4971, allocations: 0.5284 MB / 0.4946 GB, free: 5.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.4971, allocations: 45.7 kB / 0.4946 GB, free: 5.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.4974, allocations: 420.4 kB / 0.495 GB, free: 5.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.4977, allocations: 445.4 kB / 0.4954 GB, free: 4.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.4978, allocations: 24 kB / 0.4955 GB, free: 4.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.498, allocations: 398.7 kB / 0.4958 GB, free: 4.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/0.4986, allocations: 370.6 kB / 0.4962 GB, free: 4.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/0.4993, allocations: 0.5122 MB / 0.4967 GB, free: 3.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/0.5, allocations: 415.7 kB / 0.4971 GB, free: 3.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5, allocations: 4 kB / 0.4971 GB, free: 3.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001972/0.502, allocations: 1.215 MB / 0.4983 GB, free: 1.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.502, allocations: 8 kB / 0.4983 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5021, allocations: 0 / 0.4983 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004673/0.5025, allocations: 158.7 kB / 0.4984 GB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.5037, allocations: 287.6 kB / 0.4987 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003956/0.5077, allocations: 4.774 MB / 0.5034 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009794/0.5087, allocations: 80.02 kB / 0.5035 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.5088, allocations: 43.98 kB / 0.5035 GB, free: 12.17 MB / 394.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 () * 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.0002773/0.5091, allocations: 172.7 kB / 0.5037 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.5093, allocations: 98.86 kB / 0.5038 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.5109, allocations: 0.795 MB / 0.5045 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.511, allocations: 12 kB / 0.5045 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.511, allocations: 4 kB / 0.5045 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.511, allocations: 7.969 kB / 0.5046 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004568/0.5156, allocations: 2.977 MB / 0.5075 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.5156, allocations: 0 / 0.5075 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.5167, allocations: 256 kB / 0.5077 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.5171, allocations: 130.5 kB / 0.5078 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/0.5172, allocations: 27.98 kB / 0.5079 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.5204, allocations: 4.393 MB / 0.5121 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5205, allocations: 4 kB / 0.5122 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.5233, allocations: 1.952 MB / 0.5141 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.5236, allocations: 172 kB / 0.5142 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.5237, allocations: 31.98 kB / 0.5143 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/0.5244, allocations: 79.95 kB / 0.5143 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.5246, allocations: 92.59 kB / 0.5144 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.5247, allocations: 39.94 kB / 0.5145 GB, free: 260 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005915/0.5253, allocations: 435.2 kB / 0.5149 GB, free: 15.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.923e-06/0.5253, allocations: 0 / 0.5149 GB, free: 15.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001149/0.5264, allocations: 275.9 kB / 0.5151 GB, free: 15.55 MB / 410.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.g_ma.Phi,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 () * 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.0003435/0.5268, allocations: 154.4 kB / 0.5153 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.5289, allocations: 1.354 MB / 0.5166 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5289, allocations: 0 / 0.5166 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.5301, allocations: 0.919 MB / 0.5175 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5311, allocations: 159.9 kB / 0.5177 GB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.5353, allocations: 1.802 MB / 0.5194 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.5364, allocations: 1.056 MB / 0.5204 GB, free: 9.949 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007829/0.5372, allocations: 131.8 kB / 0.5206 GB, free: 9.816 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.5375, allocations: 75.41 kB / 0.5206 GB, free: 9.742 MB / 410.7 MB Notification: Performance of SimCode: time 1.103e-06/0.5375, allocations: 4 kB / 0.5206 GB, free: 9.738 MB / 410.7 MB Notification: Performance of Templates: time 0.2135/0.751, allocations: 11.73 MB / 0.5321 GB, free: 117.7 MB / 410.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/jenkins/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