Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 180.9 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.4 MB / 223.6 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007615/0.0007615, allocations: 88.8 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003301, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2125, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.3127, allocations: 99.19 MB / 474.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.313, allocations: 91.95 kB / 475 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8341/1.147, allocations: 304.1 MB / 0.7609 GB, free: 44.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.147, allocations: 0 / 0.7609 GB, free: 44.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003908/1.148, allocations: 191.8 kB / 0.7611 GB, free: 44.21 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.02648/1.174, allocations: 8.96 MB / 0.7698 GB, free: 35.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.174, allocations: 12.03 kB / 0.7698 GB, free: 35.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02057/1.195, allocations: 4.213 MB / 0.774 GB, free: 30.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/1.205, allocations: 5.888 MB / 0.7797 GB, free: 25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000692/1.206, allocations: 0.6459 MB / 0.7803 GB, free: 24.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002795/1.209, allocations: 0.828 MB / 0.7811 GB, free: 23.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/1.24, allocations: 15.33 MB / 0.7961 GB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003302/1.241, allocations: 15.84 kB / 0.7961 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002542/1.243, allocations: 372 kB / 0.7965 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006915/1.244, allocations: 0.6056 MB / 0.7971 GB, free: 6.918 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4264/1.67, allocations: 13.56 MB / 0.8103 GB, free: 50.8 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06964/1.74, allocations: 44.93 MB / 0.8542 GB, free: 47.27 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/1.762, allocations: 12.23 MB / 0.8661 GB, free: 40.74 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01493/1.777, allocations: 7.181 MB / 0.8732 GB, free: 37.73 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009872/1.778, allocations: 278.4 kB / 0.8734 GB, free: 37.58 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.944e-05/1.778, allocations: 107 kB / 0.8735 GB, free: 37.49 MB / 426.8 MB Notification: Performance of pre-optimization done (n=817): time 1.808e-05/1.778, allocations: 0 / 0.8735 GB, free: 37.49 MB / 426.8 MB Notification: Performance of matching and sorting (n=817): time 0.07552/1.854, allocations: 28.18 MB / 0.901 GB, free: 28.84 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/1.854, allocations: 148.5 kB / 0.9012 GB, free: 28.73 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/1.857, allocations: 1.967 MB / 0.9031 GB, free: 28 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001328/1.858, allocations: 132.5 kB / 0.9032 GB, free: 27.89 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/1.859, allocations: 2.762 MB / 0.9059 GB, free: 26.02 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002961/1.862, allocations: 2.674 MB / 0.9085 GB, free: 23.93 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006424/1.863, allocations: 118.5 kB / 0.9087 GB, free: 23.83 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004508/1.863, allocations: 0.6017 MB / 0.9092 GB, free: 23.4 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006952/1.87, allocations: 5 MB / 0.9141 GB, free: 20.32 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007473/1.878, allocations: 5.864 MB / 0.9199 GB, free: 15.11 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/1.892, allocations: 11.45 MB / 0.931 GB, free: 4.773 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/1.892, allocations: 4 kB / 0.931 GB, free: 4.77 MB / 426.8 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.0219/1.914, allocations: 14.13 MB / 0.9448 GB, free: 8.457 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/1.914, allocations: 14.44 kB / 0.9449 GB, free: 8.445 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.098e-05/1.915, allocations: 19.94 kB / 0.9449 GB, free: 8.426 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008581/1.923, allocations: 4.371 MB / 0.9491 GB, free: 4.887 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/1.928, allocations: 1.052 MB / 0.9502 GB, free: 4.098 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/1.941, allocations: 10.54 MB / 0.9605 GB, free: 10.65 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/1.946, allocations: 0.7124 MB / 0.9612 GB, free: 10.04 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/1.948, allocations: 255.1 kB / 0.9614 GB, free: 9.805 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (559): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * 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: 0 * Non-linear torn systems: 4 {6 9,12 72,6 9,12 95} Notification: Performance of prepare postOptimizeDAE: time 0.009218/1.957, allocations: 3.359 MB / 0.9647 GB, free: 7.062 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002156/1.96, allocations: 389.6 kB / 0.9651 GB, free: 6.68 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2689/2.229, allocations: 15.4 MB / 0.9801 GB, free: 80.13 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02237/2.251, allocations: 13.22 MB / 0.993 GB, free: 79.87 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.523e-05/2.251, allocations: 0 / 0.993 GB, free: 79.87 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001316/2.251, allocations: 30.89 kB / 0.993 GB, free: 79.87 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06668/2.318, allocations: 26.95 MB / 1.019 GB, free: 79.01 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001072/2.318, allocations: 2.5 kB / 1.019 GB, free: 79.01 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004488/2.322, allocations: 0.8992 MB / 1.02 GB, free: 79.01 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01005/2.333, allocations: 4.343 MB / 1.024 GB, free: 78.94 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002675/2.335, allocations: 177.5 kB / 1.025 GB, free: 78.94 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/2.352, allocations: 10.51 MB / 1.035 GB, free: 74.91 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.352, allocations: 0.9375 kB / 1.035 GB, free: 74.91 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04441/2.397, allocations: 21.77 MB / 1.056 GB, free: 65.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004957/2.402, allocations: 1.687 MB / 1.058 GB, free: 64.92 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002332/2.404, allocations: 109.9 kB / 1.058 GB, free: 64.84 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004331/2.408, allocations: 351.6 kB / 1.058 GB, free: 64.75 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002532/2.411, allocations: 0.5651 MB / 1.059 GB, free: 64.64 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001802/2.413, allocations: 217 kB / 1.059 GB, free: 64.59 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002679/2.415, allocations: 1.359 MB / 1.06 GB, free: 64.06 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.01e-07/2.415, allocations: 0 / 1.06 GB, free: 64.06 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01147/2.427, allocations: 2.237 MB / 1.063 GB, free: 63.63 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_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 (488): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * 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: 0 * Non-linear torn systems: 4 {6 9,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.002293/2.429, allocations: 343.2 kB / 1.063 GB, free: 63.46 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02333/2.453, allocations: 12.28 MB / 1.075 GB, free: 55.63 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/2.453, allocations: 0 / 1.075 GB, free: 55.63 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01345/2.466, allocations: 6.523 MB / 1.081 GB, free: 50.1 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00732/2.474, allocations: 0.7478 MB / 1.082 GB, free: 49.5 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04039/2.514, allocations: 22.6 MB / 1.104 GB, free: 29.22 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005674/2.52, allocations: 5.888 MB / 1.11 GB, free: 24.56 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/2.522, allocations: 324.2 kB / 1.11 GB, free: 24.27 MB / 458.8 MB Notification: Performance of SimCode: time 9.52e-07/2.522, allocations: 0 / 1.11 GB, free: 24.27 MB / 458.8 MB Notification: Performance of Templates: time 0.9242/3.446, allocations: 308.8 MB / 1.412 GB, free: 73.18 MB / 490.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches