Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001697/0.001701, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.946/1.946, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001147/0.001146, allocations: 98.7 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005249/0.0005252, allocations: 11.98 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3338, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.4716, allocations: 86.86 MB / 461.4 MB, free: 9.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.472, allocations: 95.94 kB / 461.5 MB, free: 9.805 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.178/0.65, allocations: 35.9 MB / 497.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6501, allocations: 0 / 497.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.666e-05/0.6501, allocations: 27.98 kB / 497.4 MB, free: 5.738 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.004491/0.6546, allocations: 1.232 MB / 498.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6547, allocations: 8.031 kB / 498.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.6552, allocations: 126.5 kB / 498.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.6569, allocations: 0.6018 MB / 499.4 MB, free: 3.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.6572, allocations: 81.98 kB / 499.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000323/0.6575, allocations: 103.9 kB / 499.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/0.6614, allocations: 1.036 MB / 0.4889 GB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.295e-05/0.6615, allocations: 7.906 kB / 0.4889 GB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.6617, allocations: 36 kB / 0.4889 GB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.6618, allocations: 24 kB / 0.4889 GB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004092/0.6659, allocations: 0.9382 MB / 0.4899 GB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2794/0.9453, allocations: 3.558 MB / 0.4933 GB, free: 96.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.948, allocations: 0.8715 MB / 0.4942 GB, free: 96.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.9482, allocations: 21.56 kB / 0.4942 GB, free: 96.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.9483, allocations: 46.06 kB / 0.4942 GB, free: 96.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 3.877e-06/0.9483, allocations: 1.062 kB / 0.4942 GB, free: 96.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.01798/0.9663, allocations: 4.759 MB / 0.4989 GB, free: 95.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.9664, allocations: 92.52 kB / 0.499 GB, free: 95.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.9676, allocations: 0.5397 MB / 0.4995 GB, free: 95.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000238/0.9679, allocations: 45.27 kB / 0.4996 GB, free: 94.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.9682, allocations: 448.1 kB / 0.5 GB, free: 94.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004989/0.9687, allocations: 424.5 kB / 0.5004 GB, free: 94.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.9689, allocations: 26.78 kB / 0.5004 GB, free: 94.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.969, allocations: 352.5 kB / 0.5007 GB, free: 94.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/0.9707, allocations: 431.6 kB / 0.5012 GB, free: 94.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.9726, allocations: 0.5599 MB / 0.5017 GB, free: 94.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.9744, allocations: 484.8 kB / 0.5022 GB, free: 94.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.9744, allocations: 0 / 0.5022 GB, free: 94.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004139/0.9786, allocations: 1.269 MB / 0.5034 GB, free: 93.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.9787, allocations: 3.906 kB / 0.5034 GB, free: 93.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.9787, allocations: 3.969 kB / 0.5034 GB, free: 93.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/0.9793, allocations: 130.5 kB / 0.5035 GB, free: 93.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/0.9816, allocations: 274.1 kB / 0.5038 GB, free: 93.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/0.9858, allocations: 4.549 MB / 0.5082 GB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.9875, allocations: 83.2 kB / 0.5083 GB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.9877, allocations: 41.47 kB / 0.5084 GB, free: 90.04 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 (138): * Single equations (assignments): 135 * 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%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007075/0.9884, allocations: 285.5 kB / 0.5086 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.9887, allocations: 105 kB / 0.5087 GB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.9912, allocations: 0.819 MB / 0.5095 GB, free: 89.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.9913, allocations: 20.28 kB / 0.5096 GB, free: 89.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.9913, allocations: 3.719 kB / 0.5096 GB, free: 89.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.9914, allocations: 14.89 kB / 0.5096 GB, free: 89.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/0.9988, allocations: 3.008 MB / 0.5125 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.9989, allocations: 3.906 kB / 0.5125 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/1.001, allocations: 231 kB / 0.5127 GB, free: 88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007133/1.001, allocations: 157.6 kB / 0.5129 GB, free: 87.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.002, allocations: 34.62 kB / 0.5129 GB, free: 87.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/1.006, allocations: 5.617 MB / 0.5184 GB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.006, allocations: 3.75 kB / 0.5184 GB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005616/1.012, allocations: 2.099 MB / 0.5205 GB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/1.012, allocations: 174.5 kB / 0.5206 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/1.013, allocations: 23.5 kB / 0.5206 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.014, allocations: 82.88 kB / 0.5207 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/1.014, allocations: 88.25 kB / 0.5208 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.552e-05/1.014, allocations: 38.36 kB / 0.5208 GB, free: 81.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008271/1.015, allocations: 446.7 kB / 0.5213 GB, free: 80.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.015, allocations: 0 / 0.5213 GB, free: 80.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001633/1.017, allocations: 269.7 kB / 0.5215 GB, free: 80.76 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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003148/1.017, allocations: 157.6 kB / 0.5217 GB, free: 80.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003884/1.021, allocations: 1.453 MB / 0.5231 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.021, allocations: 0 / 0.5231 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002366/1.023, allocations: 1.099 MB / 0.5242 GB, free: 79.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/1.025, allocations: 161.5 kB / 0.5243 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/1.03, allocations: 2.794 MB / 0.527 GB, free: 77.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/1.031, allocations: 1.056 MB / 0.5281 GB, free: 76.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006605/1.032, allocations: 90.52 kB / 0.5282 GB, free: 76.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/1.032, allocations: 0 / 0.5282 GB, free: 76.74 MB / 378.7 MB Notification: Performance of Templates: time 0.03956/1.071, allocations: 28.26 MB / 0.5558 GB, free: 55.38 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches