Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001615, allocations: 200.4 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007203/0.0007203, allocations: 102.6 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003145, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2517, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09407/0.3458, allocations: 84.71 MB / 494.1 MB, free: 6.805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.3461, allocations: 97.16 kB / 494.2 MB, free: 6.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04658/0.3927, allocations: 20.85 MB / 0.503 GB, free: 1.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3927, allocations: 4 kB / 0.503 GB, free: 1.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.3928, allocations: 8 kB / 0.503 GB, free: 1.609 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002697/0.3955, allocations: 0.9756 MB / 0.5039 GB, free: 0.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3955, allocations: 8.031 kB / 0.5039 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.3967, allocations: 188 kB / 0.5041 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.397, allocations: 240.2 kB / 0.5043 GB, free: 116 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/0.397, allocations: 50.31 kB / 0.5044 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1598/0.5568, allocations: 68.02 kB / 0.5045 GB, free: 86.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/0.5597, allocations: 0.7107 MB / 0.5052 GB, free: 86.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/0.5598, allocations: 4.562 kB / 0.5052 GB, free: 86.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/0.5599, allocations: 26.73 kB / 0.5052 GB, free: 86.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.56, allocations: 16.47 kB / 0.5052 GB, free: 86.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.5616, allocations: 0.6251 MB / 0.5058 GB, free: 86.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.5657, allocations: 2.361 MB / 0.5081 GB, free: 85.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.567, allocations: 1.629 MB / 0.5097 GB, free: 84.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.5676, allocations: 276.7 kB / 0.51 GB, free: 84.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.5677, allocations: 186.5 kB / 0.5101 GB, free: 84.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.5678, allocations: 38.84 kB / 0.5102 GB, free: 84.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.855e-06/0.5678, allocations: 0 / 0.5102 GB, free: 84.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001833/0.5696, allocations: 0.7249 MB / 0.5109 GB, free: 84.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.5697, allocations: 110.3 kB / 0.511 GB, free: 84.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.57, allocations: 263.6 kB / 0.5112 GB, free: 84.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.5701, allocations: 35.7 kB / 0.5113 GB, free: 84.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.5702, allocations: 264.8 kB / 0.5115 GB, free: 83.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.5704, allocations: 228.1 kB / 0.5118 GB, free: 83.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.5704, allocations: 16.5 kB / 0.5118 GB, free: 83.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.5705, allocations: 350.5 kB / 0.5121 GB, free: 83.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.571, allocations: 217.5 kB / 0.5123 GB, free: 83.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.5715, allocations: 313.9 kB / 0.5126 GB, free: 83.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008852/0.5724, allocations: 0.5283 MB / 0.5131 GB, free: 83.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5724, allocations: 0 / 0.5131 GB, free: 83.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001033/0.5735, allocations: 0.6486 MB / 0.5138 GB, free: 83.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5735, allocations: 7.469 kB / 0.5138 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5735, allocations: 3.281 kB / 0.5138 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.5735, allocations: 9.906 kB / 0.5138 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/0.5742, allocations: 163.6 kB / 0.5139 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.5742, allocations: 7.359 kB / 0.5139 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.5746, allocations: 82.64 kB / 0.514 GB, free: 83.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.5746, allocations: 26.36 kB / 0.514 GB, free: 83.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.5748, allocations: 182.9 kB / 0.5142 GB, free: 83.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.5749, allocations: 36.59 kB / 0.5143 GB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.576, allocations: 0.6237 MB / 0.5149 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.576, allocations: 7.094 kB / 0.5149 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.576, allocations: 0 / 0.5149 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.576, allocations: 7.547 kB / 0.5149 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.5777, allocations: 1.298 MB / 0.5161 GB, free: 82.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5777, allocations: 3.938 kB / 0.5161 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.5782, allocations: 135.5 kB / 0.5163 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.5782, allocations: 3.844 kB / 0.5163 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.5782, allocations: 15.19 kB / 0.5163 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5782, allocations: 3.812 kB / 0.5163 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5782, allocations: 0 / 0.5163 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.5796, allocations: 0.9964 MB / 0.5173 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.5796, allocations: 123.6 kB / 0.5174 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.5797, allocations: 16.42 kB / 0.5174 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.58, allocations: 33.77 kB / 0.5174 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.5801, allocations: 44.12 kB / 0.5175 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.5802, allocations: 16.78 kB / 0.5175 GB, free: 82.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.5803, allocations: 189.8 kB / 0.5177 GB, free: 82.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5803, allocations: 3.562 kB / 0.5177 GB, free: 82.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.5808, allocations: 196.3 kB / 0.5179 GB, free: 82.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002175/0.5811, allocations: 170.1 kB / 0.518 GB, free: 82.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009313/0.582, allocations: 0.5579 MB / 0.5186 GB, free: 81.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.582, allocations: 0 / 0.5186 GB, free: 81.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.5824, allocations: 279.2 kB / 0.5188 GB, free: 81.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.5829, allocations: 55.36 kB / 0.5189 GB, free: 81.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.5846, allocations: 1.314 MB / 0.5202 GB, free: 81.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.5848, allocations: 0.8448 MB / 0.521 GB, free: 80.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.5852, allocations: 79.84 kB / 0.5211 GB, free: 80.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.5854, allocations: 39.88 kB / 0.5211 GB, free: 80.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5854, allocations: 3.875 kB / 0.5211 GB, free: 80.3 MB / 378.7 MB Notification: Performance of Templates: time 0.007685/0.5931, allocations: 4.75 MB / 0.5258 GB, free: 80.04 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches