Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.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.002344/0.002345, allocations: 181.2 kB / 17.41 MB, free: 4.285 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.641/2.641, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.001087/0.001087, allocations: 86.41 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005843/0.0005846, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4565, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.6473, allocations: 87.93 MB / 463.7 MB, free: 8.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004301/0.6478, allocations: 87.94 kB / 463.7 MB, free: 8.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5773/1.225, allocations: 53.72 MB / 0.5053 GB, free: 87.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.479e-06/1.225, allocations: 0 / 0.5053 GB, free: 87.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004067/1.226, allocations: 78.25 kB / 0.5054 GB, free: 87.24 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.0142/1.24, allocations: 2.932 MB / 0.5083 GB, free: 86.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.24, allocations: 7.781 kB / 0.5083 GB, free: 86.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005775/1.246, allocations: 0.6042 MB / 0.5089 GB, free: 85.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006159/1.252, allocations: 1.868 MB / 0.5107 GB, free: 85.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/1.252, allocations: 195 kB / 0.5109 GB, free: 85.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/1.254, allocations: 265.5 kB / 0.5111 GB, free: 85.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/1.266, allocations: 3.574 MB / 0.5146 GB, free: 85.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.672e-05/1.267, allocations: 192 / 0.5146 GB, free: 85.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005003/1.267, allocations: 121.6 kB / 0.5147 GB, free: 85.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/1.267, allocations: 102.8 kB / 0.5148 GB, free: 85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008396/1.276, allocations: 2.905 MB / 0.5177 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02018/1.296, allocations: 10.54 MB / 0.528 GB, free: 78.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008298/1.304, allocations: 4.688 MB / 0.5325 GB, free: 74.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00286/1.307, allocations: 0.9596 MB / 0.5335 GB, free: 74.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008707/1.316, allocations: 2.474 MB / 0.5359 GB, free: 73.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/1.316, allocations: 43.22 kB / 0.5359 GB, free: 73.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=104): time 6.723e-06/1.316, allocations: 0 / 0.5359 GB, free: 73.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.01091/1.327, allocations: 2.773 MB / 0.5386 GB, free: 72.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.327, allocations: 95.77 kB / 0.5387 GB, free: 72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00367/1.331, allocations: 1.351 MB / 0.5401 GB, free: 71.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003067/1.331, allocations: 49.7 kB / 0.5401 GB, free: 71.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/1.332, allocations: 1.154 MB / 0.5412 GB, free: 70.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008293/1.333, allocations: 354.7 kB / 0.5416 GB, free: 69.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/1.333, allocations: 27.28 kB / 0.5416 GB, free: 69.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003128/1.334, allocations: 356.1 kB / 0.5419 GB, free: 69.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/1.336, allocations: 0.5866 MB / 0.5425 GB, free: 69.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/1.337, allocations: 0.8647 MB / 0.5434 GB, free: 68.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003215/1.341, allocations: 1.5 MB / 0.5448 GB, free: 66.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/1.341, allocations: 0 / 0.5448 GB, free: 66.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005728/1.346, allocations: 2.009 MB / 0.5468 GB, free: 64.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/1.347, allocations: 13.28 kB / 0.5468 GB, free: 64.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.584e-05/1.347, allocations: 8 kB / 0.5468 GB, free: 64.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/1.348, allocations: 405.8 kB / 0.5472 GB, free: 64.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/1.35, allocations: 219.6 kB / 0.5474 GB, free: 64.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/1.363, allocations: 6.107 MB / 0.5534 GB, free: 58.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/1.366, allocations: 150.7 kB / 0.5535 GB, free: 57.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/1.366, allocations: 47.98 kB / 0.5535 GB, free: 57.82 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.00348/1.37, allocations: 0.8603 MB / 0.5544 GB, free: 56.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000906/1.371, allocations: 138.3 kB / 0.5545 GB, free: 56.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004876/1.375, allocations: 1.714 MB / 0.5562 GB, free: 55.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/1.375, allocations: 8 kB / 0.5562 GB, free: 55.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.375, allocations: 8 kB / 0.5562 GB, free: 55.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/1.376, allocations: 7.922 kB / 0.5562 GB, free: 55.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/1.387, allocations: 4.018 MB / 0.5601 GB, free: 50.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.387, allocations: 4 kB / 0.5601 GB, free: 50.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/1.388, allocations: 144 kB / 0.5603 GB, free: 50.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/1.389, allocations: 408.7 kB / 0.5607 GB, free: 50.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.39, allocations: 39.97 kB / 0.5607 GB, free: 50.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/1.4, allocations: 6.067 MB / 0.5666 GB, free: 44.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.4, allocations: 4.031 kB / 0.5666 GB, free: 44.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006827/1.407, allocations: 2.574 MB / 0.5692 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/1.408, allocations: 243.2 kB / 0.5694 GB, free: 41.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/1.409, allocations: 31.98 kB / 0.5694 GB, free: 41.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.41, allocations: 99.91 kB / 0.5695 GB, free: 41.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005078/1.411, allocations: 96.67 kB / 0.5696 GB, free: 40.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/1.411, allocations: 35.98 kB / 0.5696 GB, free: 40.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002965/1.414, allocations: 0.9435 MB / 0.5706 GB, free: 39.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.414, allocations: 0 / 0.5706 GB, free: 39.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004644/1.418, allocations: 0.6842 MB / 0.5712 GB, free: 39.29 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.000757/1.419, allocations: 162.4 kB / 0.5714 GB, free: 39.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004881/1.424, allocations: 1.827 MB / 0.5732 GB, free: 37.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/1.424, allocations: 11.88 kB / 0.5732 GB, free: 37.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00303/1.427, allocations: 1.161 MB / 0.5743 GB, free: 36.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/1.431, allocations: 288.1 kB / 0.5746 GB, free: 35.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/1.446, allocations: 5.512 MB / 0.58 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/1.449, allocations: 2.128 MB / 0.582 GB, free: 28.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009869/1.45, allocations: 95.41 kB / 0.5821 GB, free: 28 MB / 378.7 MB Notification: Performance of SimCode: time 2.225e-06/1.45, allocations: 0 / 0.5821 GB, free: 28 MB / 378.7 MB Notification: Performance of Templates: time 0.1363/1.586, allocations: 52.43 MB / 0.6333 GB, free: 7.688 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.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/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches