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") [: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 trunk/package.mo): time 0.001629/0.001629, allocations: 206.7 kB / 8.544 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008479/0.0008479, allocations: 94.03 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.363e-06/7.474e-06, allocations: 0 / 343.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 51.47 MB / 394.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2648/0.3862, allocations: 89.69 MB / 484.3 MB, free: 3.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.3864, allocations: 80.52 kB / 484.4 MB, free: 3.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1361/0.5225, allocations: 55.7 MB / 0.5274 GB, free: 1.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002911/0.5228, allocations: 63.94 kB / 0.5275 GB, free: 0.957 MB / 394.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.009846/0.5327, allocations: 2.76 MB / 0.5302 GB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5328, allocations: 16.03 kB / 0.5302 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/0.5374, allocations: 0.6678 MB / 0.5309 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/0.5426, allocations: 1.834 MB / 0.5327 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.5428, allocations: 84 kB / 0.5327 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.5439, allocations: 159.9 kB / 0.5329 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007164/0.5511, allocations: 2.697 MB / 0.5355 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006103/0.5572, allocations: 3.126 MB / 0.5386 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-05/0.5573, allocations: 0 / 0.5386 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.5575, allocations: 0 / 0.5386 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.5576, allocations: 109.4 kB / 0.5387 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0167/0.5743, allocations: 10.09 MB / 0.5485 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.5756, allocations: 0.8186 MB / 0.5493 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.577, allocations: 0.9131 MB / 0.5502 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00442/0.5814, allocations: 2.792 MB / 0.5529 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.5815, allocations: 51.55 kB / 0.553 GB, free: 6.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 2.785e-06/0.5815, allocations: 0 / 0.553 GB, free: 6.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=117): time 0.002938/0.5844, allocations: 1.599 MB / 0.5546 GB, free: 4.496 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.5845, allocations: 90.05 kB / 0.5546 GB, free: 4.391 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.5861, allocations: 1.141 MB / 0.5558 GB, free: 3.238 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.5862, allocations: 29.69 kB / 0.5558 GB, free: 3.203 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.5867, allocations: 0.9571 MB / 0.5567 GB, free: 2.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.587, allocations: 386.2 kB / 0.5571 GB, free: 1.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.5871, allocations: 0 / 0.5571 GB, free: 1.848 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5873, allocations: 353.9 kB / 0.5574 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008197/0.5881, allocations: 0.5999 MB / 0.558 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.5891, allocations: 0.8732 MB / 0.5589 GB, free: 15.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.5904, allocations: 0.7791 MB / 0.5596 GB, free: 15.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.5904, allocations: 4 kB / 0.5596 GB, free: 15.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003636/0.594, allocations: 1.99 MB / 0.5616 GB, free: 13.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5941, allocations: 8 kB / 0.5616 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.5941, allocations: 11.91 kB / 0.5616 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.5952, allocations: 403.5 kB / 0.562 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.5963, allocations: 247.6 kB / 0.5622 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006977/0.6032, allocations: 5.645 MB / 0.5677 GB, free: 6.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.6046, allocations: 126.7 kB / 0.5678 GB, free: 6.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.6047, allocations: 52 kB / 0.5679 GB, free: 6.422 MB / 442.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.0002522/0.605, allocations: 128.7 kB / 0.568 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.6052, allocations: 146.3 kB / 0.5682 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/0.6084, allocations: 1.727 MB / 0.5698 GB, free: 4.398 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.6084, allocations: 12 kB / 0.5699 GB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.6085, allocations: 8 kB / 0.5699 GB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.6085, allocations: 7.969 kB / 0.5699 GB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/0.6148, allocations: 3.906 MB / 0.5737 GB, free: 376 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6149, allocations: 11.97 kB / 0.5737 GB, free: 364 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/0.6156, allocations: 167.7 kB / 0.5739 GB, free: 196 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2082/0.8238, allocations: 386.2 kB / 0.5742 GB, free: 74.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002771/0.8241, allocations: 24.53 kB / 0.5743 GB, free: 74.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005639/0.8298, allocations: 5.647 MB / 0.5798 GB, free: 72.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8298, allocations: 0 / 0.5798 GB, free: 72.42 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003391/0.8332, allocations: 2.681 MB / 0.5824 GB, free: 72.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.8336, allocations: 246.2 kB / 0.5826 GB, free: 71.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.8338, allocations: 24.53 kB / 0.5826 GB, free: 71.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/0.8346, allocations: 79.02 kB / 0.5827 GB, free: 71.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.8348, allocations: 76.02 kB / 0.5828 GB, free: 71.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.8349, allocations: 36.16 kB / 0.5828 GB, free: 71.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001089/0.836, allocations: 0.8643 MB / 0.5837 GB, free: 71.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001658/0.8376, allocations: 0.6421 MB / 0.5843 GB, free: 71.66 MB / 442.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.0002938/0.8379, allocations: 162.6 kB / 0.5845 GB, free: 71.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.8402, allocations: 1.728 MB / 0.5861 GB, free: 71.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8402, allocations: 7.562 kB / 0.5861 GB, free: 71.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.8415, allocations: 1.053 MB / 0.5872 GB, free: 71.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.8427, allocations: 237.9 kB / 0.5874 GB, free: 71.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006287/0.849, allocations: 3.783 MB / 0.5911 GB, free: 70.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/0.8511, allocations: 2.307 MB / 0.5933 GB, free: 69.53 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8512, allocations: 0 / 0.5933 GB, free: 69.53 MB / 442.7 MB Notification: Performance of Templates: time 0.03238/0.8836, allocations: 20.24 MB / 0.6131 GB, free: 68.66 MB / 442.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