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.002219/0.002219, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001076/0.001075, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.09e-05, allocations: 0 / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09498, allocations: 47.57 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4335/0.5285, allocations: 98.89 MB / 468 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.5289, allocations: 84.3 kB / 468.1 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753/2.282, allocations: 307.1 MB / 0.757 GB, free: 60.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.445e-06/2.282, allocations: 0 / 0.757 GB, free: 60.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006822/2.283, allocations: 195.4 kB / 0.7572 GB, free: 60.68 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.04349/2.326, allocations: 8.734 MB / 0.7657 GB, free: 58.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/2.327, allocations: 7.156 kB / 0.7657 GB, free: 58.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03428/2.361, allocations: 4.195 MB / 0.7698 GB, free: 57.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01978/2.381, allocations: 5.795 MB / 0.7755 GB, free: 56.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/2.382, allocations: 0.6532 MB / 0.7761 GB, free: 56.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004808/2.387, allocations: 0.8286 MB / 0.7769 GB, free: 56.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04941/2.436, allocations: 15.11 MB / 0.7917 GB, free: 45.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004382/2.437, allocations: 15.7 kB / 0.7917 GB, free: 45.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004014/2.441, allocations: 366.5 kB / 0.7921 GB, free: 45.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001014/2.442, allocations: 0.6009 MB / 0.7927 GB, free: 44.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03962/2.482, allocations: 13.37 MB / 0.8057 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1301/2.612, allocations: 44.89 MB / 0.8496 GB, free: 3.742 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3599/2.972, allocations: 12.19 MB / 0.8615 GB, free: 68.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02211/2.994, allocations: 7.109 MB / 0.8684 GB, free: 68.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001964/2.996, allocations: 272.4 kB / 0.8687 GB, free: 68.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/2.996, allocations: 107.1 kB / 0.8688 GB, free: 68.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=817): time 2.344e-05/2.996, allocations: 0 / 0.8688 GB, free: 68.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=817): time 0.05852/3.055, allocations: 13.09 MB / 0.8815 GB, free: 67.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/3.055, allocations: 145.2 kB / 0.8817 GB, free: 67.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006571/3.062, allocations: 1.742 MB / 0.8834 GB, free: 67.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002608/3.064, allocations: 133.5 kB / 0.8835 GB, free: 67.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003212/3.068, allocations: 2.698 MB / 0.8861 GB, free: 66.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006676/3.074, allocations: 2.67 MB / 0.8887 GB, free: 64.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002618/3.077, allocations: 116.6 kB / 0.8889 GB, free: 64.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001482/3.079, allocations: 0.6066 MB / 0.8895 GB, free: 64.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02039/3.099, allocations: 4.942 MB / 0.8943 GB, free: 64.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02278/3.122, allocations: 5.794 MB / 0.8999 GB, free: 63.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/3.137, allocations: 5.886 MB / 0.9057 GB, free: 62.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-05/3.138, allocations: 3.156 kB / 0.9057 GB, free: 62.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.04022/3.178, allocations: 13.89 MB / 0.9192 GB, free: 56.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/3.178, allocations: 14.56 kB / 0.9193 GB, free: 56.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.561e-05/3.178, allocations: 14.12 kB / 0.9193 GB, free: 56.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02328/3.201, allocations: 4.339 MB / 0.9235 GB, free: 55.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01243/3.214, allocations: 1.05 MB / 0.9245 GB, free: 55.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03109/3.245, allocations: 10.51 MB / 0.9348 GB, free: 50.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009477/3.255, allocations: 0.7014 MB / 0.9355 GB, free: 49.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002726/3.257, allocations: 255.6 kB / 0.9357 GB, free: 49.68 MB / 442.7 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 () * 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.0055/3.263, allocations: 411 kB / 0.9361 GB, free: 49.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003693/3.267, allocations: 389.1 kB / 0.9365 GB, free: 49.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06488/3.332, allocations: 14.68 MB / 0.9508 GB, free: 42.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03378/3.365, allocations: 13.11 MB / 0.9636 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-05/3.365, allocations: 0 / 0.9636 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001535/3.366, allocations: 32.44 kB / 0.9637 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07332/3.439, allocations: 26.82 MB / 0.9899 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001117/3.439, allocations: 0 / 0.9899 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00802/3.447, allocations: 0.8964 MB / 0.9907 GB, free: 8.242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01464/3.462, allocations: 4.309 MB / 0.9949 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00206/3.464, allocations: 172 kB / 0.9951 GB, free: 4.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/3.486, allocations: 10.48 MB / 1.005 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/3.486, allocations: 4 kB / 1.005 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4153/3.901, allocations: 21.61 MB / 1.026 GB, free: 81.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008189/3.909, allocations: 1.671 MB / 1.028 GB, free: 81.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00316/3.913, allocations: 119.5 kB / 1.028 GB, free: 81.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008514/3.921, allocations: 343.1 kB / 1.029 GB, free: 81.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004079/3.925, allocations: 0.5704 MB / 1.029 GB, free: 81.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00235/3.928, allocations: 215.6 kB / 1.029 GB, free: 81.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003802/3.932, allocations: 1.337 MB / 1.031 GB, free: 81.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.012e-06/3.932, allocations: 3.875 kB / 1.031 GB, free: 81.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01133/3.943, allocations: 2.237 MB / 1.033 GB, free: 81.14 MB / 458.7 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 () * 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.002765/3.946, allocations: 373.3 kB / 1.033 GB, free: 81.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03565/3.982, allocations: 12.17 MB / 1.045 GB, free: 80.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/3.982, allocations: 2.906 kB / 1.045 GB, free: 80.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02061/4.002, allocations: 6.464 MB / 1.051 GB, free: 80.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007648/4.01, allocations: 0.6572 MB / 1.052 GB, free: 80.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05032/4.06, allocations: 16.96 MB / 1.069 GB, free: 78.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0124/4.073, allocations: 6.025 MB / 1.074 GB, free: 76.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003415/4.076, allocations: 328.9 kB / 1.075 GB, free: 76.76 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/4.076, allocations: 0 / 1.075 GB, free: 76.76 MB / 458.7 MB Notification: Performance of Templates: time 1.187/5.264, allocations: 294.6 MB / 1.362 GB, free: 116.8 MB / 490.7 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