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.001449/0.001449, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 105.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.616e-05, allocations: 0 / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3329, allocations: 47.56 MB / 362.3 MB, free: 45.88 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4751, allocations: 87.06 MB / 449.4 MB, free: 15.26 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.4755, allocations: 88.31 kB / 449.5 MB, free: 15.18 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2212/0.6967, allocations: 53.3 MB / 0.491 GB, free: 9.434 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6968, allocations: 0 / 0.491 GB, free: 9.434 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000261/0.697, allocations: 67.88 kB / 0.4911 GB, free: 9.367 MB / 395.1 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.01209/0.7091, allocations: 2.745 MB / 0.4937 GB, free: 6.562 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.7092, allocations: 12.03 kB / 0.4938 GB, free: 6.551 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005102/0.7143, allocations: 0.5937 MB / 0.4943 GB, free: 5.953 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006608/0.721, allocations: 1.818 MB / 0.4961 GB, free: 4.074 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.7212, allocations: 87.95 kB / 0.4962 GB, free: 3.988 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.7223, allocations: 155.9 kB / 0.4963 GB, free: 3.836 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008745/0.731, allocations: 2.631 MB / 0.4989 GB, free: 1.199 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2799/1.011, allocations: 3.076 MB / 0.5019 GB, free: 91.83 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.511e-05/1.011, allocations: 0 / 0.5019 GB, free: 91.83 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005763/1.012, allocations: 4.922 kB / 0.5019 GB, free: 91.83 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/1.012, allocations: 100.8 kB / 0.502 GB, free: 91.82 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02915/1.041, allocations: 10.01 MB / 0.5118 GB, free: 89.64 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007412/1.049, allocations: 4.571 MB / 0.5163 GB, free: 86.2 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/1.051, allocations: 0.8519 MB / 0.5171 GB, free: 86.18 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006953/1.058, allocations: 2.411 MB / 0.5194 GB, free: 85.41 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/1.058, allocations: 46.91 kB / 0.5195 GB, free: 85.38 MB / 395.1 MB Notification: Performance of pre-optimization done (n=102): time 4.608e-06/1.058, allocations: 1.031 kB / 0.5195 GB, free: 85.38 MB / 395.1 MB Notification: Performance of matching and sorting (n=102): time 0.004944/1.063, allocations: 1.508 MB / 0.521 GB, free: 85.23 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.063, allocations: 91.95 kB / 0.521 GB, free: 85.13 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/1.065, allocations: 1.11 MB / 0.5221 GB, free: 84.99 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002459/1.066, allocations: 28.42 kB / 0.5222 GB, free: 84.96 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007776/1.066, allocations: 1.13 MB / 0.5233 GB, free: 84.47 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/1.067, allocations: 336.2 kB / 0.5236 GB, free: 84.27 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/1.067, allocations: 3.594 kB / 0.5236 GB, free: 84.27 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/1.067, allocations: 366 kB / 0.5239 GB, free: 83.95 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.068, allocations: 0.507 MB / 0.5244 GB, free: 83.95 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/1.07, allocations: 0.7712 MB / 0.5252 GB, free: 83.66 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/1.072, allocations: 0.7839 MB / 0.5259 GB, free: 83.64 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.072, allocations: 3.875 kB / 0.526 GB, free: 83.64 MB / 395.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005112/1.077, allocations: 1.821 MB / 0.5277 GB, free: 83.54 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/1.077, allocations: 7.812 kB / 0.5277 GB, free: 83.54 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/1.077, allocations: 7.312 kB / 0.5277 GB, free: 83.54 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/1.079, allocations: 389.4 kB / 0.5281 GB, free: 83.52 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/1.08, allocations: 219.7 kB / 0.5283 GB, free: 83.52 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009478/1.09, allocations: 5.853 MB / 0.534 GB, free: 79.87 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/1.091, allocations: 118.8 kB / 0.5342 GB, free: 79.81 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/1.092, allocations: 49.47 kB / 0.5342 GB, free: 79.8 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * 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.0003276/1.092, allocations: 132.7 kB / 0.5343 GB, free: 79.69 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/1.093, allocations: 134.1 kB / 0.5345 GB, free: 79.62 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004742/1.097, allocations: 1.637 MB / 0.5361 GB, free: 79.07 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.097, allocations: 10.91 kB / 0.5361 GB, free: 79.07 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/1.097, allocations: 9.609 kB / 0.5361 GB, free: 79.07 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/1.097, allocations: 3.703 kB / 0.5361 GB, free: 79.07 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009789/1.107, allocations: 3.599 MB / 0.5396 GB, free: 77.62 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.107, allocations: 0 / 0.5396 GB, free: 77.62 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.108, allocations: 137.1 kB / 0.5397 GB, free: 77.62 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/1.11, allocations: 391.1 kB / 0.5401 GB, free: 77.52 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/1.11, allocations: 27.64 kB / 0.5401 GB, free: 77.51 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009264/1.119, allocations: 5.835 MB / 0.5458 GB, free: 73.58 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.12, allocations: 3.719 kB / 0.5458 GB, free: 73.58 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005879/1.125, allocations: 2.553 MB / 0.5483 GB, free: 72.41 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/1.126, allocations: 237.9 kB / 0.5485 GB, free: 72.22 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/1.126, allocations: 11.91 kB / 0.5486 GB, free: 72.22 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.128, allocations: 86.36 kB / 0.5486 GB, free: 72.22 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/1.128, allocations: 95.38 kB / 0.5487 GB, free: 72.2 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.129, allocations: 37.03 kB / 0.5488 GB, free: 72.2 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001663/1.13, allocations: 0.8394 MB / 0.5496 GB, free: 71.84 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.01e-07/1.13, allocations: 0 / 0.5496 GB, free: 71.84 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002835/1.133, allocations: 0.6289 MB / 0.5502 GB, free: 71.68 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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.0004912/1.134, allocations: 152.8 kB / 0.5503 GB, free: 71.59 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003686/1.137, allocations: 1.635 MB / 0.5519 GB, free: 70.88 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.137, allocations: 0 / 0.5519 GB, free: 70.88 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.14, allocations: 1.039 MB / 0.553 GB, free: 70.36 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/1.142, allocations: 242.6 kB / 0.5532 GB, free: 70.29 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009224/1.151, allocations: 3.595 MB / 0.5567 GB, free: 68.8 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002522/1.154, allocations: 2.168 MB / 0.5588 GB, free: 67.78 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006491/1.155, allocations: 91.7 kB / 0.5589 GB, free: 67.77 MB / 395.1 MB Notification: Performance of SimCode: time 1.232e-06/1.155, allocations: 0 / 0.5589 GB, free: 67.77 MB / 395.1 MB Notification: Performance of Templates: time 0.08255/1.237, allocations: 49.99 MB / 0.6077 GB, free: 28.03 MB / 395.1 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