Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 176.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007587/0.0007587, allocations: 92.27 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 11.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1955, allocations: 50.41 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09634/0.2919, allocations: 89.06 MB / 491.8 MB, free: 7.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.2922, allocations: 83.95 kB / 491.9 MB, free: 7.188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2631/0.5553, allocations: 54.61 MB / 0.5337 GB, free: 79.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5553, allocations: 0 / 0.5337 GB, free: 79.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001358/0.5555, allocations: 64.05 kB / 0.5338 GB, free: 79.73 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.005833/0.5613, allocations: 2.951 MB / 0.5366 GB, free: 76.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5613, allocations: 12.03 kB / 0.5366 GB, free: 76.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.564, allocations: 0.6012 MB / 0.5372 GB, free: 76.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.5668, allocations: 1.868 MB / 0.5391 GB, free: 74.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.5669, allocations: 197.7 kB / 0.5392 GB, free: 74.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.5672, allocations: 264.3 kB / 0.5395 GB, free: 73.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/0.5716, allocations: 3.558 MB / 0.543 GB, free: 70.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.105e-05/0.5717, allocations: 192 / 0.543 GB, free: 70.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.5719, allocations: 123.9 kB / 0.5431 GB, free: 69.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-05/0.572, allocations: 101.4 kB / 0.5432 GB, free: 69.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003752/0.5757, allocations: 2.902 MB / 0.546 GB, free: 66.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.5877, allocations: 10.52 MB / 0.5563 GB, free: 56.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.5912, allocations: 4.69 MB / 0.5609 GB, free: 50.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.5923, allocations: 0.9457 MB / 0.5618 GB, free: 49.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002896/0.5953, allocations: 2.475 MB / 0.5642 GB, free: 47.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.5953, allocations: 47.44 kB / 0.5643 GB, free: 47.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=104): time 2.745e-06/0.5953, allocations: 0 / 0.5643 GB, free: 47.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.00505/0.6004, allocations: 2.774 MB / 0.567 GB, free: 44.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.6004, allocations: 89.98 kB / 0.5671 GB, free: 44.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.6017, allocations: 1.347 MB / 0.5684 GB, free: 42.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.6018, allocations: 49.7 kB / 0.5684 GB, free: 42.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.6022, allocations: 1.152 MB / 0.5695 GB, free: 41.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.6024, allocations: 366.7 kB / 0.5699 GB, free: 41.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.6024, allocations: 20 kB / 0.5699 GB, free: 41.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.683e-05/0.6025, allocations: 353.9 kB / 0.5703 GB, free: 40.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.6033, allocations: 0.592 MB / 0.5708 GB, free: 40.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.6041, allocations: 0.8639 MB / 0.5717 GB, free: 39.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.6057, allocations: 1.499 MB / 0.5731 GB, free: 37.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.6057, allocations: 3.938 kB / 0.5731 GB, free: 37.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002498/0.6082, allocations: 2.011 MB / 0.5751 GB, free: 35.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6083, allocations: 16.08 kB / 0.5751 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6083, allocations: 8 kB / 0.5751 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007751/0.6091, allocations: 390.4 kB / 0.5755 GB, free: 35.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.6098, allocations: 227.6 kB / 0.5757 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005211/0.615, allocations: 6.091 MB / 0.5817 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/0.6157, allocations: 154.8 kB / 0.5818 GB, free: 28.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/0.6158, allocations: 47.94 kB / 0.5819 GB, free: 28.57 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.001063/0.6169, allocations: 0.8649 MB / 0.5827 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.6171, allocations: 138.3 kB / 0.5828 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.6195, allocations: 1.71 MB / 0.5845 GB, free: 25.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.6195, allocations: 8 kB / 0.5845 GB, free: 25.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6195, allocations: 8 kB / 0.5845 GB, free: 25.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6195, allocations: 7.969 kB / 0.5845 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004763/0.6243, allocations: 4.039 MB / 0.5885 GB, free: 21.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.6243, allocations: 0 / 0.5885 GB, free: 21.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.6248, allocations: 139.8 kB / 0.5886 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007154/0.6256, allocations: 397.5 kB / 0.589 GB, free: 21.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.6257, allocations: 39.97 kB / 0.589 GB, free: 21.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/0.6308, allocations: 6.072 MB / 0.595 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6308, allocations: 4.031 kB / 0.595 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.6338, allocations: 2.574 MB / 0.5975 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.634, allocations: 243.4 kB / 0.5977 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.6342, allocations: 31.98 kB / 0.5977 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/0.6349, allocations: 95.91 kB / 0.5978 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.6351, allocations: 100.7 kB / 0.5979 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.6352, allocations: 28 kB / 0.5979 GB, free: 11.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009282/0.6361, allocations: 0.9552 MB / 0.5989 GB, free: 10.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6361, allocations: 0 / 0.5989 GB, free: 10.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001415/0.6375, allocations: 0.6804 MB / 0.5995 GB, free: 10 MB / 378.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.0002347/0.6378, allocations: 163.2 kB / 0.5997 GB, free: 9.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.64, allocations: 1.835 MB / 0.6015 GB, free: 7.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.64, allocations: 0 / 0.6015 GB, free: 7.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.6414, allocations: 1.169 MB / 0.6026 GB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.6429, allocations: 284.4 kB / 0.6029 GB, free: 6.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/0.6483, allocations: 5.562 MB / 0.6083 GB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/0.65, allocations: 2.18 MB / 0.6105 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000961/0.651, allocations: 343 kB / 0.6108 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.6512, allocations: 87.42 kB / 0.6109 GB, free: 14.23 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6512, allocations: 0 / 0.6109 GB, free: 14.23 MB / 394.7 MB Notification: Performance of Templates: time 0.03774/0.6889, allocations: 19.58 MB / 0.63 GB, free: 10.89 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches