Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 199 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 226.5 MB / 245.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007194/0.0007194, allocations: 101.5 kB / 297.4 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002392/0.0002394, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2011, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09594/0.2971, allocations: 90.44 MB / 499.1 MB, free: 1.129 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.2974, allocations: 87.95 kB / 499.2 MB, free: 1.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2766/0.574, allocations: 56.34 MB / 0.5425 GB, free: 68.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5741, allocations: 4 kB / 0.5425 GB, free: 68.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001718/0.5743, allocations: 63.94 kB / 0.5426 GB, free: 68.74 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.006967/0.5812, allocations: 2.96 MB / 0.5455 GB, free: 65.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5813, allocations: 8.031 kB / 0.5455 GB, free: 65.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/0.5848, allocations: 0.6727 MB / 0.5461 GB, free: 65.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.5884, allocations: 1.873 MB / 0.548 GB, free: 63.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.5885, allocations: 193.7 kB / 0.5481 GB, free: 62.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005963/0.5891, allocations: 272.3 kB / 0.5484 GB, free: 62.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005299/0.5944, allocations: 3.562 MB / 0.5519 GB, free: 58.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.041e-05/0.5945, allocations: 192 / 0.5519 GB, free: 58.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.5948, allocations: 123.9 kB / 0.552 GB, free: 58.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.672e-05/0.5949, allocations: 105.3 kB / 0.5521 GB, free: 58.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004362/0.5992, allocations: 2.906 MB / 0.5549 GB, free: 55.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/0.6152, allocations: 10.52 MB / 0.5652 GB, free: 44.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003919/0.6192, allocations: 4.693 MB / 0.5698 GB, free: 39.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.6205, allocations: 0.9412 MB / 0.5707 GB, free: 38.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003926/0.6244, allocations: 2.713 MB / 0.5734 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.6245, allocations: 43.44 kB / 0.5734 GB, free: 35.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=104): time 2.886e-06/0.6245, allocations: 4 kB / 0.5734 GB, free: 35.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.005556/0.6301, allocations: 2.774 MB / 0.5761 GB, free: 32.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.6301, allocations: 93.97 kB / 0.5762 GB, free: 32.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.632, allocations: 1.363 MB / 0.5775 GB, free: 31.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.6321, allocations: 45.7 kB / 0.5776 GB, free: 31.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.6326, allocations: 1.152 MB / 0.5787 GB, free: 30.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.6329, allocations: 370.7 kB / 0.5791 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.633, allocations: 24 kB / 0.5791 GB, free: 29.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.6331, allocations: 349.9 kB / 0.5794 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.6339, allocations: 0.5881 MB / 0.58 GB, free: 28.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009844/0.6349, allocations: 0.8638 MB / 0.5808 GB, free: 27.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.6366, allocations: 1.507 MB / 0.5823 GB, free: 26.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.6367, allocations: 7.938 kB / 0.5823 GB, free: 26.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003018/0.6397, allocations: 2.011 MB / 0.5843 GB, free: 24.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6397, allocations: 8 kB / 0.5843 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.6397, allocations: 8 kB / 0.5843 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000894/0.6406, allocations: 394.3 kB / 0.5847 GB, free: 23.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007679/0.6414, allocations: 227.6 kB / 0.5849 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.6471, allocations: 6.092 MB / 0.5908 GB, free: 17.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6482, allocations: 146.6 kB / 0.591 GB, free: 17.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.6484, allocations: 55.98 kB / 0.591 GB, free: 17.07 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.001472/0.6499, allocations: 0.865 MB / 0.5919 GB, free: 16.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.6502, allocations: 138.4 kB / 0.592 GB, free: 16.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/0.653, allocations: 1.71 MB / 0.5937 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.6531, allocations: 8 kB / 0.5937 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.6531, allocations: 8 kB / 0.5937 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.6531, allocations: 7.969 kB / 0.5937 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006882/0.66, allocations: 4.039 MB / 0.5977 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.66, allocations: 4.188 kB / 0.5977 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/0.6606, allocations: 143.8 kB / 0.5978 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008765/0.6615, allocations: 393.7 kB / 0.5982 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.141e-05/0.6616, allocations: 39.97 kB / 0.5982 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005744/0.6673, allocations: 6.082 MB / 0.6041 GB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.6674, allocations: 0 / 0.6041 GB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.671, allocations: 2.567 MB / 0.6067 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.6715, allocations: 243.2 kB / 0.6069 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/0.6718, allocations: 35.98 kB / 0.6069 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000913/0.6727, allocations: 99.91 kB / 0.607 GB, free: 264 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.673, allocations: 92.73 kB / 0.6071 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/0.6731, allocations: 35.98 kB / 0.6071 GB, free: 136 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001656/0.6747, allocations: 0.9555 MB / 0.6081 GB, free: 15.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6747, allocations: 0 / 0.6081 GB, free: 15.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002192/0.6769, allocations: 0.6883 MB / 0.6087 GB, free: 14.48 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.0004078/0.6774, allocations: 178.5 kB / 0.6089 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003143/0.6805, allocations: 1.833 MB / 0.6107 GB, free: 12.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6805, allocations: 4 kB / 0.6107 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.6825, allocations: 1.16 MB / 0.6118 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.6847, allocations: 284.5 kB / 0.6121 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009049/0.6937, allocations: 5.544 MB / 0.6175 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002299/0.6961, allocations: 2.124 MB / 0.6196 GB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.6966, allocations: 91.42 kB / 0.6197 GB, free: 3.113 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6966, allocations: 0 / 0.6197 GB, free: 3.113 MB / 394.7 MB Notification: Performance of Templates: time 0.2307/0.9273, allocations: 52.6 MB / 0.6711 GB, free: 124.2 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches