Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.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 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 183.4 kB / 8.135 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.4 MB / 229.9 MB, free: 3.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009428/0.0009428, allocations: 100.3 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.953e-06, allocations: 4 kB / 336.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1829, allocations: 50.4 MB / 386.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09774/0.2806, allocations: 88.21 MB / 475.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.2809, allocations: 87.89 kB / 475.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2779/0.5588, allocations: 53.86 MB / 0.5167 GB, free: 63.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001398/0.559, allocations: 62.33 kB / 0.5167 GB, free: 63.47 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.00574/0.5647, allocations: 2.753 MB / 0.5194 GB, free: 62.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5648, allocations: 11.45 kB / 0.5194 GB, free: 62.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/0.5678, allocations: 0.5973 MB / 0.52 GB, free: 62.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.5708, allocations: 1.823 MB / 0.5218 GB, free: 61.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/0.5709, allocations: 85 kB / 0.5219 GB, free: 61.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/0.5713, allocations: 159.3 kB / 0.522 GB, free: 61.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00481/0.5761, allocations: 2.698 MB / 0.5247 GB, free: 61.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004573/0.5807, allocations: 3.127 MB / 0.5277 GB, free: 60.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.184e-05/0.5807, allocations: 0 / 0.5277 GB, free: 60.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.581, allocations: 0 / 0.5277 GB, free: 60.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.688e-05/0.581, allocations: 106.1 kB / 0.5278 GB, free: 60.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/0.5955, allocations: 10.09 MB / 0.5377 GB, free: 54.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/0.5964, allocations: 0.8207 MB / 0.5385 GB, free: 53.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.5975, allocations: 0.9051 MB / 0.5393 GB, free: 53.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003707/0.6012, allocations: 2.55 MB / 0.5418 GB, free: 51.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.6013, allocations: 52.98 kB / 0.5419 GB, free: 51.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=117): time 3.236e-06/0.6013, allocations: 0 / 0.5419 GB, free: 51.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.002571/0.6039, allocations: 1.596 MB / 0.5434 GB, free: 49.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.6039, allocations: 90.11 kB / 0.5435 GB, free: 49.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.6052, allocations: 1.136 MB / 0.5446 GB, free: 48.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.167e-05/0.6053, allocations: 29.7 kB / 0.5447 GB, free: 48.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.6056, allocations: 0.9538 MB / 0.5456 GB, free: 48.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.6058, allocations: 388.4 kB / 0.546 GB, free: 47.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.6059, allocations: 0 / 0.546 GB, free: 47.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.606, allocations: 355.4 kB / 0.5463 GB, free: 47.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006625/0.6066, allocations: 0.5952 MB / 0.5469 GB, free: 47.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.6074, allocations: 0.8742 MB / 0.5477 GB, free: 46.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.6085, allocations: 0.7798 MB / 0.5485 GB, free: 45.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6085, allocations: 4 kB / 0.5485 GB, free: 45.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002868/0.6114, allocations: 1.99 MB / 0.5505 GB, free: 43.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6114, allocations: 8 kB / 0.5505 GB, free: 43.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6114, allocations: 12 kB / 0.5505 GB, free: 43.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008643/0.6123, allocations: 398.3 kB / 0.5509 GB, free: 43.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009491/0.6133, allocations: 243.6 kB / 0.5511 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005168/0.6184, allocations: 5.649 MB / 0.5566 GB, free: 37.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009363/0.6194, allocations: 118.7 kB / 0.5567 GB, free: 37.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/0.6195, allocations: 55.98 kB / 0.5568 GB, free: 37.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * 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.0002029/0.6197, allocations: 132.7 kB / 0.5569 GB, free: 36.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.6199, allocations: 138.3 kB / 0.557 GB, free: 36.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.6226, allocations: 1.738 MB / 0.5587 GB, free: 35.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.6226, allocations: 15.94 kB / 0.5587 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6227, allocations: 8 kB / 0.5587 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.6227, allocations: 3.984 kB / 0.5588 GB, free: 35.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005308/0.628, allocations: 3.915 MB / 0.5626 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.628, allocations: 7.938 kB / 0.5626 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006588/0.6287, allocations: 160 kB / 0.5627 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008171/0.6295, allocations: 393.1 kB / 0.5631 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.987e-05/0.6296, allocations: 23.97 kB / 0.5631 GB, free: 30.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005102/0.6347, allocations: 5.639 MB / 0.5686 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6347, allocations: 7.938 kB / 0.5686 GB, free: 24.66 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003224/0.638, allocations: 2.679 MB / 0.5713 GB, free: 21.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.6383, allocations: 239.1 kB / 0.5715 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.6385, allocations: 12 kB / 0.5715 GB, free: 21.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/0.6394, allocations: 83.48 kB / 0.5716 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.6395, allocations: 88.72 kB / 0.5717 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.6396, allocations: 32 kB / 0.5717 GB, free: 21.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000933/0.6406, allocations: 0.8607 MB / 0.5725 GB, free: 20.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001634/0.6422, allocations: 0.6336 MB / 0.5732 GB, free: 19.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 75 * 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.00026/0.6425, allocations: 146.9 kB / 0.5733 GB, free: 19.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.6446, allocations: 1.737 MB / 0.575 GB, free: 18.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6446, allocations: 4 kB / 0.575 GB, free: 18.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.646, allocations: 1.048 MB / 0.576 GB, free: 16.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.6471, allocations: 237.5 kB / 0.5762 GB, free: 16.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/0.6541, allocations: 3.783 MB / 0.5799 GB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/0.6561, allocations: 2.301 MB / 0.5822 GB, free: 10.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.743e-06/0.6561, allocations: 4 kB / 0.5822 GB, free: 10.57 MB / 378.7 MB Notification: Performance of Templates: time 0.03384/0.69, allocations: 20.2 MB / 0.6019 GB, free: 6.719 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches