Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 186.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 85.84 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004197, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3363, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.4961, allocations: 98.98 MB / 473.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.4965, allocations: 95.94 kB / 473.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.545/2.041, allocations: 307.5 MB / 0.7628 GB, free: 41.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.737e-06/2.041, allocations: 0 / 0.7628 GB, free: 41.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005057/2.042, allocations: 191.8 kB / 0.763 GB, free: 41.4 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.04329/2.085, allocations: 9.048 MB / 0.7718 GB, free: 32.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/2.085, allocations: 8.031 kB / 0.7718 GB, free: 32.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0351/2.12, allocations: 4.219 MB / 0.776 GB, free: 28.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/2.139, allocations: 5.815 MB / 0.7816 GB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/2.14, allocations: 0.642 MB / 0.7823 GB, free: 21.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004692/2.145, allocations: 0.8319 MB / 0.7831 GB, free: 20.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05614/2.201, allocations: 15.26 MB / 0.798 GB, free: 5.129 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004405/2.201, allocations: 11.91 kB / 0.798 GB, free: 5.117 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003848/2.205, allocations: 364 kB / 0.7983 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001149/2.206, allocations: 0.6075 MB / 0.7989 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7337/2.94, allocations: 13.56 MB / 0.8122 GB, free: 51.23 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1278/3.068, allocations: 44.9 MB / 0.856 GB, free: 46.87 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02701/3.095, allocations: 12.24 MB / 0.868 GB, free: 40.34 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/3.096, allocations: 270.7 kB / 0.8682 GB, free: 40.2 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/3.097, allocations: 111.8 kB / 0.8683 GB, free: 40.11 MB / 426.8 MB Notification: Performance of pre-optimization done (n=817): time 1.355e-05/3.097, allocations: 0 / 0.8683 GB, free: 40.11 MB / 426.8 MB Notification: Performance of matching and sorting (n=817): time 0.1356/3.232, allocations: 33.83 MB / 0.9014 GB, free: 24.65 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/3.232, allocations: 146.6 kB / 0.9015 GB, free: 24.55 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004796/3.237, allocations: 1.759 MB / 0.9032 GB, free: 23.9 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002148/3.239, allocations: 133.2 kB / 0.9034 GB, free: 23.79 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/3.242, allocations: 2.702 MB / 0.906 GB, free: 21.89 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005122/3.247, allocations: 2.667 MB / 0.9086 GB, free: 19.8 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002307/3.249, allocations: 121.1 kB / 0.9087 GB, free: 19.71 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.001056/3.25, allocations: 0.6078 MB / 0.9093 GB, free: 19.27 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01393/3.264, allocations: 4.997 MB / 0.9142 GB, free: 17.32 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01554/3.28, allocations: 5.845 MB / 0.9199 GB, free: 12.6 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01628/3.296, allocations: 5.927 MB / 0.9257 GB, free: 7.41 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.898e-05/3.296, allocations: 4 kB / 0.9257 GB, free: 7.406 MB / 426.8 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.04416/3.34, allocations: 14.03 MB / 0.9394 GB, free: 11.24 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/3.341, allocations: 11.28 kB / 0.9394 GB, free: 11.23 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.894e-05/3.341, allocations: 16 kB / 0.9394 GB, free: 11.21 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01741/3.358, allocations: 4.377 MB / 0.9437 GB, free: 7.668 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009464/3.368, allocations: 1.048 MB / 0.9447 GB, free: 6.875 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02709/3.395, allocations: 10.66 MB / 0.9551 GB, free: 13.75 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008174/3.403, allocations: 0.7167 MB / 0.9558 GB, free: 13.13 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002622/3.406, allocations: 249.8 kB / 0.9561 GB, free: 12.91 MB / 458.8 MB 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 () * Number of clocked 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.01128/3.417, allocations: 3.351 MB / 0.9593 GB, free: 10.17 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001962/3.419, allocations: 394.3 kB / 0.9597 GB, free: 9.781 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.431/3.85, allocations: 15.44 MB / 0.9748 GB, free: 78.8 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03431/3.884, allocations: 13.22 MB / 0.9877 GB, free: 78.55 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.874e-05/3.885, allocations: 3.938 kB / 0.9877 GB, free: 78.55 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001611/3.885, allocations: 31.22 kB / 0.9877 GB, free: 78.55 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.081/3.966, allocations: 26.94 MB / 1.014 GB, free: 77.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000137/3.966, allocations: 0 / 1.014 GB, free: 77.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008199/3.974, allocations: 0.9046 MB / 1.015 GB, free: 77.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01602/3.99, allocations: 4.345 MB / 1.019 GB, free: 77.63 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002398/3.993, allocations: 172.1 kB / 1.019 GB, free: 77.63 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02083/4.014, allocations: 10.52 MB / 1.03 GB, free: 75.26 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/4.014, allocations: 0 / 1.03 GB, free: 75.26 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06132/4.075, allocations: 21.78 MB / 1.051 GB, free: 65.99 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006088/4.081, allocations: 1.676 MB / 1.053 GB, free: 65.21 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003011/4.084, allocations: 121.5 kB / 1.053 GB, free: 65.12 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007043/4.091, allocations: 345.3 kB / 1.053 GB, free: 65.04 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003383/4.095, allocations: 0.566 MB / 1.054 GB, free: 64.92 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002384/4.097, allocations: 214.2 kB / 1.054 GB, free: 64.87 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003447/4.101, allocations: 1.359 MB / 1.055 GB, free: 64.35 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.052e-06/4.101, allocations: 0 / 1.055 GB, free: 64.35 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01157/4.112, allocations: 2.238 MB / 1.057 GB, free: 63.92 MB / 458.8 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 () * Number of clocked 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,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.002964/4.115, allocations: 331.5 kB / 1.058 GB, free: 63.74 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.03753/4.153, allocations: 12.28 MB / 1.07 GB, free: 58.69 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/4.153, allocations: 0 / 1.07 GB, free: 58.69 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02177/4.175, allocations: 6.534 MB / 1.076 GB, free: 53.15 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007978/4.183, allocations: 0.6543 MB / 1.077 GB, free: 52.64 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05494/4.238, allocations: 22.59 MB / 1.099 GB, free: 32.39 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01119/4.249, allocations: 6.026 MB / 1.105 GB, free: 27.73 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003357/4.252, allocations: 329.8 kB / 1.105 GB, free: 27.43 MB / 458.8 MB Notification: Performance of SimCode: time 1.673e-06/4.252, allocations: 0 / 1.105 GB, free: 27.43 MB / 458.8 MB Notification: Performance of Templates: time 1.184/5.437, allocations: 294.6 MB / 1.393 GB, free: 82.97 MB / 490.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches