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.002049/0.002049, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 93.5 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.778e-05/1.778e-05, allocations: 0 / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3226, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4611, allocations: 86.12 MB / 448.5 MB, free: 196 kB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.4614, allocations: 87.94 kB / 448.5 MB, free: 108 kB / 331.1 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.1635/0.6249, allocations: 35.59 MB / 484.1 MB, free: 12.48 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.625, allocations: 0 / 484.1 MB, free: 12.48 MB / 379.1 MB Notification: Performance of Transformations before backend: time 6.984e-05/0.6251, allocations: 20 kB / 484.1 MB, free: 12.46 MB / 379.1 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.003722/0.6288, allocations: 1.139 MB / 485.3 MB, free: 11.28 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.6289, allocations: 8.031 kB / 485.3 MB, free: 11.27 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003928/0.6293, allocations: 122.6 kB / 485.4 MB, free: 11.15 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.6308, allocations: 0.6018 MB / 486 MB, free: 10.5 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.631, allocations: 42 kB / 486.1 MB, free: 10.46 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.6313, allocations: 59.98 kB / 486.1 MB, free: 10.41 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002288/0.6336, allocations: 0.7303 MB / 486.8 MB, free: 9.676 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.6358, allocations: 0.8018 MB / 487.6 MB, free: 8.863 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.6359, allocations: 11.89 kB / 487.7 MB, free: 8.852 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.6361, allocations: 0 / 487.7 MB, free: 8.852 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.6361, allocations: 24 kB / 487.7 MB, free: 8.828 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008774/0.6449, allocations: 3.404 MB / 491.1 MB, free: 5.277 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.6469, allocations: 0.7376 MB / 491.8 MB, free: 4.516 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.6481, allocations: 428.7 kB / 492.2 MB, free: 4.094 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.084e-05/0.6483, allocations: 23.67 kB / 492.3 MB, free: 4.074 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.6483, allocations: 47.12 kB / 492.3 MB, free: 4.02 MB / 379.1 MB Notification: Performance of pre-optimization done (n=95): time 3.938e-06/0.6483, allocations: 0 / 492.3 MB, free: 4.02 MB / 379.1 MB Notification: Performance of matching and sorting (n=131): time 0.0122/0.6606, allocations: 3.662 MB / 496 MB, free: 180 kB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.6607, allocations: 94.33 kB / 496.1 MB, free: 68 kB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.6617, allocations: 466.1 kB / 496.5 MB, free: 15.61 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.6619, allocations: 25.7 kB / 496.5 MB, free: 15.57 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.6623, allocations: 458.8 kB / 497 MB, free: 15.12 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005469/0.6629, allocations: 429.5 kB / 497.4 MB, free: 14.7 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.663, allocations: 0 / 497.4 MB, free: 14.7 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.6632, allocations: 358.8 kB / 497.8 MB, free: 14.34 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.6642, allocations: 346.6 kB / 498.1 MB, free: 14 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.6653, allocations: 485.9 kB / 498.6 MB, free: 13.49 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6665, allocations: 393.3 kB / 499 MB, free: 13.1 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.6665, allocations: 4 kB / 499 MB, free: 13.1 MB / 395.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003117/0.6696, allocations: 1.067 MB / 0.4883 GB, free: 12.02 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.6697, allocations: 8 kB / 0.4883 GB, free: 12.01 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.6697, allocations: 4 kB / 0.4883 GB, free: 12.01 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006889/0.6704, allocations: 142.5 kB / 0.4885 GB, free: 11.86 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.6729, allocations: 283.6 kB / 0.4887 GB, free: 11.58 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/0.6787, allocations: 4.608 MB / 0.4932 GB, free: 6.625 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.6803, allocations: 55.97 kB / 0.4933 GB, free: 6.57 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.6805, allocations: 52.05 kB / 0.4933 GB, free: 6.52 MB / 395.1 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 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.6809, allocations: 125.4 kB / 0.4935 GB, free: 6.391 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.6812, allocations: 86.97 kB / 0.4935 GB, free: 6.305 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.6833, allocations: 0.7128 MB / 0.4942 GB, free: 5.578 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.6834, allocations: 12 kB / 0.4942 GB, free: 5.566 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.6834, allocations: 4 kB / 0.4942 GB, free: 5.562 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/0.6835, allocations: 7.969 kB / 0.4943 GB, free: 5.555 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/0.6905, allocations: 2.744 MB / 0.4969 GB, free: 2.699 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.6906, allocations: 8.062 kB / 0.4969 GB, free: 2.691 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/0.6927, allocations: 255.6 kB / 0.4972 GB, free: 2.441 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.6934, allocations: 122.5 kB / 0.4973 GB, free: 2.312 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.6936, allocations: 15.98 kB / 0.4973 GB, free: 2.297 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2641/0.9577, allocations: 4.209 MB / 0.5014 GB, free: 107.7 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.9577, allocations: 3.688 kB / 0.5014 GB, free: 107.7 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/0.9618, allocations: 1.849 MB / 0.5032 GB, free: 107.2 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.9622, allocations: 170.6 kB / 0.5034 GB, free: 107.1 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.9624, allocations: 6.766 kB / 0.5034 GB, free: 107.1 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.9637, allocations: 56.41 kB / 0.5035 GB, free: 107.1 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.9639, allocations: 93.88 kB / 0.5035 GB, free: 107.1 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.9641, allocations: 36.81 kB / 0.5036 GB, free: 107.1 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0006565/0.9647, allocations: 361.2 kB / 0.5039 GB, free: 107 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.9647, allocations: 0 / 0.5039 GB, free: 107 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001678/0.9664, allocations: 224.4 kB / 0.5041 GB, free: 107 MB / 395.1 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.0003319/0.9668, allocations: 141.9 kB / 0.5043 GB, free: 106.9 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003038/0.9698, allocations: 1.285 MB / 0.5055 GB, free: 106.6 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.9699, allocations: 1.031 kB / 0.5055 GB, free: 106.6 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.9718, allocations: 0.869 MB / 0.5064 GB, free: 106.3 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.9733, allocations: 130.2 kB / 0.5065 GB, free: 106.3 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.9783, allocations: 1.769 MB / 0.5082 GB, free: 105.8 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/0.9792, allocations: 1.06 MB / 0.5093 GB, free: 105.1 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/0.9799, allocations: 86.59 kB / 0.5094 GB, free: 105.1 MB / 395.1 MB Notification: Performance of SimCode: time 9.81e-07/0.9799, allocations: 0 / 0.5094 GB, free: 105.1 MB / 395.1 MB Notification: Performance of Templates: time 0.2241/1.204, allocations: 26.27 MB / 0.535 GB, free: 99.95 MB / 395.1 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