Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.159/1.159, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008313/0.0008314, allocations: 103.3 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002047/0.0002047, allocations: 15.98 kB / 357.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.188, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09245/0.2805, allocations: 90.5 MB / 499.9 MB, free: 92 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.2808, allocations: 85.14 kB / 0.4883 GB, free: 8 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2769/0.5577, allocations: 56.57 MB / 0.5435 GB, free: 66.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5577, allocations: 0 / 0.5435 GB, free: 66.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001729/0.5579, allocations: 71.88 kB / 0.5436 GB, free: 66.81 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006727/0.5646, allocations: 2.999 MB / 0.5465 GB, free: 63.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.5647, allocations: 8.031 kB / 0.5465 GB, free: 63.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.568, allocations: 0.664 MB / 0.5472 GB, free: 63.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.5713, allocations: 1.823 MB / 0.549 GB, free: 61.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.155e-05/0.5714, allocations: 197.3 kB / 0.5492 GB, free: 61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.5717, allocations: 264 kB / 0.5494 GB, free: 60.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004322/0.5761, allocations: 3.538 MB / 0.5529 GB, free: 57.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.5761, allocations: 4 kB / 0.5529 GB, free: 57.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.5763, allocations: 112 kB / 0.553 GB, free: 56.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.685e-05/0.5764, allocations: 109.4 kB / 0.5531 GB, free: 56.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.58, allocations: 2.906 MB / 0.5559 GB, free: 53.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.5926, allocations: 10.52 MB / 0.5662 GB, free: 43.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.5961, allocations: 4.686 MB / 0.5708 GB, free: 37.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003399/0.5995, allocations: 2.764 MB / 0.5735 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.5996, allocations: 51.52 kB / 0.5735 GB, free: 34.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 2.535e-06/0.5996, allocations: 0 / 0.5735 GB, free: 34.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.004955/0.6045, allocations: 2.783 MB / 0.5762 GB, free: 31.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.6046, allocations: 90.11 kB / 0.5763 GB, free: 31.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.6058, allocations: 1.208 MB / 0.5775 GB, free: 30.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.6058, allocations: 41.7 kB / 0.5775 GB, free: 30.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.6063, allocations: 1.16 MB / 0.5787 GB, free: 29.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.6064, allocations: 370.6 kB / 0.579 GB, free: 29.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.6065, allocations: 28 kB / 0.5791 GB, free: 28.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.6066, allocations: 357.9 kB / 0.5794 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007253/0.6073, allocations: 0.6037 MB / 0.58 GB, free: 28.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008025/0.6081, allocations: 0.8488 MB / 0.5808 GB, free: 27.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008847/0.609, allocations: 0.7382 MB / 0.5815 GB, free: 26.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.609, allocations: 3.953 kB / 0.5815 GB, free: 26.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002457/0.6115, allocations: 2.019 MB / 0.5835 GB, free: 24.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6115, allocations: 8 kB / 0.5835 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6115, allocations: 11.94 kB / 0.5835 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007844/0.6123, allocations: 399.2 kB / 0.5839 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007528/0.6131, allocations: 227.7 kB / 0.5841 GB, free: 23.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/0.6183, allocations: 6.226 MB / 0.5902 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/0.6191, allocations: 146.7 kB / 0.5903 GB, free: 17.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/0.6192, allocations: 48 kB / 0.5904 GB, free: 16.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001164/0.6204, allocations: 0.8689 MB / 0.5912 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.6205, allocations: 134.4 kB / 0.5914 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.6229, allocations: 1.772 MB / 0.5931 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6229, allocations: 12 kB / 0.5931 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6229, allocations: 4 kB / 0.5931 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.623, allocations: 3.984 kB / 0.5931 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005271/0.6282, allocations: 4.116 MB / 0.5971 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6283, allocations: 0 / 0.5971 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.6288, allocations: 147.8 kB / 0.5973 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007281/0.6296, allocations: 397.6 kB / 0.5977 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.068e-05/0.6297, allocations: 31.98 kB / 0.5977 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005174/0.6348, allocations: 6.218 MB / 0.6038 GB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6349, allocations: 8.094 kB / 0.6038 GB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.6379, allocations: 2.716 MB / 0.6064 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.6383, allocations: 243.4 kB / 0.6067 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.6385, allocations: 35.77 kB / 0.6067 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007522/0.6393, allocations: 107.9 kB / 0.6068 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.6395, allocations: 92.73 kB / 0.6069 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.6395, allocations: 31.98 kB / 0.6069 GB, free: 15.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001148/0.6407, allocations: 0.9435 MB / 0.6078 GB, free: 14.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6407, allocations: 0 / 0.6078 GB, free: 14.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00175/0.6424, allocations: 0.6921 MB / 0.6085 GB, free: 13.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002981/0.6428, allocations: 175.1 kB / 0.6087 GB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002757/0.6455, allocations: 1.867 MB / 0.6105 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6455, allocations: 4 kB / 0.6105 GB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.6472, allocations: 1.176 MB / 0.6116 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.6484, allocations: 296.3 kB / 0.6119 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/0.6553, allocations: 5.591 MB / 0.6174 GB, free: 4.738 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.6569, allocations: 2.231 MB / 0.6196 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001023/0.658, allocations: 350.9 kB / 0.6199 GB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.6582, allocations: 83.42 kB / 0.62 GB, free: 2.039 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6582, allocations: 0 / 0.62 GB, free: 2.039 MB / 394.7 MB Notification: Performance of Templates: time 0.03025/0.6885, allocations: 19.54 MB / 0.6391 GB, free: 14.7 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches