Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 245.4 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.0009796/0.0009796, allocations: 99.88 kB / 297.4 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002485, allocations: 4 kB / 357.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1802, allocations: 51.3 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0887/0.2689, allocations: 83.95 MB / 492.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.2692, allocations: 95.94 kB / 492.7 MB, free: 7.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2216/0.4908, allocations: 27.63 MB / 0.5082 GB, free: 84.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4909, allocations: 4.75 kB / 0.5082 GB, free: 84.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.4909, allocations: 13.75 kB / 0.5082 GB, free: 84.79 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.002675/0.4936, allocations: 1.107 MB / 0.5093 GB, free: 84.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4936, allocations: 9.562 kB / 0.5093 GB, free: 84.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.4953, allocations: 258.7 kB / 0.5095 GB, free: 84.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.4956, allocations: 271.3 kB / 0.5098 GB, free: 83.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.4956, allocations: 73.38 kB / 0.5098 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.4958, allocations: 104.6 kB / 0.5099 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.4974, allocations: 0.9324 MB / 0.5108 GB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.4975, allocations: 6.25 kB / 0.5109 GB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.4975, allocations: 40.81 kB / 0.5109 GB, free: 83.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.4976, allocations: 23.16 kB / 0.5109 GB, free: 83.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.4987, allocations: 0.7809 MB / 0.5117 GB, free: 83.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004425/0.5031, allocations: 3.655 MB / 0.5152 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.5048, allocations: 1.418 MB / 0.5166 GB, free: 81.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.5053, allocations: 365.4 kB / 0.517 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.5054, allocations: 188.8 kB / 0.5172 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.5055, allocations: 43.28 kB / 0.5172 GB, free: 81.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.326e-06/0.5055, allocations: 4 kB / 0.5172 GB, free: 81.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001835/0.5073, allocations: 1.311 MB / 0.5185 GB, free: 80.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.5074, allocations: 89.8 kB / 0.5186 GB, free: 80.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.5077, allocations: 361.1 kB / 0.5189 GB, free: 80.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.5077, allocations: 43.02 kB / 0.519 GB, free: 80.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.5079, allocations: 375 kB / 0.5193 GB, free: 80.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.508, allocations: 301.4 kB / 0.5196 GB, free: 80.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.5081, allocations: 21.47 kB / 0.5196 GB, free: 80.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.5082, allocations: 359.7 kB / 0.52 GB, free: 79.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.5086, allocations: 257.7 kB / 0.5202 GB, free: 79.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.509, allocations: 477.5 kB / 0.5207 GB, free: 79.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000848/0.5099, allocations: 0.7619 MB / 0.5214 GB, free: 79.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5099, allocations: 2.969 kB / 0.5214 GB, free: 79.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001297/0.5112, allocations: 0.9706 MB / 0.5224 GB, free: 78.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.5112, allocations: 7 kB / 0.5224 GB, free: 78.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5113, allocations: 8.875 kB / 0.5224 GB, free: 78.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/0.5116, allocations: 123.8 kB / 0.5225 GB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.5123, allocations: 202 kB / 0.5227 GB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.5149, allocations: 5.571 MB / 0.5281 GB, free: 73.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006257/0.5156, allocations: 108.8 kB / 0.5282 GB, free: 73.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.5156, allocations: 35.94 kB / 0.5283 GB, free: 73.27 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.0003292/0.516, allocations: 239.9 kB / 0.5285 GB, free: 73.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.5161, allocations: 51.25 kB / 0.5285 GB, free: 73.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.5174, allocations: 0.8365 MB / 0.5294 GB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5174, allocations: 10.69 kB / 0.5294 GB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5174, allocations: 0 / 0.5294 GB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5174, allocations: 11.14 kB / 0.5294 GB, free: 72.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.5207, allocations: 3.316 MB / 0.5326 GB, free: 69.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.5207, allocations: 10.25 kB / 0.5326 GB, free: 69.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.5212, allocations: 139 kB / 0.5328 GB, free: 69.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/0.5214, allocations: 118.7 kB / 0.5329 GB, free: 69.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.5215, allocations: 21.78 kB / 0.5329 GB, free: 69.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.5237, allocations: 5.318 MB / 0.5381 GB, free: 64.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5237, allocations: 10 kB / 0.5381 GB, free: 64.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.5252, allocations: 1.392 MB / 0.5395 GB, free: 63.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.5253, allocations: 159.8 kB / 0.5396 GB, free: 63.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.5254, allocations: 33.98 kB / 0.5396 GB, free: 63.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.5258, allocations: 35 kB / 0.5397 GB, free: 63.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/0.5259, allocations: 83.83 kB / 0.5398 GB, free: 63.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.526, allocations: 32 kB / 0.5398 GB, free: 63.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002496/0.5262, allocations: 274.6 kB / 0.54 GB, free: 63.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5262, allocations: 0 / 0.54 GB, free: 63.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009439/0.5272, allocations: 261.6 kB / 0.5403 GB, free: 63.18 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.0002349/0.5274, allocations: 182 kB / 0.5405 GB, free: 63.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.5287, allocations: 1.167 MB / 0.5416 GB, free: 62.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5287, allocations: 0 / 0.5416 GB, free: 62.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.5293, allocations: 0.7845 MB / 0.5424 GB, free: 61.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.5303, allocations: 78.45 kB / 0.5425 GB, free: 61.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.5323, allocations: 1.855 MB / 0.5443 GB, free: 59.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.5326, allocations: 0.9176 MB / 0.5452 GB, free: 58.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.5329, allocations: 63.38 kB / 0.5452 GB, free: 58.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5329, allocations: 0 / 0.5452 GB, free: 58.77 MB / 378.7 MB Notification: Performance of Templates: time 0.08552/0.6184, allocations: 21.02 MB / 0.5657 GB, free: 40.86 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches