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.002321/0.002321, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 87.33 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.697e-05, allocations: 0 / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.4888, allocations: 98.23 MB / 460.6 MB, free: 4.047 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.4892, allocations: 84.95 kB / 460.7 MB, free: 3.965 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.69/2.18, allocations: 303.9 MB / 0.7467 GB, free: 51.7 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.893e-06/2.18, allocations: 0 / 0.7467 GB, free: 51.7 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.0005838/2.18, allocations: 193.5 kB / 0.7468 GB, free: 51.68 MB / 411.1 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.04349/2.224, allocations: 8.726 MB / 0.7554 GB, free: 47.73 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/2.224, allocations: 7.156 kB / 0.7554 GB, free: 47.73 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03456/2.258, allocations: 4.182 MB / 0.7595 GB, free: 43.67 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02012/2.279, allocations: 5.795 MB / 0.7651 GB, free: 37.84 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000864/2.279, allocations: 296 kB / 0.7654 GB, free: 37.55 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004105/2.284, allocations: 499.9 kB / 0.7659 GB, free: 37.07 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03408/2.318, allocations: 11.96 MB / 0.7776 GB, free: 25.1 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.045/2.363, allocations: 13.72 MB / 0.791 GB, free: 11.09 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004486/2.363, allocations: 11.84 kB / 0.791 GB, free: 11.08 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003555/2.367, allocations: 11.98 kB / 0.791 GB, free: 11.07 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000933/2.368, allocations: 0.6075 MB / 0.7916 GB, free: 10.46 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4463/2.814, allocations: 43.9 MB / 0.8344 GB, free: 60.03 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02679/2.841, allocations: 12.09 MB / 0.8462 GB, free: 57.05 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01736/2.858, allocations: 7.108 MB / 0.8532 GB, free: 56.98 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/2.86, allocations: 271.7 kB / 0.8534 GB, free: 56.85 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/2.86, allocations: 105.4 kB / 0.8535 GB, free: 56.8 MB / 427.1 MB Notification: Performance of pre-optimization done (n=817): time 1.293e-05/2.86, allocations: 0 / 0.8535 GB, free: 56.8 MB / 427.1 MB Notification: Performance of matching and sorting (n=817): time 0.04111/2.901, allocations: 14.05 MB / 0.8673 GB, free: 56.34 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/2.901, allocations: 150.6 kB / 0.8674 GB, free: 56.24 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004194/2.905, allocations: 1.607 MB / 0.869 GB, free: 56.07 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002395/2.908, allocations: 32.8 kB / 0.869 GB, free: 56.04 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003291/2.911, allocations: 2.699 MB / 0.8716 GB, free: 54.95 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.006375/2.918, allocations: 2.577 MB / 0.8742 GB, free: 53.1 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002809/2.921, allocations: 0 / 0.8742 GB, free: 53.1 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.001581/2.922, allocations: 0.6086 MB / 0.8748 GB, free: 52.66 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01769/2.94, allocations: 4.999 MB / 0.8796 GB, free: 50.65 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01964/2.96, allocations: 5.814 MB / 0.8853 GB, free: 47.9 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02914/2.989, allocations: 7.033 MB / 0.8922 GB, free: 45.37 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/2.989, allocations: 3.594 kB / 0.8922 GB, free: 45.37 MB / 427.1 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.06189/3.051, allocations: 14.82 MB / 0.9067 GB, free: 39.85 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/3.051, allocations: 11.91 kB / 0.9067 GB, free: 39.85 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/3.051, allocations: 17.62 kB / 0.9067 GB, free: 39.85 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0138/3.065, allocations: 4.3 MB / 0.9109 GB, free: 38.46 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009186/3.074, allocations: 1.09 MB / 0.9119 GB, free: 37.65 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/3.093, allocations: 10.86 MB / 0.9226 GB, free: 27.86 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007205/3.1, allocations: 0.6217 MB / 0.9232 GB, free: 27.36 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001765/3.102, allocations: 259.3 kB / 0.9234 GB, free: 27.12 MB / 427.1 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.002268/3.104, allocations: 302.9 kB / 0.9237 GB, free: 26.95 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/3.105, allocations: 387 kB / 0.9241 GB, free: 26.57 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04051/3.146, allocations: 15.51 MB / 0.9392 GB, free: 13.74 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03505/3.181, allocations: 14.06 MB / 0.9529 GB, free: 1.75 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.554e-05/3.181, allocations: 3.625 kB / 0.9529 GB, free: 1.75 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001675/3.181, allocations: 33 kB / 0.953 GB, free: 1.75 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08891/3.27, allocations: 26.77 MB / 0.9791 GB, free: 12.14 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001072/3.27, allocations: 4 kB / 0.9791 GB, free: 12.14 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008838/3.279, allocations: 0.9512 MB / 0.9801 GB, free: 11.43 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01601/3.295, allocations: 4.269 MB / 0.9842 GB, free: 7.941 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002326/3.298, allocations: 88.34 kB / 0.9843 GB, free: 7.875 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3623/3.66, allocations: 11.03 MB / 0.9951 GB, free: 92.03 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/3.66, allocations: 3.938 kB / 0.9951 GB, free: 92.03 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0615/3.722, allocations: 22.77 MB / 1.017 GB, free: 91.48 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006779/3.729, allocations: 1.717 MB / 1.019 GB, free: 91.19 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002749/3.731, allocations: 0 / 1.019 GB, free: 91.19 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00706/3.738, allocations: 279.8 kB / 1.019 GB, free: 91.19 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003157/3.742, allocations: 0.5703 MB / 1.02 GB, free: 91.18 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002333/3.744, allocations: 215.2 kB / 1.02 GB, free: 91.18 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.003158/3.747, allocations: 1.223 MB / 1.021 GB, free: 91.07 MB / 459.1 MB Notification: Performance of sort global known variables: time 8.72e-07/3.747, allocations: 0 / 1.021 GB, free: 91.07 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01171/3.759, allocations: 2.039 MB / 1.023 GB, free: 90.83 MB / 459.1 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.002627/3.762, allocations: 221.2 kB / 1.023 GB, free: 90.74 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.03408/3.796, allocations: 12.22 MB / 1.035 GB, free: 90.5 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/3.796, allocations: 0 / 1.035 GB, free: 90.5 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02089/3.817, allocations: 6.486 MB / 1.042 GB, free: 90.42 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007516/3.824, allocations: 0.5199 MB / 1.042 GB, free: 90.41 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05344/3.878, allocations: 16.91 MB / 1.059 GB, free: 85.3 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01322/3.891, allocations: 6.024 MB / 1.065 GB, free: 83.2 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00346/3.895, allocations: 326.3 kB / 1.065 GB, free: 83.16 MB / 459.1 MB Notification: Performance of SimCode: time 1.894e-06/3.895, allocations: 1.312 kB / 1.065 GB, free: 83.16 MB / 459.1 MB Notification: Performance of Templates: time 1.169/5.064, allocations: 295 MB / 1.353 GB, free: 108.5 MB / 475.1 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