Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008433/0.0008434, allocations: 176.4 kB / 17.4 MB, free: 4.426 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.314/1.314, allocations: 223.3 MB / 241.4 MB, free: 11.61 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.0007713/0.0007714, allocations: 100.3 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003014, allocations: 12 kB / 352.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1928, allocations: 50.39 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09116/0.284, allocations: 83.18 MB / 485.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.2843, allocations: 100.4 kB / 486 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05728/0.3416, allocations: 26.18 MB / 0.5002 GB, free: 2.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3416, allocations: 0 / 0.5002 GB, free: 2.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.3416, allocations: 16 kB / 0.5002 GB, free: 2.52 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003076/0.3447, allocations: 1.104 MB / 0.5013 GB, free: 1.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3448, allocations: 12.03 kB / 0.5013 GB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.3465, allocations: 263.6 kB / 0.5016 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3468, allocations: 251.2 kB / 0.5018 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.484e-05/0.3469, allocations: 78.31 kB / 0.5019 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.3471, allocations: 104.3 kB / 0.502 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.175/0.5221, allocations: 0.9269 MB / 0.5029 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.921e-05/0.5222, allocations: 8.797 kB / 0.5029 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.5223, allocations: 40 kB / 0.5029 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.5223, allocations: 24.09 kB / 0.503 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.5238, allocations: 0.7754 MB / 0.5037 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.5284, allocations: 3.414 MB / 0.507 GB, free: 85.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.5303, allocations: 1.421 MB / 0.5084 GB, free: 85.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.5308, allocations: 378.1 kB / 0.5088 GB, free: 85.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.849e-05/0.5309, allocations: 101.1 kB / 0.5089 GB, free: 85.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.5309, allocations: 46.31 kB / 0.5089 GB, free: 85.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.605e-06/0.531, allocations: 0 / 0.5089 GB, free: 85.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001739/0.5327, allocations: 1.303 MB / 0.5102 GB, free: 84.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.5327, allocations: 85.36 kB / 0.5103 GB, free: 84.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.533, allocations: 362.7 kB / 0.5106 GB, free: 84.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.5331, allocations: 40.39 kB / 0.5107 GB, free: 84.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.5332, allocations: 381.6 kB / 0.511 GB, free: 84.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.5334, allocations: 299.4 kB / 0.5113 GB, free: 84.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.5334, allocations: 21.94 kB / 0.5113 GB, free: 84.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.5335, allocations: 367.3 kB / 0.5117 GB, free: 83.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.5339, allocations: 258.3 kB / 0.5119 GB, free: 83.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.5344, allocations: 472.7 kB / 0.5124 GB, free: 83.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/0.5352, allocations: 0.7625 MB / 0.5131 GB, free: 83.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5352, allocations: 2.969 kB / 0.5131 GB, free: 83.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001253/0.5365, allocations: 0.965 MB / 0.5141 GB, free: 83.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5365, allocations: 7.031 kB / 0.5141 GB, free: 83.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.5365, allocations: 13.5 kB / 0.5141 GB, free: 83.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.5368, allocations: 124.9 kB / 0.5142 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.5375, allocations: 206.2 kB / 0.5144 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.5401, allocations: 5.565 MB / 0.5199 GB, free: 78.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.5406, allocations: 100.4 kB / 0.5199 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.5407, allocations: 43.03 kB / 0.52 GB, free: 77.95 MB / 378.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 () * Number of clocked 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.0002792/0.5409, allocations: 233.1 kB / 0.5202 GB, free: 77.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-05/0.541, allocations: 50.69 kB / 0.5203 GB, free: 77.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.5422, allocations: 0.8481 MB / 0.5211 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.5423, allocations: 9.031 kB / 0.5211 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5423, allocations: 6.812 kB / 0.5211 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.5423, allocations: 3.797 kB / 0.5211 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.5451, allocations: 2.739 MB / 0.5238 GB, free: 76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.5451, allocations: 11.8 kB / 0.5238 GB, free: 76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.5456, allocations: 138.9 kB / 0.5239 GB, free: 76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.5458, allocations: 110 kB / 0.524 GB, free: 75.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.5459, allocations: 33.28 kB / 0.5241 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.548, allocations: 5.322 MB / 0.5293 GB, free: 70.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.5481, allocations: 11.66 kB / 0.5293 GB, free: 70.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.5494, allocations: 1.39 MB / 0.5306 GB, free: 69.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.5495, allocations: 160.9 kB / 0.5308 GB, free: 69.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.5496, allocations: 27.41 kB / 0.5308 GB, free: 69.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.55, allocations: 27.12 kB / 0.5308 GB, free: 69.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.5501, allocations: 84.52 kB / 0.5309 GB, free: 69.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.5501, allocations: 35.34 kB / 0.5309 GB, free: 69.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.5504, allocations: 270 kB / 0.5312 GB, free: 69.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.5504, allocations: 0 / 0.5312 GB, free: 69.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008159/0.5512, allocations: 275.2 kB / 0.5315 GB, free: 69.26 MB / 378.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 () * Number of clocked 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.0002141/0.5514, allocations: 165.7 kB / 0.5316 GB, free: 69.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.5526, allocations: 1.157 MB / 0.5328 GB, free: 68.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5526, allocations: 1.312 kB / 0.5328 GB, free: 68.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.5532, allocations: 0.7895 MB / 0.5335 GB, free: 67.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008918/0.5541, allocations: 81.06 kB / 0.5336 GB, free: 67.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.5561, allocations: 1.825 MB / 0.5354 GB, free: 66.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.5564, allocations: 0.9157 MB / 0.5363 GB, free: 65.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005181/0.5569, allocations: 116.6 kB / 0.5364 GB, free: 65.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.557, allocations: 48.78 kB / 0.5364 GB, free: 65.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.557, allocations: 0 / 0.5364 GB, free: 65.8 MB / 378.7 MB Notification: Performance of Templates: time 0.01043/0.5675, allocations: 7.071 MB / 0.5433 GB, free: 63.59 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches