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.001521/0.001521, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.94/1.94, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001534/0.001534, allocations: 84.45 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003846, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3396, allocations: 47.56 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.4815, allocations: 87.81 MB / 462.3 MB, free: 8.957 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.4819, allocations: 87.95 kB / 462.4 MB, free: 8.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4788/0.9607, allocations: 53.89 MB / 0.5042 GB, free: 87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.9608, allocations: 0 / 0.5042 GB, free: 87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002275/0.961, allocations: 73.5 kB / 0.5043 GB, free: 86.99 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.01194/0.973, allocations: 2.971 MB / 0.5072 GB, free: 85.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.9731, allocations: 6.344 kB / 0.5072 GB, free: 85.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004941/0.978, allocations: 0.5975 MB / 0.5078 GB, free: 85.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005727/0.9838, allocations: 1.82 MB / 0.5095 GB, free: 85.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.9841, allocations: 197.3 kB / 0.5097 GB, free: 85.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.9852, allocations: 274.8 kB / 0.51 GB, free: 85.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.9954, allocations: 3.543 MB / 0.5135 GB, free: 84.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-05/0.9955, allocations: 0 / 0.5135 GB, free: 84.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005195/0.9961, allocations: 116.1 kB / 0.5136 GB, free: 84.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.9962, allocations: 109 kB / 0.5137 GB, free: 84.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008772/1.005, allocations: 2.905 MB / 0.5165 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02702/1.032, allocations: 10.53 MB / 0.5268 GB, free: 78.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007529/1.04, allocations: 4.699 MB / 0.5314 GB, free: 74.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006313/1.046, allocations: 2.506 MB / 0.5338 GB, free: 73.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/1.046, allocations: 55.02 kB / 0.5339 GB, free: 73.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 5.22e-06/1.046, allocations: 0 / 0.5339 GB, free: 73.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.0109/1.057, allocations: 2.797 MB / 0.5366 GB, free: 72.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/1.057, allocations: 88.42 kB / 0.5367 GB, free: 72.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/1.06, allocations: 1.209 MB / 0.5379 GB, free: 71.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002767/1.06, allocations: 45.27 kB / 0.5379 GB, free: 71.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006681/1.061, allocations: 1.108 MB / 0.539 GB, free: 70.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/1.061, allocations: 372.6 kB / 0.5394 GB, free: 70.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/1.061, allocations: 27.38 kB / 0.5394 GB, free: 70.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/1.062, allocations: 357.1 kB / 0.5397 GB, free: 70.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/1.063, allocations: 0.6006 MB / 0.5403 GB, free: 69.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/1.065, allocations: 0.848 MB / 0.5411 GB, free: 69.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/1.067, allocations: 0.7406 MB / 0.5419 GB, free: 68.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/1.067, allocations: 7.953 kB / 0.5419 GB, free: 68.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005079/1.072, allocations: 1.937 MB / 0.5438 GB, free: 66.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/1.072, allocations: 8 kB / 0.5438 GB, free: 66.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/1.072, allocations: 11.42 kB / 0.5438 GB, free: 66.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/1.074, allocations: 399.7 kB / 0.5442 GB, free: 66.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/1.075, allocations: 230 kB / 0.5444 GB, free: 66.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.086, allocations: 6.224 MB / 0.5505 GB, free: 60.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/1.087, allocations: 154.7 kB / 0.5506 GB, free: 60.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/1.087, allocations: 51.98 kB / 0.5507 GB, free: 59.98 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.001957/1.089, allocations: 0.8565 MB / 0.5515 GB, free: 59.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/1.09, allocations: 138.3 kB / 0.5516 GB, free: 58.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/1.095, allocations: 1.764 MB / 0.5533 GB, free: 57.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/1.095, allocations: 12 kB / 0.5534 GB, free: 57.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/1.095, allocations: 15.55 kB / 0.5534 GB, free: 57.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/1.095, allocations: 10.03 kB / 0.5534 GB, free: 57.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/1.105, allocations: 4.112 MB / 0.5574 GB, free: 53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/1.105, allocations: 4 kB / 0.5574 GB, free: 53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.107, allocations: 155.7 kB / 0.5575 GB, free: 52.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/1.108, allocations: 398 kB / 0.5579 GB, free: 52.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002219/1.108, allocations: 35.92 kB / 0.558 GB, free: 52.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/1.118, allocations: 6.226 MB / 0.564 GB, free: 45.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.119, allocations: 0 / 0.564 GB, free: 45.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006465/1.125, allocations: 2.715 MB / 0.5667 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/1.126, allocations: 239.2 kB / 0.5669 GB, free: 42.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004619/1.126, allocations: 39.94 kB / 0.567 GB, free: 42.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.128, allocations: 103.9 kB / 0.5671 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/1.128, allocations: 96.72 kB / 0.5672 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.128, allocations: 28 kB / 0.5672 GB, free: 42.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001955/1.13, allocations: 0.9314 MB / 0.5681 GB, free: 41.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.13, allocations: 0 / 0.5681 GB, free: 41.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002867/1.133, allocations: 0.6882 MB / 0.5688 GB, free: 41 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.0005637/1.134, allocations: 171.7 kB / 0.5689 GB, free: 40.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004809/1.139, allocations: 1.863 MB / 0.5707 GB, free: 38.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.139, allocations: 0.8125 kB / 0.5707 GB, free: 38.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002992/1.142, allocations: 1.179 MB / 0.5719 GB, free: 37.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/1.144, allocations: 292.6 kB / 0.5722 GB, free: 37.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/1.156, allocations: 5.538 MB / 0.5776 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002804/1.159, allocations: 2.171 MB / 0.5797 GB, free: 29.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00071/1.16, allocations: 91.42 kB / 0.5798 GB, free: 29.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/1.16, allocations: 0 / 0.5798 GB, free: 29.6 MB / 378.7 MB Notification: Performance of Templates: time 0.09087/1.251, allocations: 50.75 MB / 0.6294 GB, free: 10.95 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