Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009712/0.0009711, allocations: 181 kB / 17.01 MB, free: 5.121 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.306/1.306, allocations: 205.4 MB / 223.1 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.0007982/0.0007984, allocations: 84.11 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002371, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2435, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.3631, allocations: 98.98 MB / 474.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.3635, allocations: 95.94 kB / 474.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9966/1.36, allocations: 307.5 MB / 0.7641 GB, free: 41.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.36, allocations: 0 / 0.7641 GB, free: 41.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006624/1.361, allocations: 195.8 kB / 0.7642 GB, free: 41.33 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.03315/1.394, allocations: 9.044 MB / 0.7731 GB, free: 32.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/1.394, allocations: 8.031 kB / 0.7731 GB, free: 32.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02337/1.417, allocations: 4.215 MB / 0.7772 GB, free: 27.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/1.434, allocations: 5.815 MB / 0.7829 GB, free: 22.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009753/1.435, allocations: 0.6498 MB / 0.7835 GB, free: 21.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00376/1.438, allocations: 0.828 MB / 0.7843 GB, free: 20.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0432/1.482, allocations: 15.26 MB / 0.7992 GB, free: 5.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000582/1.482, allocations: 11.91 kB / 0.7992 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006832/1.489, allocations: 364 kB / 0.7996 GB, free: 4.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001183/1.49, allocations: 0.6075 MB / 0.8002 GB, free: 4.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3338/1.824, allocations: 13.57 MB / 0.8134 GB, free: 52.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09348/1.918, allocations: 44.89 MB / 0.8573 GB, free: 48.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/1.936, allocations: 12.24 MB / 0.8692 GB, free: 41.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.937, allocations: 276.7 kB / 0.8695 GB, free: 41.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/1.937, allocations: 110.4 kB / 0.8696 GB, free: 41.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.992e-05/1.937, allocations: 3.797 kB / 0.8696 GB, free: 41.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.08305/2.02, allocations: 33.83 MB / 0.9026 GB, free: 26.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/2.021, allocations: 145.2 kB / 0.9028 GB, free: 26.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/2.025, allocations: 1.761 MB / 0.9045 GB, free: 25.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00205/2.027, allocations: 133.4 kB / 0.9046 GB, free: 25.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/2.029, allocations: 2.764 MB / 0.9073 GB, free: 23.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004503/2.033, allocations: 2.666 MB / 0.9099 GB, free: 21.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001906/2.035, allocations: 121.3 kB / 0.91 GB, free: 21.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001029/2.036, allocations: 0.6061 MB / 0.9106 GB, free: 20.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009608/2.046, allocations: 4.998 MB / 0.9155 GB, free: 18.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/2.056, allocations: 5.843 MB / 0.9212 GB, free: 13.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/2.068, allocations: 5.927 MB / 0.927 GB, free: 8.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.782e-05/2.068, allocations: 4 kB / 0.927 GB, free: 8.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.0429/2.111, allocations: 14.98 MB / 0.9416 GB, free: 14.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/2.111, allocations: 12 kB / 0.9416 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/2.111, allocations: 16 kB / 0.9417 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/2.122, allocations: 4.374 MB / 0.9459 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005425/2.128, allocations: 1.052 MB / 0.947 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/2.141, allocations: 10.54 MB / 0.9572 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005543/2.147, allocations: 0.706 MB / 0.9579 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001999/2.149, allocations: 258.3 kB / 0.9582 GB, free: 32 kB / 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 () * 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.009557/2.158, allocations: 3.354 MB / 0.9615 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/2.16, allocations: 391 kB / 0.9618 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0279/2.188, allocations: 14.79 MB / 0.9763 GB, free: 264 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3145/2.502, allocations: 13.22 MB / 0.9892 GB, free: 83.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.295e-05/2.502, allocations: 0 / 0.9892 GB, free: 83.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000148/2.503, allocations: 30.61 kB / 0.9892 GB, free: 83.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06792/2.571, allocations: 26.94 MB / 1.016 GB, free: 82.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.434e-05/2.571, allocations: 0 / 1.016 GB, free: 82.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004475/2.575, allocations: 0.9036 MB / 1.016 GB, free: 82.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009264/2.584, allocations: 4.348 MB / 1.021 GB, free: 82.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001959/2.586, allocations: 171.8 kB / 1.021 GB, free: 82.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/2.599, allocations: 10.52 MB / 1.031 GB, free: 80.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.599, allocations: 0 / 1.031 GB, free: 80.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03897/2.638, allocations: 21.79 MB / 1.052 GB, free: 71.08 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005785/2.644, allocations: 1.678 MB / 1.054 GB, free: 70.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00234/2.646, allocations: 109.5 kB / 1.054 GB, free: 70.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00444/2.651, allocations: 345.5 kB / 1.054 GB, free: 70.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002178/2.653, allocations: 0.5664 MB / 1.055 GB, free: 70.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001503/2.654, allocations: 216.2 kB / 1.055 GB, free: 69.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002629/2.657, allocations: 1.357 MB / 1.057 GB, free: 69.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.657, allocations: 0 / 1.057 GB, free: 69.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009458/2.666, allocations: 2.236 MB / 1.059 GB, free: 69.01 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 () * 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.001835/2.668, allocations: 333.1 kB / 1.059 GB, free: 68.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02211/2.69, allocations: 12.29 MB / 1.071 GB, free: 61.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/2.691, allocations: 0 / 1.071 GB, free: 61.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01346/2.704, allocations: 6.527 MB / 1.077 GB, free: 56.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005477/2.71, allocations: 0.6584 MB / 1.078 GB, free: 55.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04501/2.755, allocations: 22.83 MB / 1.1 GB, free: 35.22 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01315/2.768, allocations: 6.204 MB / 1.106 GB, free: 30.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006574/2.774, allocations: 1.538 MB / 1.108 GB, free: 29.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/2.776, allocations: 282.6 kB / 1.108 GB, free: 29.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/2.776, allocations: 4 kB / 1.108 GB, free: 29.12 MB / 458.7 MB Notification: Performance of Templates: time 0.4696/3.246, allocations: 111.9 MB / 1.217 GB, free: 61.36 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches