Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001865/0.001871, allocations: 202.4 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 226.5 MB / 245.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007196/0.0007196, allocations: 100.2 kB / 297.4 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002116/0.0002116, allocations: 7.984 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1813, allocations: 51.28 MB / 408.7 MB, free: 27.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08289/0.2642, allocations: 81.87 MB / 490.5 MB, free: 9.781 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.2644, allocations: 84.8 kB / 490.6 MB, free: 9.699 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0252/0.2897, allocations: 12.08 MB / 0.4909 GB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2897, allocations: 0 / 0.4909 GB, free: 13.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.2897, allocations: 11.92 kB / 0.4909 GB, free: 13.46 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001134/0.2908, allocations: 0.624 MB / 0.4915 GB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2909, allocations: 12.02 kB / 0.4915 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006135/0.2915, allocations: 100.5 kB / 0.4916 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.2918, allocations: 264.6 kB / 0.4919 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2918, allocations: 25.03 kB / 0.4919 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.2919, allocations: 28.38 kB / 0.4919 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.2923, allocations: 329.6 kB / 0.4923 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2924, allocations: 3.938 kB / 0.4923 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.2924, allocations: 15.98 kB / 0.4923 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2924, allocations: 8 kB / 0.4923 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.2928, allocations: 242.5 kB / 0.4925 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.2944, allocations: 1.451 MB / 0.4939 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.295, allocations: 0.6955 MB / 0.4946 GB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.2951, allocations: 110.4 kB / 0.4947 GB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.2953, allocations: 166.2 kB / 0.4949 GB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2953, allocations: 38.56 kB / 0.4949 GB, free: 8.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 3.617e-06/0.2953, allocations: 0 / 0.4949 GB, free: 8.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001062/0.2964, allocations: 495.8 kB / 0.4954 GB, free: 8.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.2964, allocations: 63.41 kB / 0.4954 GB, free: 8.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.2965, allocations: 179.2 kB / 0.4956 GB, free: 8.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.2966, allocations: 29.7 kB / 0.4956 GB, free: 8.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.2967, allocations: 176 kB / 0.4958 GB, free: 7.996 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.804e-05/0.2967, allocations: 78.91 kB / 0.4959 GB, free: 7.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.2968, allocations: 4 kB / 0.4959 GB, free: 7.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.2969, allocations: 326.8 kB / 0.4962 GB, free: 7.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.297, allocations: 64.53 kB / 0.4963 GB, free: 7.523 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.2971, allocations: 128.2 kB / 0.4964 GB, free: 7.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.2974, allocations: 207.1 kB / 0.4966 GB, free: 7.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2974, allocations: 0 / 0.4966 GB, free: 7.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000504/0.2979, allocations: 324.7 kB / 0.4969 GB, free: 6.832 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2979, allocations: 7.938 kB / 0.4969 GB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2979, allocations: 0 / 0.4969 GB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002806/0.2982, allocations: 80.8 kB / 0.497 GB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2984, allocations: 43.91 kB / 0.497 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.3, allocations: 1.835 MB / 0.4988 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3001, allocations: 23.78 kB / 0.4988 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.3001, allocations: 12 kB / 0.4989 GB, free: 4.695 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 (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.3003, allocations: 149.7 kB / 0.499 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.3003, allocations: 19.72 kB / 0.499 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/0.3008, allocations: 288.2 kB / 0.4993 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3008, allocations: 0 / 0.4993 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3008, allocations: 7.938 kB / 0.4993 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3009, allocations: 3.984 kB / 0.4993 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.3017, allocations: 0.6862 MB / 0.5 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3017, allocations: 0 / 0.5 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3018, allocations: 31.92 kB / 0.5 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.3021, allocations: 77.03 kB / 0.5001 GB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3021, allocations: 0 / 0.5001 GB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.3036, allocations: 1.835 MB / 0.5019 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3037, allocations: 3.984 kB / 0.5019 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.3042, allocations: 451.7 kB / 0.5023 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.3043, allocations: 112.9 kB / 0.5024 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3044, allocations: 7.938 kB / 0.5024 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3045, allocations: 4 kB / 0.5024 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.3045, allocations: 23.97 kB / 0.5024 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3045, allocations: 4 kB / 0.5024 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.624e-05/0.3046, allocations: 127.5 kB / 0.5026 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3046, allocations: 0 / 0.5026 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004336/0.3051, allocations: 103.8 kB / 0.5027 GB, free: 0.5352 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001866/0.3053, allocations: 135.2 kB / 0.5028 GB, free: 404 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005/0.3058, allocations: 350.8 kB / 0.5031 GB, free: 40 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3058, allocations: 4 kB / 0.5031 GB, free: 36 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1399/0.4457, allocations: 242.2 kB / 0.5034 GB, free: 92.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.4461, allocations: 23 kB / 0.5034 GB, free: 92.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4472, allocations: 0.7484 MB / 0.5041 GB, free: 92.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.4474, allocations: 0.7573 MB / 0.5049 GB, free: 91.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.4475, allocations: 23.34 kB / 0.5049 GB, free: 91.9 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4475, allocations: 0 / 0.5049 GB, free: 91.9 MB / 378.7 MB Notification: Performance of Templates: time 0.07343/0.5209, allocations: 4.024 MB / 0.5088 GB, free: 91.68 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches