Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002203/0.002203, allocations: 177.8 kB / 8.363 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 2.329/2.329, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001145/0.001144, allocations: 91.67 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.626e-05, allocations: 3.984 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3484, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.4881, allocations: 82 MB / 444.3 MB, free: 4.324 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.4884, allocations: 79.95 kB / 444.4 MB, free: 4.246 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07729/0.5657, allocations: 19.24 MB / 463.7 MB, free: 0.8359 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5658, allocations: 3.938 kB / 463.7 MB, free: 0.832 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.5658, allocations: 8 kB / 463.7 MB, free: 0.8242 MB / 347.1 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.004308/0.5701, allocations: 0.9442 MB / 464.6 MB, free: 15.84 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5702, allocations: 8.031 kB / 464.6 MB, free: 15.83 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.572, allocations: 179.1 kB / 464.8 MB, free: 15.65 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.5724, allocations: 230.9 kB / 465 MB, free: 15.38 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.5724, allocations: 28 kB / 465 MB, free: 15.36 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.5726, allocations: 49.73 kB / 465.1 MB, free: 15.31 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00169/0.5743, allocations: 0.5077 MB / 465.6 MB, free: 14.8 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.5761, allocations: 0.5602 MB / 466.2 MB, free: 14.23 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/0.5761, allocations: 7.984 kB / 466.2 MB, free: 14.22 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.169e-05/0.5762, allocations: 0 / 466.2 MB, free: 14.22 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.5763, allocations: 16 kB / 466.2 MB, free: 14.21 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005887/0.5822, allocations: 2.23 MB / 468.4 MB, free: 11.86 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.5852, allocations: 1.604 MB / 470 MB, free: 10.02 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/0.5859, allocations: 231.8 kB / 470.2 MB, free: 9.785 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.5861, allocations: 97.66 kB / 470.3 MB, free: 9.672 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.5861, allocations: 39.12 kB / 470.4 MB, free: 9.625 MB / 363.1 MB Notification: Performance of pre-optimization done (n=66): time 3.407e-06/0.5861, allocations: 0 / 470.4 MB, free: 9.625 MB / 363.1 MB Notification: Performance of matching and sorting (n=66): time 0.00213/0.5883, allocations: 0.5336 MB / 470.9 MB, free: 9.086 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.5884, allocations: 119.3 kB / 471 MB, free: 8.945 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.5888, allocations: 206.9 kB / 471.2 MB, free: 8.734 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.5889, allocations: 25.7 kB / 471.3 MB, free: 8.703 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.5891, allocations: 334.3 kB / 471.6 MB, free: 8.371 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.5894, allocations: 212.7 kB / 471.8 MB, free: 8.16 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.5895, allocations: 6.062 kB / 471.8 MB, free: 8.156 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5897, allocations: 334.8 kB / 472.1 MB, free: 7.82 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.5902, allocations: 165.6 kB / 472.3 MB, free: 7.656 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.5908, allocations: 249.9 kB / 472.5 MB, free: 7.391 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.5922, allocations: 320.3 kB / 472.8 MB, free: 7.078 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.5922, allocations: 32 / 472.8 MB, free: 7.078 MB / 363.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002294/0.5946, allocations: 0.6247 MB / 473.5 MB, free: 6.445 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.5946, allocations: 4 kB / 473.5 MB, free: 6.441 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.5946, allocations: 4 kB / 473.5 MB, free: 6.438 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.5947, allocations: 4 kB / 473.5 MB, free: 6.434 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.5961, allocations: 167.9 kB / 473.6 MB, free: 6.27 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.5962, allocations: 8 kB / 473.7 MB, free: 6.262 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.5971, allocations: 67.3 kB / 473.7 MB, free: 6.195 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.5972, allocations: 27.98 kB / 473.7 MB, free: 6.168 MB / 363.1 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 () * 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.0001943/0.5974, allocations: 108.9 kB / 473.9 MB, free: 6.055 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.5975, allocations: 39.53 kB / 473.9 MB, free: 6.016 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.5999, allocations: 0.601 MB / 474.5 MB, free: 5.41 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.5999, allocations: 8 kB / 474.5 MB, free: 5.402 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.5999, allocations: 0 / 474.5 MB, free: 5.402 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.6, allocations: 11.92 kB / 474.5 MB, free: 5.391 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.6036, allocations: 1.207 MB / 475.7 MB, free: 4.137 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.6037, allocations: 0 / 475.7 MB, free: 4.137 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.6049, allocations: 128.8 kB / 475.8 MB, free: 4.012 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.6049, allocations: 8 kB / 475.9 MB, free: 4.004 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.605, allocations: 11.95 kB / 475.9 MB, free: 3.992 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.605, allocations: 4 kB / 475.9 MB, free: 3.988 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.605, allocations: 0 / 475.9 MB, free: 3.988 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.6078, allocations: 0.9571 MB / 476.8 MB, free: 3.008 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.608, allocations: 124.5 kB / 476.9 MB, free: 2.867 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.502e-05/0.6081, allocations: 8.016 kB / 477 MB, free: 2.859 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006943/0.6088, allocations: 31.97 kB / 477 MB, free: 2.828 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.609, allocations: 40.5 kB / 477 MB, free: 2.789 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/0.6091, allocations: 17.03 kB / 477 MB, free: 2.773 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.6093, allocations: 164.5 kB / 477.2 MB, free: 2.609 MB / 363.1 MB Notification: Performance of sort global known variables: time 2.785e-06/0.6094, allocations: 0 / 477.2 MB, free: 2.609 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0009128/0.6103, allocations: 163.5 kB / 477.4 MB, free: 2.449 MB / 363.1 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 () * 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.0003317/0.6106, allocations: 147.6 kB / 477.5 MB, free: 2.297 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.612, allocations: 454.2 kB / 477.9 MB, free: 1.855 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.612, allocations: 0 / 477.9 MB, free: 1.855 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.6126, allocations: 230 kB / 478.2 MB, free: 1.625 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.6131, allocations: 31.33 kB / 478.2 MB, free: 1.598 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.6161, allocations: 0.798 MB / 479 MB, free: 0.7695 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.6168, allocations: 0.8614 MB / 479.9 MB, free: 15.88 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/0.6172, allocations: 55.41 kB / 479.9 MB, free: 15.83 MB / 379.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6172, allocations: 0 / 479.9 MB, free: 15.83 MB / 379.1 MB Notification: Performance of Templates: time 0.01861/0.6358, allocations: 6.435 MB / 486.4 MB, free: 9.418 MB / 379.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches