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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 226.5 MB / 245.4 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007514/0.0007509, allocations: 97.56 kB / 297.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002371, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1882, allocations: 51.29 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09692/0.2852, allocations: 90.45 MB / 499.8 MB, free: 1.078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.2855, allocations: 79.95 kB / 499.9 MB, free: 1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2687/0.5542, allocations: 56.35 MB / 0.5432 GB, free: 68.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5542, allocations: 4 kB / 0.5432 GB, free: 68.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000149/0.5544, allocations: 63.94 kB / 0.5433 GB, free: 68.71 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.006509/0.5609, allocations: 2.958 MB / 0.5462 GB, free: 65.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.5609, allocations: 8.031 kB / 0.5462 GB, free: 65.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.5642, allocations: 0.6766 MB / 0.5468 GB, free: 65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.5674, allocations: 1.866 MB / 0.5487 GB, free: 63.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.5675, allocations: 197.7 kB / 0.5488 GB, free: 62.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005045/0.568, allocations: 272.2 kB / 0.5491 GB, free: 62.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005257/0.5733, allocations: 3.566 MB / 0.5526 GB, free: 58.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-05/0.5734, allocations: 192 / 0.5526 GB, free: 58.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.5736, allocations: 115.9 kB / 0.5527 GB, free: 58.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-05/0.5737, allocations: 105.4 kB / 0.5528 GB, free: 58.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004199/0.5779, allocations: 2.902 MB / 0.5556 GB, free: 55.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.5908, allocations: 10.52 MB / 0.5659 GB, free: 44.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.5944, allocations: 4.684 MB / 0.5705 GB, free: 39.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.5956, allocations: 0.9474 MB / 0.5714 GB, free: 38.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003349/0.5989, allocations: 2.713 MB / 0.5741 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.599, allocations: 47.44 kB / 0.5741 GB, free: 35.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=104): time 3.086e-06/0.599, allocations: 4 kB / 0.5741 GB, free: 35.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.00528/0.6043, allocations: 2.782 MB / 0.5768 GB, free: 32.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.6043, allocations: 85.98 kB / 0.5769 GB, free: 32.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.6058, allocations: 1.363 MB / 0.5782 GB, free: 31.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/0.6059, allocations: 49.7 kB / 0.5783 GB, free: 31.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/0.6063, allocations: 1.152 MB / 0.5794 GB, free: 30.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.6065, allocations: 362.7 kB / 0.5798 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.6066, allocations: 24 kB / 0.5798 GB, free: 29.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.6067, allocations: 353.9 kB / 0.5801 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.6074, allocations: 0.5842 MB / 0.5807 GB, free: 28.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.6083, allocations: 0.8638 MB / 0.5815 GB, free: 27.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.61, allocations: 1.511 MB / 0.583 GB, free: 26.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.61, allocations: 3.938 kB / 0.583 GB, free: 26.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002686/0.6127, allocations: 2.011 MB / 0.585 GB, free: 24.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6127, allocations: 8 kB / 0.585 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.6127, allocations: 8 kB / 0.585 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008198/0.6136, allocations: 406 kB / 0.5854 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/0.6143, allocations: 223.7 kB / 0.5856 GB, free: 23.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005484/0.6198, allocations: 6.095 MB / 0.5915 GB, free: 17.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008893/0.6207, allocations: 154.6 kB / 0.5917 GB, free: 17.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.842e-05/0.6208, allocations: 44 kB / 0.5917 GB, free: 17.05 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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.00122/0.6221, allocations: 0.865 MB / 0.5926 GB, free: 16.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.6223, allocations: 138.4 kB / 0.5927 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.6248, allocations: 1.707 MB / 0.5944 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.6248, allocations: 8 kB / 0.5944 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6248, allocations: 8 kB / 0.5944 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.6249, allocations: 3.984 kB / 0.5944 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005575/0.6304, allocations: 4.054 MB / 0.5984 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6305, allocations: 4.188 kB / 0.5984 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.631, allocations: 139.8 kB / 0.5985 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007742/0.6318, allocations: 393.7 kB / 0.5989 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/0.6319, allocations: 39.97 kB / 0.5989 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005326/0.6372, allocations: 6.072 MB / 0.6048 GB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6372, allocations: 0 / 0.6048 GB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/0.6404, allocations: 2.571 MB / 0.6073 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.6408, allocations: 239.2 kB / 0.6076 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.641, allocations: 35.98 kB / 0.6076 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/0.6417, allocations: 99.91 kB / 0.6077 GB, free: 244 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.6419, allocations: 92.73 kB / 0.6078 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.642, allocations: 35.98 kB / 0.6078 GB, free: 116 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001309/0.6433, allocations: 0.9516 MB / 0.6088 GB, free: 15.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6433, allocations: 0 / 0.6088 GB, free: 15.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001794/0.6451, allocations: 0.6921 MB / 0.6094 GB, free: 14.46 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * 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.0003483/0.6455, allocations: 194.6 kB / 0.6096 GB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002899/0.6484, allocations: 1.825 MB / 0.6114 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6484, allocations: 4 kB / 0.6114 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.6502, allocations: 1.16 MB / 0.6125 GB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.652, allocations: 290.5 kB / 0.6128 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/0.6606, allocations: 5.563 MB / 0.6182 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/0.663, allocations: 2.188 MB / 0.6204 GB, free: 3.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001211/0.6642, allocations: 343 kB / 0.6207 GB, free: 2.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.6645, allocations: 87.42 kB / 0.6208 GB, free: 2.664 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.6645, allocations: 0 / 0.6208 GB, free: 2.664 MB / 394.7 MB Notification: Performance of Templates: time 0.03556/0.7001, allocations: 19.62 MB / 0.64 GB, free: 15.24 MB / 426.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/jenkins1/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