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.002166/0.002166, allocations: 181 kB / 13.66 MB, free: 1.664 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.413/2.413, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001102/0.001102, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.031e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.09993, allocations: 47.58 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.5123, allocations: 86.77 MB / 455.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5126, allocations: 82.39 kB / 455.9 MB, free: 6.457 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.2031/0.7158, allocations: 35.94 MB / 491.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.7158, allocations: 0 / 491.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001248/0.716, allocations: 20 kB / 491.9 MB, free: 4.277 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.006278/0.7223, allocations: 1.143 MB / 493 MB, free: 3.086 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.7224, allocations: 12.03 kB / 493.1 MB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007936/0.7232, allocations: 118.6 kB / 493.2 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.7258, allocations: 0.5979 MB / 493.8 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003592/0.7262, allocations: 77.98 kB / 493.8 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005288/0.7268, allocations: 99.91 kB / 493.9 MB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004754/0.7316, allocations: 0.9463 MB / 494.9 MB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.164e-05/0.7317, allocations: 0 / 494.9 MB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/0.732, allocations: 40 kB / 494.9 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/0.7321, allocations: 28 kB / 495 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/0.7364, allocations: 0.7737 MB / 495.7 MB, free: 348 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.7515, allocations: 3.575 MB / 499.3 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/0.755, allocations: 0.7899 MB / 0.4884 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.7573, allocations: 470.2 kB / 0.4888 GB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.7575, allocations: 12.55 kB / 0.4888 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.399e-05/0.7576, allocations: 47.11 kB / 0.4889 GB, free: 11.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 6.963e-06/0.7576, allocations: 3.938 kB / 0.4889 GB, free: 11.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.02558/0.7832, allocations: 4.267 MB / 0.4931 GB, free: 6.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.7833, allocations: 94.31 kB / 0.4931 GB, free: 6.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.7852, allocations: 0.5323 MB / 0.4937 GB, free: 6.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003141/0.7856, allocations: 45.7 kB / 0.4937 GB, free: 6.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/0.7861, allocations: 442.9 kB / 0.4941 GB, free: 5.668 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009136/0.7871, allocations: 449.4 kB / 0.4946 GB, free: 5.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.7873, allocations: 24 kB / 0.4946 GB, free: 5.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002715/0.7876, allocations: 358.8 kB / 0.4949 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/0.7896, allocations: 374.5 kB / 0.4953 GB, free: 4.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/0.7919, allocations: 0.5006 MB / 0.4958 GB, free: 3.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.7941, allocations: 427.7 kB / 0.4962 GB, free: 3.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.7942, allocations: 3.938 kB / 0.4962 GB, free: 3.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.005704/0.7999, allocations: 1.164 MB / 0.4973 GB, free: 2.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.8, allocations: 8 kB / 0.4973 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.8001, allocations: 0 / 0.4973 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.8012, allocations: 158.5 kB / 0.4975 GB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003929/0.8052, allocations: 287.6 kB / 0.4977 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009131/0.8144, allocations: 4.77 MB / 0.5024 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.817, allocations: 80.02 kB / 0.5025 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003087/0.8174, allocations: 43.98 kB / 0.5025 GB, free: 12.59 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.0005731/0.818, allocations: 172.7 kB / 0.5027 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005285/0.8185, allocations: 94.88 kB / 0.5028 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.8224, allocations: 0.8027 MB / 0.5036 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.439e-05/0.8224, allocations: 12 kB / 0.5036 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.451e-05/0.8225, allocations: 4.094 kB / 0.5036 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.898e-05/0.8226, allocations: 7.969 kB / 0.5036 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.835, allocations: 2.977 MB / 0.5065 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.8351, allocations: 0 / 0.5065 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00354/0.8386, allocations: 260 kB / 0.5067 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.8398, allocations: 122.5 kB / 0.5069 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003074/0.8401, allocations: 31.98 kB / 0.5069 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007553/0.8477, allocations: 4.393 MB / 0.5112 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/0.8478, allocations: 7.938 kB / 0.5112 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007919/0.8557, allocations: 1.947 MB / 0.5131 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/0.8564, allocations: 172 kB / 0.5133 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/0.8569, allocations: 28 kB / 0.5133 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.8592, allocations: 83.94 kB / 0.5134 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004683/0.8597, allocations: 92.59 kB / 0.5134 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.8599, allocations: 35.95 kB / 0.5135 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001415/0.8614, allocations: 439.2 kB / 0.5139 GB, free: 248 kB / 394.7 MB Notification: Performance of sort global known variables: time 5.761e-06/0.8614, allocations: 0 / 0.5139 GB, free: 248 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.002907/0.8643, allocations: 276 kB / 0.5142 GB, free: 15.97 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.0006/0.865, allocations: 151 kB / 0.5143 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005613/0.8706, allocations: 1.357 MB / 0.5156 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.282e-05/0.8708, allocations: 3.938 kB / 0.5156 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003464/0.8742, allocations: 0.9151 MB / 0.5165 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.8768, allocations: 168.1 kB / 0.5167 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00877/0.8856, allocations: 1.833 MB / 0.5185 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.887, allocations: 1.056 MB / 0.5195 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.8881, allocations: 95.39 kB / 0.5196 GB, free: 10.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.234e-06/0.8881, allocations: 0 / 0.5196 GB, free: 10.23 MB / 410.7 MB Notification: Performance of Templates: time 0.3318/1.22, allocations: 26.58 MB / 0.5456 GB, free: 113.9 MB / 410.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