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.001522/0.001522, allocations: 179.7 kB / 16.38 MB, free: 5.766 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.308/1.308, allocations: 223.2 MB / 240.3 MB, free: 11.83 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.0008201/0.0008202, allocations: 109 kB / 291.5 MB, free: 10.87 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002225, allocations: 4 kB / 351.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1886, allocations: 50.39 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0967/0.2854, allocations: 89.01 MB / 490.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.2857, allocations: 92.97 kB / 490.6 MB, free: 7.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.28/0.5657, allocations: 54.73 MB / 0.5325 GB, free: 79.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5658, allocations: 4 kB / 0.5325 GB, free: 79.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001724/0.5659, allocations: 70.67 kB / 0.5326 GB, free: 79.81 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.007159/0.5731, allocations: 2.973 MB / 0.5355 GB, free: 76.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5731, allocations: 8.031 kB / 0.5355 GB, free: 76.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.5762, allocations: 0.6038 MB / 0.5361 GB, free: 76.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/0.5801, allocations: 1.814 MB / 0.5379 GB, free: 74.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.5803, allocations: 197.3 kB / 0.5381 GB, free: 74.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008427/0.5811, allocations: 263.9 kB / 0.5383 GB, free: 73.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006752/0.5879, allocations: 3.549 MB / 0.5418 GB, free: 70.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.25e-05/0.588, allocations: 0 / 0.5418 GB, free: 70.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/0.5883, allocations: 111.9 kB / 0.5419 GB, free: 70.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-05/0.5884, allocations: 105.4 kB / 0.542 GB, free: 69.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004443/0.5929, allocations: 2.906 MB / 0.5448 GB, free: 67.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.6073, allocations: 10.52 MB / 0.5551 GB, free: 56.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003677/0.611, allocations: 4.684 MB / 0.5597 GB, free: 50.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003715/0.6148, allocations: 2.511 MB / 0.5621 GB, free: 48.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.6148, allocations: 47.56 kB / 0.5622 GB, free: 48.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 2.935e-06/0.6148, allocations: 0 / 0.5622 GB, free: 48.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.005175/0.62, allocations: 2.795 MB / 0.5649 GB, free: 45.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.6201, allocations: 94.05 kB / 0.565 GB, free: 45.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.6215, allocations: 1.204 MB / 0.5662 GB, free: 44.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.6216, allocations: 45.7 kB / 0.5662 GB, free: 44.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.622, allocations: 1.145 MB / 0.5673 GB, free: 42.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.6222, allocations: 374.6 kB / 0.5677 GB, free: 42.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.6223, allocations: 31.94 kB / 0.5677 GB, free: 42.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.6224, allocations: 349.9 kB / 0.5681 GB, free: 42.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007765/0.6232, allocations: 0.6037 MB / 0.5686 GB, free: 41.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/0.624, allocations: 0.8488 MB / 0.5695 GB, free: 40.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/0.6249, allocations: 0.7382 MB / 0.5702 GB, free: 39.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.6249, allocations: 4 kB / 0.5702 GB, free: 39.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002623/0.6276, allocations: 2.023 MB / 0.5722 GB, free: 37.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6276, allocations: 10.34 kB / 0.5722 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6276, allocations: 8 kB / 0.5722 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007958/0.6284, allocations: 396.5 kB / 0.5726 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.6292, allocations: 223.6 kB / 0.5728 GB, free: 37.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.6347, allocations: 6.229 MB / 0.5789 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008707/0.6356, allocations: 142.7 kB / 0.579 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/0.6357, allocations: 52.05 kB / 0.5791 GB, free: 30.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.001236/0.6369, allocations: 0.8611 MB / 0.5799 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.6372, allocations: 134.4 kB / 0.58 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.6399, allocations: 1.764 MB / 0.5817 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.6399, allocations: 8 kB / 0.5818 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.6399, allocations: 8 kB / 0.5818 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.6399, allocations: 7.969 kB / 0.5818 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005976/0.6459, allocations: 4.104 MB / 0.5858 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6459, allocations: 4.156 kB / 0.5858 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.6465, allocations: 151.8 kB / 0.5859 GB, free: 23.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007792/0.6473, allocations: 398.7 kB / 0.5863 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/0.6474, allocations: 35.98 kB / 0.5863 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005442/0.6529, allocations: 6.224 MB / 0.5924 GB, free: 16.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.6529, allocations: 0 / 0.5924 GB, free: 16.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.6561, allocations: 2.719 MB / 0.5951 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.6565, allocations: 235.3 kB / 0.5953 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.6567, allocations: 35.94 kB / 0.5953 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008208/0.6575, allocations: 99.91 kB / 0.5954 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.6577, allocations: 96.73 kB / 0.5955 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.6578, allocations: 31.98 kB / 0.5956 GB, free: 13.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001055/0.6588, allocations: 0.9353 MB / 0.5965 GB, free: 12.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6588, allocations: 0 / 0.5965 GB, free: 12.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001623/0.6605, allocations: 0.6883 MB / 0.5971 GB, free: 11.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (67): * Single equations (assignments): 65 * 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.0002663/0.6607, allocations: 174.3 kB / 0.5973 GB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.6633, allocations: 1.867 MB / 0.5991 GB, free: 9.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6633, allocations: 0 / 0.5991 GB, free: 9.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.6648, allocations: 1.184 MB / 0.6003 GB, free: 8.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.6659, allocations: 284.4 kB / 0.6006 GB, free: 7.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/0.6723, allocations: 5.566 MB / 0.606 GB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/0.6738, allocations: 2.219 MB / 0.6082 GB, free: 56 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001059/0.6748, allocations: 351 kB / 0.6085 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.6751, allocations: 87.36 kB / 0.6086 GB, free: 15.62 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6751, allocations: 0 / 0.6086 GB, free: 15.62 MB / 394.7 MB Notification: Performance of Templates: time 0.03338/0.7085, allocations: 19.48 MB / 0.6276 GB, free: 12.37 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/jenkins/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