Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001585, allocations: 111.4 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001794/0.001794, allocations: 209.8 kB / 18.92 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 227.6 MB / 247.4 MB, free: 8.797 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.92 kB / 307.4 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08542/0.08732, allocations: 50.54 MB / 357.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009137/0.09649, allocations: 7.787 MB / 365.7 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.101, allocations: 2.437 MB / 368.2 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000842/0.102, allocations: 55.81 kB / 368.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00096/0.1029, allocations: 382 kB / 368.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.1051, allocations: 0.7699 MB / 369.4 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008538/0.1059, allocations: 359.4 kB / 369.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1479/0.2539, allocations: 3.232 MB / 372.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003212/0.2571, allocations: 2.892 MB / 375.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.2589, allocations: 1.425 MB / 377.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.2612, allocations: 1.727 MB / 379 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006397/0.2619, allocations: 363.8 kB / 379.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.2629, allocations: 494 kB / 379.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006652/0.2636, allocations: 0.9094 MB / 380.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.2651, allocations: 1.618 MB / 382.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003814/0.269, allocations: 3.892 MB / 386.2 MB, free: 6.207 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.269, allocations: 0 / 386.2 MB, free: 6.207 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.269, allocations: 0 / 386.2 MB, free: 6.207 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001097/0.2691, allocations: 0 / 386.2 MB, free: 6.207 MB / 302.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.008253/0.2774, allocations: 3.649 MB / 389.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2774, allocations: 9.25 kB / 389.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/0.2814, allocations: 0.7447 MB / 390.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/0.2844, allocations: 1.788 MB / 392.4 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.2845, allocations: 197 kB / 392.6 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/0.285, allocations: 261.7 kB / 392.9 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005476/0.2904, allocations: 3.616 MB / 396.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.2905, allocations: 3.281 kB / 396.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/0.2908, allocations: 111.6 kB / 396.6 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.679e-05/0.2909, allocations: 108 kB / 396.7 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004704/0.2956, allocations: 3.097 MB / 399.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.3125, allocations: 10.35 MB / 410.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00515/0.3177, allocations: 4.562 MB / 414.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.3192, allocations: 0.9464 MB / 415.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00435/0.3236, allocations: 2.644 MB / 418.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.3236, allocations: 52.84 kB / 418.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 4.618e-06/0.3236, allocations: 3.984 kB / 418.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.006405/0.3301, allocations: 2.655 MB / 421 MB, free: 8.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.3301, allocations: 93.92 kB / 421.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.3323, allocations: 1.392 MB / 422.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.3324, allocations: 45.7 kB / 422.5 MB, free: 7.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009184/0.3334, allocations: 1.176 MB / 423.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.3337, allocations: 364.9 kB / 424.1 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/0.3341, allocations: 214.8 kB / 424.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3343, allocations: 361.9 kB / 424.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009479/0.3352, allocations: 0.5607 MB / 425.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.3364, allocations: 0.8517 MB / 426.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.3385, allocations: 1.454 MB / 427.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3385, allocations: 4 kB / 427.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003533/0.3421, allocations: 1.971 MB / 429.5 MB, free: 268 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.3421, allocations: 8 kB / 429.5 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.3421, allocations: 11.98 kB / 429.5 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.3432, allocations: 398.2 kB / 429.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008212/0.344, allocations: 210.1 kB / 430.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007958/0.352, allocations: 6.528 MB / 436.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.3533, allocations: 142.8 kB / 436.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/0.3534, allocations: 44 kB / 436.8 MB, free: 8.707 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001651/0.355, allocations: 0.8741 MB / 437.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.3554, allocations: 138.3 kB / 437.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/0.3584, allocations: 1.653 MB / 439.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.3585, allocations: 12 kB / 439.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3585, allocations: 11.38 kB / 439.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.3585, allocations: 3.984 kB / 439.5 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006753/0.3653, allocations: 3.918 MB / 443.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.3653, allocations: 12.12 kB / 443.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.3659, allocations: 123.5 kB / 443.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009757/0.3669, allocations: 420 kB / 444 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.139e-05/0.367, allocations: 27.98 kB / 444 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008329/0.3753, allocations: 6.51 MB / 450.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.3753, allocations: 15.94 kB / 450.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004321/0.3797, allocations: 2.478 MB / 453 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/0.3802, allocations: 247.2 kB / 453.2 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.3804, allocations: 24 kB / 453.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000799/0.3812, allocations: 91.84 kB / 453.3 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/0.3816, allocations: 92.67 kB / 453.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/0.3817, allocations: 35.98 kB / 453.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.3833, allocations: 0.9795 MB / 454.4 MB, free: 6.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3833, allocations: 0 / 454.4 MB, free: 6.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002098/0.3854, allocations: 0.6727 MB / 455.1 MB, free: 6.078 MB / 366.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,loss_m.Phi.re,loss_m.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003625/0.3858, allocations: 157.7 kB / 455.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003631/0.3894, allocations: 1.933 MB / 457.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.3894, allocations: 5.188 kB / 457.2 MB, free: 4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.3914, allocations: 1.134 MB / 458.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.3933, allocations: 306.8 kB / 458.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009503/0.4029, allocations: 5.728 MB / 464.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/0.405, allocations: 2.124 MB / 466.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.4055, allocations: 103.4 kB / 466.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.4055, allocations: 0 / 466.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Templates: time 0.07353/0.4791, allocations: 53.13 MB / 0.5075 GB, free: 5.504 MB / 430.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches