Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001394, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008396/0.0008396, allocations: 94.56 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.647e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 51.48 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4644, allocations: 83.15 MB / 478.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.4646, allocations: 90.41 kB / 478.4 MB, free: 9.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05805/0.5227, allocations: 27.28 MB / 0.4938 GB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5227, allocations: 0 / 0.4938 GB, free: 3.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.5228, allocations: 16 kB / 0.4939 GB, free: 3.707 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002796/0.5256, allocations: 1.087 MB / 0.4949 GB, free: 2.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5256, allocations: 10 kB / 0.4949 GB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.5272, allocations: 258.8 kB / 0.4952 GB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.5275, allocations: 262.9 kB / 0.4954 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.5275, allocations: 32 kB / 0.4955 GB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.5277, allocations: 67.5 kB / 0.4955 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001223/0.5289, allocations: 0.6991 MB / 0.4962 GB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.5303, allocations: 0.7782 MB / 0.497 GB, free: 448 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.5303, allocations: 0 / 0.497 GB, free: 448 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.782e-05/0.5304, allocations: 0 / 0.497 GB, free: 448 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.5304, allocations: 24 kB / 0.497 GB, free: 424 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005037/0.5355, allocations: 3.496 MB / 0.5004 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.5374, allocations: 1.362 MB / 0.5017 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.5379, allocations: 328.6 kB / 0.5021 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.5381, allocations: 187 kB / 0.5022 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5381, allocations: 43.34 kB / 0.5023 GB, free: 10.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.206e-06/0.5381, allocations: 0 / 0.5023 GB, free: 10.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.002587/0.5407, allocations: 0.9088 MB / 0.5032 GB, free: 9.684 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.5408, allocations: 89.83 kB / 0.5032 GB, free: 9.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.5411, allocations: 282 kB / 0.5035 GB, free: 9.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.5411, allocations: 29.73 kB / 0.5035 GB, free: 9.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.5413, allocations: 382.7 kB / 0.5039 GB, free: 8.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.5415, allocations: 289.4 kB / 0.5042 GB, free: 8.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.5416, allocations: 0 / 0.5042 GB, free: 8.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5417, allocations: 358.8 kB / 0.5045 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.5421, allocations: 230.6 kB / 0.5047 GB, free: 8.008 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.5426, allocations: 436 kB / 0.5052 GB, free: 7.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.5446, allocations: 0.6111 MB / 0.5058 GB, free: 6.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.5446, allocations: 4 kB / 0.5058 GB, free: 6.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002983/0.5476, allocations: 1.164 MB / 0.5069 GB, free: 5.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5476, allocations: 8 kB / 0.5069 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.5477, allocations: 8 kB / 0.5069 GB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.5481, allocations: 123.4 kB / 0.507 GB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008009/0.5489, allocations: 203.7 kB / 0.5072 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.5529, allocations: 5.341 MB / 0.5124 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.5536, allocations: 74.97 kB / 0.5125 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.5536, allocations: 39.98 kB / 0.5125 GB, free: 15.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.5538, allocations: 135.7 kB / 0.5127 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.5539, allocations: 47.44 kB / 0.5127 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.5567, allocations: 1.033 MB / 0.5137 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5567, allocations: 9.594 kB / 0.5137 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5567, allocations: 4 kB / 0.5137 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.5567, allocations: 7.984 kB / 0.5138 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005215/0.5619, allocations: 3.364 MB / 0.517 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.562, allocations: 8 kB / 0.517 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.5625, allocations: 139.8 kB / 0.5172 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002786/0.5628, allocations: 123.3 kB / 0.5173 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.5628, allocations: 16 kB / 0.5173 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/0.5659, allocations: 5.077 MB / 0.5223 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.566, allocations: 15.94 kB / 0.5223 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/0.5692, allocations: 1.95 MB / 0.5242 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.5693, allocations: 144.3 kB / 0.5243 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.5694, allocations: 11.98 kB / 0.5243 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.5698, allocations: 12 kB / 0.5244 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5699, allocations: 92.14 kB / 0.5244 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.57, allocations: 31.98 kB / 0.5245 GB, free: 1.988 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002047/0.5702, allocations: 198 kB / 0.5247 GB, free: 1.801 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5702, allocations: 1.688 kB / 0.5247 GB, free: 1.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009669/0.5712, allocations: 239.2 kB / 0.5249 GB, free: 1.566 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 1 (referenceSensor.port.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002861/0.5715, allocations: 176.9 kB / 0.5251 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.5728, allocations: 1.053 MB / 0.5261 GB, free: 304 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5729, allocations: 4 kB / 0.5261 GB, free: 300 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.5736, allocations: 0.7273 MB / 0.5268 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.574, allocations: 44.88 kB / 0.5268 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.576, allocations: 1.112 MB / 0.5279 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.5765, allocations: 0.9321 MB / 0.5288 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005178/0.577, allocations: 108.9 kB / 0.5289 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.5772, allocations: 47.44 kB / 0.529 GB, free: 13.13 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5772, allocations: 4 kB / 0.529 GB, free: 13.12 MB / 410.7 MB Notification: Performance of Templates: time 0.01127/0.5885, allocations: 6.47 MB / 0.5353 GB, free: 6.746 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches