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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 180.6 kB / 8.479 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.2 MB / 214.1 MB, free: 5.516 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.0009334/0.0009334, allocations: 90.81 kB / 262.1 MB, free: 5.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.46e-06/5.5e-06, allocations: 0 / 315 MB, free: 41.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07074/0.07076, allocations: 47.58 MB / 362.6 MB, free: 10 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/0.3205, allocations: 98.14 MB / 460.7 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.3208, allocations: 86.69 kB / 460.8 MB, free: 6.301 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.8738/1.195, allocations: 301.9 MB / 0.7448 GB, free: 44.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003835/1.195, allocations: 198.3 kB / 0.745 GB, free: 44.91 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.02646/1.221, allocations: 8.625 MB / 0.7534 GB, free: 43.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.222, allocations: 10 kB / 0.7534 GB, free: 43.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02349/1.245, allocations: 3.912 MB / 0.7572 GB, free: 42.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/1.258, allocations: 5.797 MB / 0.7629 GB, free: 42.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006041/1.259, allocations: 297.4 kB / 0.7632 GB, free: 42.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002678/1.262, allocations: 495.6 kB / 0.7636 GB, free: 42.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02115/1.283, allocations: 12.23 MB / 0.7756 GB, free: 42.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02872/1.312, allocations: 13.96 MB / 0.7892 GB, free: 41.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002179/1.312, allocations: 10.12 kB / 0.7892 GB, free: 41.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/1.313, allocations: 11.88 kB / 0.7892 GB, free: 41.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004597/1.314, allocations: 0.6213 MB / 0.7898 GB, free: 41.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06518/1.379, allocations: 44.32 MB / 0.8331 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/1.391, allocations: 8.986 MB / 0.8419 GB, free: 28.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01189/1.403, allocations: 7.272 MB / 0.849 GB, free: 25.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009953/1.404, allocations: 270 kB / 0.8493 GB, free: 25.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/1.404, allocations: 106.6 kB / 0.8494 GB, free: 25.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.124e-05/1.404, allocations: 3.938 kB / 0.8494 GB, free: 25.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.02016/1.424, allocations: 13.81 MB / 0.8629 GB, free: 13.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/1.424, allocations: 146.3 kB / 0.863 GB, free: 13.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/1.426, allocations: 1.646 MB / 0.8646 GB, free: 11.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009501/1.427, allocations: 25.7 kB / 0.8646 GB, free: 11.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008032/1.428, allocations: 2.48 MB / 0.867 GB, free: 9.383 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002254/1.43, allocations: 2.577 MB / 0.8696 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004708/1.431, allocations: 0 / 0.8696 GB, free: 6.996 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003694/1.431, allocations: 0.6033 MB / 0.8702 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005996/1.437, allocations: 5.23 MB / 0.8753 GB, free: 1.867 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0195/1.457, allocations: 7.111 MB / 0.8822 GB, free: 15.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.468, allocations: 6.366 MB / 0.8884 GB, free: 9.699 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.283e-05/1.468, allocations: 4 kB / 0.8884 GB, free: 9.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.1792/1.647, allocations: 15.32 MB / 0.9034 GB, free: 89.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/1.647, allocations: 3.844 kB / 0.9034 GB, free: 89.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.18e-05/1.647, allocations: 17.72 kB / 0.9034 GB, free: 89.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008084/1.655, allocations: 4.331 MB / 0.9076 GB, free: 89.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00579/1.661, allocations: 1.032 MB / 0.9086 GB, free: 89.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/1.674, allocations: 11.2 MB / 0.9196 GB, free: 87.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00563/1.68, allocations: 0.5319 MB / 0.9201 GB, free: 87.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001771/1.682, allocations: 252.3 kB / 0.9203 GB, free: 87.59 MB / 442.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.001629/1.683, allocations: 296.7 kB / 0.9206 GB, free: 87.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.684, allocations: 390.8 kB / 0.921 GB, free: 87.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02682/1.711, allocations: 15.39 MB / 0.936 GB, free: 87.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02351/1.735, allocations: 13.77 MB / 0.9495 GB, free: 86.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-05/1.735, allocations: 5.969 kB / 0.9495 GB, free: 86.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001505/1.735, allocations: 38.03 kB / 0.9495 GB, free: 86.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04916/1.784, allocations: 26.3 MB / 0.9752 GB, free: 86.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.475e-05/1.784, allocations: 8.375 kB / 0.9752 GB, free: 86.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004862/1.789, allocations: 0.9003 MB / 0.9761 GB, free: 86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007991/1.797, allocations: 4.31 MB / 0.9803 GB, free: 84.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001711/1.799, allocations: 88.7 kB / 0.9804 GB, free: 84.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/1.811, allocations: 11.2 MB / 0.9913 GB, free: 79.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.811, allocations: 3.906 kB / 0.9913 GB, free: 79.04 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03209/1.843, allocations: 22.93 MB / 1.014 GB, free: 69.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003859/1.847, allocations: 1.714 MB / 1.015 GB, free: 68.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.848, allocations: 8 kB / 1.015 GB, free: 68.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003059/1.851, allocations: 181.5 kB / 1.016 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001062/1.852, allocations: 0.545 MB / 1.016 GB, free: 68.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005653/1.853, allocations: 221.6 kB / 1.016 GB, free: 67.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001646/1.854, allocations: 1.245 MB / 1.018 GB, free: 66.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006948/1.861, allocations: 2.048 MB / 1.02 GB, free: 64.96 MB / 442.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,12 72,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/1.862, allocations: 230.3 kB / 1.02 GB, free: 64.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01987/1.882, allocations: 12.69 MB / 1.032 GB, free: 53.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.882, allocations: 0 / 1.032 GB, free: 53.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0122/1.894, allocations: 6.735 MB / 1.039 GB, free: 47.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004783/1.899, allocations: 495.6 kB / 1.039 GB, free: 47.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04137/1.941, allocations: 17.56 MB / 1.056 GB, free: 31.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009276/1.95, allocations: 6.537 MB / 1.063 GB, free: 26.86 MB / 442.7 MB Notification: Performance of SimCode: time 8.51e-07/1.95, allocations: 0 / 1.063 GB, free: 26.86 MB / 442.7 MB Notification: Performance of Templates: time 0.3266/2.277, allocations: 118 MB / 1.178 GB, free: 70.21 MB / 442.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