Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001022, allocations: 198.8 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 226.5 MB / 245.3 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007406/0.0007406, allocations: 102.8 kB / 297.4 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002282/0.0002282, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1952, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09598/0.2913, allocations: 84.7 MB / 493.4 MB, free: 6.883 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.2916, allocations: 97.66 kB / 493.5 MB, free: 6.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04694/0.3386, allocations: 20.85 MB / 0.5023 GB, free: 1.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3386, allocations: 0 / 0.5023 GB, free: 1.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.3386, allocations: 11.94 kB / 0.5023 GB, free: 1.688 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.002869/0.3415, allocations: 0.9834 MB / 0.5032 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3415, allocations: 8.031 kB / 0.5032 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.3428, allocations: 188 kB / 0.5034 GB, free: 472 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.343, allocations: 236.1 kB / 0.5036 GB, free: 192 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.343, allocations: 54.38 kB / 0.5037 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.3432, allocations: 64.38 kB / 0.5038 GB, free: 72 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2122/0.5554, allocations: 0.7053 MB / 0.5045 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.5554, allocations: 6.891 kB / 0.5045 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/0.5555, allocations: 27.56 kB / 0.5045 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.5556, allocations: 16.75 kB / 0.5045 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.5576, allocations: 0.6267 MB / 0.5051 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004675/0.5623, allocations: 2.36 MB / 0.5074 GB, free: 85.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.5642, allocations: 1.624 MB / 0.509 GB, free: 84.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/0.565, allocations: 283 kB / 0.5093 GB, free: 84.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.5652, allocations: 183.8 kB / 0.5094 GB, free: 84.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5652, allocations: 39.47 kB / 0.5095 GB, free: 84.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 4.658e-06/0.5653, allocations: 1.469 kB / 0.5095 GB, free: 84.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002445/0.5677, allocations: 0.7219 MB / 0.5102 GB, free: 84.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.5678, allocations: 111.2 kB / 0.5103 GB, free: 84.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.5682, allocations: 262.4 kB / 0.5105 GB, free: 84.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.5683, allocations: 35.08 kB / 0.5106 GB, free: 84.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.5685, allocations: 268.3 kB / 0.5108 GB, free: 83.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.5687, allocations: 229.3 kB / 0.5111 GB, free: 83.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.5688, allocations: 12.78 kB / 0.5111 GB, free: 83.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.5689, allocations: 347.8 kB / 0.5114 GB, free: 83.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007686/0.5697, allocations: 222 kB / 0.5116 GB, free: 83.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.5703, allocations: 308.3 kB / 0.5119 GB, free: 83.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.5716, allocations: 0.5356 MB / 0.5124 GB, free: 83.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5716, allocations: 0 / 0.5124 GB, free: 83.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001635/0.5733, allocations: 0.648 MB / 0.5131 GB, free: 83.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.5733, allocations: 4.625 kB / 0.5131 GB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5733, allocations: 5.938 kB / 0.5131 GB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.5734, allocations: 3.875 kB / 0.5131 GB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009859/0.5744, allocations: 170.7 kB / 0.5132 GB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.5744, allocations: 7.281 kB / 0.5132 GB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/0.575, allocations: 79.72 kB / 0.5133 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/0.5751, allocations: 25.16 kB / 0.5133 GB, free: 83.29 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.0002756/0.5754, allocations: 183.6 kB / 0.5135 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.5755, allocations: 40.12 kB / 0.5136 GB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.5771, allocations: 0.6194 MB / 0.5142 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.5772, allocations: 8.125 kB / 0.5142 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5772, allocations: 0 / 0.5142 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5772, allocations: 7.797 kB / 0.5142 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.5797, allocations: 1.293 MB / 0.5154 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5798, allocations: 0 / 0.5154 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007591/0.5805, allocations: 135.4 kB / 0.5156 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5805, allocations: 7.812 kB / 0.5156 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.5806, allocations: 22.03 kB / 0.5156 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.5806, allocations: 7.438 kB / 0.5156 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5806, allocations: 0 / 0.5156 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.5827, allocations: 0.9953 MB / 0.5166 GB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.5828, allocations: 129.5 kB / 0.5167 GB, free: 82.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-05/0.5829, allocations: 14.31 kB / 0.5167 GB, free: 82.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.5834, allocations: 28.39 kB / 0.5167 GB, free: 82.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.5835, allocations: 43.48 kB / 0.5168 GB, free: 82.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.5836, allocations: 21.62 kB / 0.5168 GB, free: 82.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002039/0.5838, allocations: 190 kB / 0.517 GB, free: 82.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5838, allocations: 4.062 kB / 0.517 GB, free: 82.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007687/0.5846, allocations: 190.9 kB / 0.5172 GB, free: 82.26 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.0002736/0.5849, allocations: 173.2 kB / 0.5173 GB, free: 82.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.5863, allocations: 0.5488 MB / 0.5179 GB, free: 82.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5863, allocations: 0.8438 kB / 0.5179 GB, free: 82.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.587, allocations: 287.5 kB / 0.5181 GB, free: 81.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/0.5877, allocations: 48.72 kB / 0.5182 GB, free: 81.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.5902, allocations: 1.347 MB / 0.5195 GB, free: 81.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.5905, allocations: 0.8471 MB / 0.5203 GB, free: 80.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.5908, allocations: 55.45 kB / 0.5204 GB, free: 80.4 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5908, allocations: 0 / 0.5204 GB, free: 80.4 MB / 378.7 MB Notification: Performance of Templates: time 0.01059/0.6014, allocations: 6.655 MB / 0.5269 GB, free: 79.83 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches