Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001505/0.001504, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008611/0.0008611, allocations: 84.11 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.535e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08579, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3396/0.4254, allocations: 98.46 MB / 461.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.4257, allocations: 93.56 kB / 461.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9668/1.393, allocations: 303.9 MB / 0.7476 GB, free: 62.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.664e-06/1.393, allocations: 0 / 0.7476 GB, free: 62.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000571/1.393, allocations: 200.3 kB / 0.7478 GB, free: 62.26 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.02902/1.422, allocations: 8.718 MB / 0.7563 GB, free: 59.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/1.422, allocations: 10.78 kB / 0.7563 GB, free: 59.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02211/1.444, allocations: 4.19 MB / 0.7604 GB, free: 59.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/1.458, allocations: 5.796 MB / 0.7661 GB, free: 58.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007554/1.458, allocations: 294.8 kB / 0.7663 GB, free: 58.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003521/1.462, allocations: 0.4932 MB / 0.7668 GB, free: 58.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0241/1.486, allocations: 11.96 MB / 0.7785 GB, free: 57.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03393/1.52, allocations: 13.71 MB / 0.7919 GB, free: 48.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003683/1.52, allocations: 4 kB / 0.7919 GB, free: 48.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002666/1.523, allocations: 12 kB / 0.7919 GB, free: 48.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006041/1.524, allocations: 0.6045 MB / 0.7925 GB, free: 47.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0757/1.6, allocations: 43.9 MB / 0.8354 GB, free: 8.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2741/1.874, allocations: 12.09 MB / 0.8472 GB, free: 57.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01266/1.886, allocations: 7.105 MB / 0.8541 GB, free: 57.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1.888, allocations: 277.8 kB / 0.8544 GB, free: 57.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/1.888, allocations: 104.7 kB / 0.8545 GB, free: 57.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 2.258e-05/1.888, allocations: 0 / 0.8545 GB, free: 57.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.02994/1.918, allocations: 14.05 MB / 0.8682 GB, free: 56.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.918, allocations: 152.1 kB / 0.8684 GB, free: 56.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/1.921, allocations: 1.609 MB / 0.8699 GB, free: 56.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001452/1.922, allocations: 25.7 kB / 0.8699 GB, free: 56.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/1.924, allocations: 2.76 MB / 0.8726 GB, free: 55.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003551/1.927, allocations: 2.581 MB / 0.8752 GB, free: 54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/1.929, allocations: 2.062 kB / 0.8752 GB, free: 54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000808/1.93, allocations: 0.603 MB / 0.8758 GB, free: 53.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007946/1.938, allocations: 4.995 MB / 0.8806 GB, free: 53.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009276/1.947, allocations: 5.815 MB / 0.8863 GB, free: 53.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/1.96, allocations: 7.034 MB / 0.8932 GB, free: 52.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-05/1.96, allocations: 5.781 kB / 0.8932 GB, free: 52.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03242/1.992, allocations: 14.93 MB / 0.9078 GB, free: 48.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/1.992, allocations: 10.81 kB / 0.9078 GB, free: 48.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-05/1.993, allocations: 18.31 kB / 0.9078 GB, free: 48.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008958/2.002, allocations: 4.299 MB / 0.912 GB, free: 47.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005191/2.007, allocations: 1.09 MB / 0.913 GB, free: 47.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/2.018, allocations: 10.85 MB / 0.9236 GB, free: 41.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005317/2.024, allocations: 0.628 MB / 0.9243 GB, free: 41.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/2.025, allocations: 255.2 kB / 0.9245 GB, free: 41.13 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: loss_e.conductor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] loss_e.conductor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] loss_e.conductor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] loss_e.conductor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_e.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] loss_e.conductor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_e.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_e.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_e.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: resistor_m.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_m.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor_m.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor_m.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_m.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_m.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_m.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_m.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_m.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] 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 () * 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.001581/2.027, allocations: 300.7 kB / 0.9248 GB, free: 41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/2.028, allocations: 384 kB / 0.9252 GB, free: 40.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02654/2.054, allocations: 15.52 MB / 0.9403 GB, free: 34.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02702/2.082, allocations: 14.06 MB / 0.954 GB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.801e-05/2.082, allocations: 3.844 kB / 0.9541 GB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001811/2.082, allocations: 35.27 kB / 0.9541 GB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05384/2.136, allocations: 26.63 MB / 0.9801 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.928e-05/2.136, allocations: 0 / 0.9801 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004671/2.141, allocations: 0.9423 MB / 0.981 GB, free: 0 / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008901/2.149, allocations: 4.27 MB / 0.9852 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001709/2.151, allocations: 89.47 kB / 0.9853 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/2.165, allocations: 10.83 MB / 0.9958 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/2.165, allocations: 0 / 0.9958 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05209/2.217, allocations: 23.7 MB / 1.019 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006425/2.223, allocations: 1.775 MB / 1.021 GB, free: 0 / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002481/2.226, allocations: 3.141 kB / 1.021 GB, free: 0 / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005829/2.232, allocations: 354.5 kB / 1.021 GB, free: 0 / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2828/2.515, allocations: 0.6385 MB / 1.022 GB, free: 87.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002193/2.517, allocations: 216 kB / 1.022 GB, free: 87.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002514/2.519, allocations: 1.219 MB / 1.023 GB, free: 87.26 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.61e-07/2.52, allocations: 1.031 kB / 1.023 GB, free: 87.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01038/2.53, allocations: 2.035 MB / 1.025 GB, free: 87.26 MB / 458.7 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 () * 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.002461/2.532, allocations: 231.8 kB / 1.025 GB, free: 87.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02571/2.558, allocations: 12.21 MB / 1.037 GB, free: 86.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/2.558, allocations: 1.375 kB / 1.037 GB, free: 86.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01488/2.573, allocations: 6.496 MB / 1.044 GB, free: 86.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005765/2.579, allocations: 0.5237 MB / 1.044 GB, free: 86.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03955/2.618, allocations: 17.15 MB / 1.061 GB, free: 84.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007832/2.626, allocations: 6.204 MB / 1.067 GB, free: 83.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005461/2.632, allocations: 1.559 MB / 1.068 GB, free: 83.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/2.633, allocations: 277.3 kB / 1.069 GB, free: 83.56 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/2.633, allocations: 4 kB / 1.069 GB, free: 83.56 MB / 458.7 MB Notification: Performance of Templates: time 0.1286/2.762, allocations: 99.85 MB / 1.166 GB, free: 27.2 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches