Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 180.9 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008447/0.0008448, allocations: 95.08 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002467/0.0002468, allocations: 15.94 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2071, allocations: 50.39 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0953/0.3025, allocations: 83.84 MB / 485.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.3027, allocations: 96.56 kB / 485.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04539/0.3481, allocations: 19.67 MB / 0.4933 GB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3482, allocations: 0 / 0.4933 GB, free: 8.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.3482, allocations: 12 kB / 0.4933 GB, free: 8.637 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.002516/0.3507, allocations: 0.9715 MB / 0.4942 GB, free: 7.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3507, allocations: 8.031 kB / 0.4942 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.3518, allocations: 179.1 kB / 0.4944 GB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.3521, allocations: 236.6 kB / 0.4946 GB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.3521, allocations: 50 kB / 0.4947 GB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.3522, allocations: 68 kB / 0.4947 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.3534, allocations: 0.7051 MB / 0.4954 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.3535, allocations: 7.922 kB / 0.4954 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.3535, allocations: 32 kB / 0.4955 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.3536, allocations: 19.95 kB / 0.4955 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.3548, allocations: 0.6259 MB / 0.4961 GB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.3581, allocations: 2.359 MB / 0.4984 GB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.36, allocations: 1.675 MB / 0.5 GB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.3601, allocations: 93.66 kB / 0.5001 GB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.3601, allocations: 51.09 kB / 0.5002 GB, free: 1.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.214e-06/0.3601, allocations: 0 / 0.5002 GB, free: 1.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.00154/0.3617, allocations: 0.7289 MB / 0.5009 GB, free: 344 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.3618, allocations: 115.4 kB / 0.501 GB, free: 204 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1802/0.542, allocations: 227.9 kB / 0.5012 GB, free: 91.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.5421, allocations: 36.73 kB / 0.5013 GB, free: 91.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.5423, allocations: 268.5 kB / 0.5015 GB, free: 91.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.5425, allocations: 221.6 kB / 0.5017 GB, free: 91.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.5425, allocations: 13.81 kB / 0.5017 GB, free: 91.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.5426, allocations: 348.1 kB / 0.5021 GB, free: 91.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/0.5432, allocations: 220.2 kB / 0.5023 GB, free: 91.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.5439, allocations: 308.6 kB / 0.5026 GB, free: 91.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.5444, allocations: 261.1 kB / 0.5028 GB, free: 91.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5444, allocations: 0 / 0.5028 GB, free: 91.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001268/0.5457, allocations: 0.6509 MB / 0.5035 GB, free: 91.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5457, allocations: 5.5 kB / 0.5035 GB, free: 91.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5458, allocations: 1.375 kB / 0.5035 GB, free: 91.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.5458, allocations: 5.5 kB / 0.5035 GB, free: 91.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.5465, allocations: 164 kB / 0.5036 GB, free: 91.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.5466, allocations: 12.77 kB / 0.5036 GB, free: 91.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.547, allocations: 72.88 kB / 0.5037 GB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.5471, allocations: 26.03 kB / 0.5037 GB, free: 91.16 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.0002435/0.5473, allocations: 188.8 kB / 0.5039 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.429e-05/0.5474, allocations: 38.34 kB / 0.5039 GB, free: 91.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.5489, allocations: 0.6243 MB / 0.5046 GB, free: 90.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.5489, allocations: 11.19 kB / 0.5046 GB, free: 90.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.5489, allocations: 0.5938 kB / 0.5046 GB, free: 90.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.5489, allocations: 7.953 kB / 0.5046 GB, free: 90.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.5512, allocations: 1.285 MB / 0.5058 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.5512, allocations: 1.062 kB / 0.5058 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/0.5519, allocations: 136.4 kB / 0.506 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.5519, allocations: 6.609 kB / 0.506 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.552, allocations: 16.27 kB / 0.506 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.552, allocations: 4.125 kB / 0.506 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.552, allocations: 3.5 kB / 0.506 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.5534, allocations: 1.015 MB / 0.507 GB, free: 90.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.5535, allocations: 133.7 kB / 0.5071 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.5536, allocations: 9.875 kB / 0.5071 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.554, allocations: 35.58 kB / 0.5072 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.5541, allocations: 37.42 kB / 0.5072 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.5541, allocations: 25.5 kB / 0.5072 GB, free: 90.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.5543, allocations: 190.5 kB / 0.5074 GB, free: 90.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5543, allocations: 3.875 kB / 0.5074 GB, free: 90.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005723/0.5548, allocations: 182.3 kB / 0.5076 GB, free: 90.17 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.000223/0.5551, allocations: 158 kB / 0.5077 GB, free: 90.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.5561, allocations: 0.5497 MB / 0.5083 GB, free: 90.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5561, allocations: 0 / 0.5083 GB, free: 90.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.5566, allocations: 282.5 kB / 0.5085 GB, free: 90.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.5569, allocations: 43.55 kB / 0.5086 GB, free: 90.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.5587, allocations: 1.314 MB / 0.5099 GB, free: 89.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.5589, allocations: 0.8619 MB / 0.5107 GB, free: 88.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.5593, allocations: 78.5 kB / 0.5108 GB, free: 88.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.5595, allocations: 43.92 kB / 0.5108 GB, free: 88.66 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5595, allocations: 0 / 0.5108 GB, free: 88.66 MB / 378.7 MB Notification: Performance of Templates: time 0.007367/0.5669, allocations: 4.664 MB / 0.5154 GB, free: 88.42 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches