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.001965/0.001965, allocations: 182.3 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.827/2.827, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0013/0.0013, allocations: 89.92 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005815/0.0005817, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4525, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.6341, allocations: 86.95 MB / 462.7 MB, free: 9.664 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005527/0.6348, allocations: 79.95 kB / 462.8 MB, free: 9.586 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.1746/0.8094, allocations: 35.94 MB / 498.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.8095, allocations: 0 / 498.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.869e-05/0.8096, allocations: 20 kB / 498.7 MB, free: 5.484 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.0049/0.8145, allocations: 1.224 MB / 499.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.8146, allocations: 11.97 kB / 499.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006909/0.8153, allocations: 119.5 kB / 0.4883 GB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/0.8177, allocations: 0.6298 MB / 0.489 GB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/0.818, allocations: 82.55 kB / 0.489 GB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004935/0.8185, allocations: 96.38 kB / 0.4891 GB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005162/0.8237, allocations: 1.029 MB / 0.4901 GB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.695e-05/0.8238, allocations: 11.83 kB / 0.4901 GB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.8241, allocations: 40 kB / 0.4902 GB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/0.8241, allocations: 27.94 kB / 0.4902 GB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/0.8282, allocations: 0.9421 MB / 0.4911 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3783/1.207, allocations: 3.56 MB / 0.4946 GB, free: 96.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/1.211, allocations: 0.8814 MB / 0.4955 GB, free: 96.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/1.213, allocations: 0.519 MB / 0.496 GB, free: 96.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/1.213, allocations: 17.94 kB / 0.496 GB, free: 96.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.845e-05/1.214, allocations: 42.56 kB / 0.496 GB, free: 96.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 1.085e-05/1.214, allocations: 0 / 0.496 GB, free: 96.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.02397/1.238, allocations: 5.102 MB / 0.501 GB, free: 95.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/1.238, allocations: 96.78 kB / 0.5011 GB, free: 95.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/1.239, allocations: 0.6042 MB / 0.5017 GB, free: 95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/1.24, allocations: 45.42 kB / 0.5017 GB, free: 94.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000488/1.24, allocations: 422.3 kB / 0.5021 GB, free: 94.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007289/1.241, allocations: 444.2 kB / 0.5026 GB, free: 94.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/1.241, allocations: 26.97 kB / 0.5026 GB, free: 94.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002455/1.241, allocations: 400.2 kB / 0.503 GB, free: 94.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/1.243, allocations: 449.4 kB / 0.5034 GB, free: 94.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/1.245, allocations: 0.5851 MB / 0.504 GB, free: 94.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/1.249, allocations: 1.036 MB / 0.505 GB, free: 94.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/1.249, allocations: 0 / 0.505 GB, free: 94.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004955/1.254, allocations: 1.371 MB / 0.5063 GB, free: 93.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/1.254, allocations: 5.281 kB / 0.5063 GB, free: 93.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.254, allocations: 10.84 kB / 0.5063 GB, free: 93.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007627/1.254, allocations: 144.3 kB / 0.5065 GB, free: 93.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/1.257, allocations: 289.3 kB / 0.5068 GB, free: 93.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00544/1.262, allocations: 4.776 MB / 0.5114 GB, free: 89.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.264, allocations: 80.69 kB / 0.5115 GB, free: 89.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/1.264, allocations: 42.86 kB / 0.5115 GB, free: 89.34 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.001053/1.266, allocations: 294.9 kB / 0.5118 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/1.266, allocations: 96.12 kB / 0.5119 GB, free: 89.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/1.269, allocations: 0.8576 MB / 0.5127 GB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/1.269, allocations: 14.62 kB / 0.5128 GB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/1.269, allocations: 7.188 kB / 0.5128 GB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-05/1.269, allocations: 7.688 kB / 0.5128 GB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009738/1.279, allocations: 3.113 MB / 0.5158 GB, free: 87.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/1.279, allocations: 3.938 kB / 0.5158 GB, free: 87.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/1.281, allocations: 256.7 kB / 0.5161 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007734/1.282, allocations: 125.1 kB / 0.5162 GB, free: 86.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/1.282, allocations: 32.69 kB / 0.5162 GB, free: 86.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006062/1.288, allocations: 4.393 MB / 0.5205 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/1.288, allocations: 3.094 kB / 0.5205 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008431/1.297, allocations: 2.044 MB / 0.5225 GB, free: 81.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007742/1.298, allocations: 168.6 kB / 0.5227 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/1.298, allocations: 26.88 kB / 0.5227 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.299, allocations: 83.42 kB / 0.5228 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/1.299, allocations: 89.62 kB / 0.5229 GB, free: 81.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.299, allocations: 38.83 kB / 0.5229 GB, free: 81.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00104/1.301, allocations: 443.6 kB / 0.5233 GB, free: 81.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.955e-06/1.301, allocations: 0 / 0.5233 GB, free: 81.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002271/1.303, allocations: 279.4 kB / 0.5236 GB, free: 81.12 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.0004475/1.303, allocations: 151.4 kB / 0.5237 GB, free: 81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004772/1.308, allocations: 1.511 MB / 0.5252 GB, free: 80.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.308, allocations: 3.938 kB / 0.5252 GB, free: 80.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002678/1.311, allocations: 0.9919 MB / 0.5262 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/1.314, allocations: 187.2 kB / 0.5264 GB, free: 79.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007437/1.321, allocations: 2.859 MB / 0.5291 GB, free: 77.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/1.322, allocations: 1.038 MB / 0.5302 GB, free: 77.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009021/1.323, allocations: 91 kB / 0.5302 GB, free: 77.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/1.323, allocations: 0 / 0.5302 GB, free: 77.14 MB / 378.7 MB Notification: Performance of Templates: time 0.05575/1.379, allocations: 27.97 MB / 0.5576 GB, free: 54.64 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