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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 110.9 kB / 17.74 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 192.5 kB / 18.67 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009528/0.0009529, allocations: 47.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2477, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007911/0.2556, allocations: 7.262 MB / 408.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004266/0.2599, allocations: 2.18 MB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008151/0.2608, allocations: 51.81 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009223/0.2618, allocations: 448.9 kB / 411.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.264, allocations: 0.8819 MB / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.2649, allocations: 365.7 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003158/0.2681, allocations: 3.145 MB / 415.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/0.2709, allocations: 2.883 MB / 418.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.2726, allocations: 1.421 MB / 420 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.2745, allocations: 1.697 MB / 421.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004086/0.2749, allocations: 360 kB / 422.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008229/0.2757, allocations: 483.8 kB / 422.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007007/0.2764, allocations: 0.8998 MB / 423.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.2779, allocations: 1.602 MB / 425 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003903/0.2819, allocations: 4.675 MB / 429.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2819, allocations: 0 / 429.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2819, allocations: 4 kB / 429.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.947e-05/0.282, allocations: 4 kB / 429.7 MB, free: 12.39 MB / 350.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.007648/0.2896, allocations: 3.617 MB / 433.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2897, allocations: 16.03 kB / 433.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003511/0.2932, allocations: 0.6843 MB / 434 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.2962, allocations: 1.788 MB / 435.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.2963, allocations: 201.7 kB / 436 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.2967, allocations: 272 kB / 436.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005787/0.3025, allocations: 3.618 MB / 439.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.3026, allocations: 0 / 439.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002568/0.3029, allocations: 112 kB / 440 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.429e-05/0.303, allocations: 101.4 kB / 440.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004984/0.3079, allocations: 3.097 MB / 443.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/0.3234, allocations: 10.22 MB / 453.4 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004656/0.3281, allocations: 4.574 MB / 458 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.3295, allocations: 0.9429 MB / 459 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003888/0.3334, allocations: 2.397 MB / 461.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.3335, allocations: 51.38 kB / 461.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/0.3335, allocations: 4 kB / 461.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.005948/0.3395, allocations: 2.645 MB / 464.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.3395, allocations: 89.98 kB / 464.1 MB, free: 8.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.3416, allocations: 1.374 MB / 465.5 MB, free: 7.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.432e-05/0.3416, allocations: 49.7 kB / 465.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007497/0.3424, allocations: 1.16 MB / 466.7 MB, free: 6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.3427, allocations: 358.8 kB / 467.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.343, allocations: 218.8 kB / 467.3 MB, free: 5.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3432, allocations: 353.9 kB / 467.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/0.344, allocations: 0.5608 MB / 468.2 MB, free: 4.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.3451, allocations: 0.8491 MB / 469 MB, free: 3.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.3471, allocations: 1.457 MB / 470.5 MB, free: 1.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.3471, allocations: 4 kB / 470.5 MB, free: 1.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003233/0.3504, allocations: 1.96 MB / 472.5 MB, free: 0 / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3504, allocations: 12.08 kB / 472.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3504, allocations: 8 kB / 472.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.3515, allocations: 404.8 kB / 472.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/0.3523, allocations: 215.7 kB / 473.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/0.3596, allocations: 6.533 MB / 479.6 MB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.3607, allocations: 150.6 kB / 479.8 MB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.3608, allocations: 44 kB / 479.8 MB, free: 8.371 MB / 398.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.001451/0.3622, allocations: 0.8643 MB / 480.7 MB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.3626, allocations: 138.4 kB / 480.8 MB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/0.3656, allocations: 1.648 MB / 482.5 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.3656, allocations: 8 kB / 482.5 MB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.3656, allocations: 8 kB / 482.5 MB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.3656, allocations: 3.984 kB / 482.5 MB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0072/0.3728, allocations: 3.918 MB / 486.4 MB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.3729, allocations: 4 kB / 486.4 MB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.3735, allocations: 131.8 kB / 486.5 MB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009234/0.3744, allocations: 393.5 kB / 486.9 MB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.424e-05/0.3745, allocations: 35.97 kB / 486.9 MB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007102/0.3816, allocations: 6.505 MB / 493.5 MB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.3817, allocations: 4.031 kB / 493.5 MB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003861/0.3855, allocations: 2.481 MB / 495.9 MB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004731/0.386, allocations: 243.3 kB / 496.2 MB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.3863, allocations: 28 kB / 496.2 MB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000874/0.3872, allocations: 83.91 kB / 496.3 MB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.3874, allocations: 100.7 kB / 496.4 MB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/0.3875, allocations: 31.98 kB / 496.4 MB, free: 7.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001505/0.389, allocations: 0.9591 MB / 497.4 MB, free: 6.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.389, allocations: 4 kB / 497.4 MB, free: 6.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001959/0.391, allocations: 0.6765 MB / 498.1 MB, free: 5.652 MB / 414.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.0003577/0.3914, allocations: 159 kB / 498.2 MB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002964/0.3943, allocations: 1.785 MB / 500 MB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3944, allocations: 0 / 500 MB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.3961, allocations: 1.133 MB / 0.4894 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.3977, allocations: 300.4 kB / 0.4897 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/0.4055, allocations: 4.516 MB / 0.4941 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/0.4075, allocations: 2.124 MB / 0.4962 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.4078, allocations: 91.42 kB / 0.4962 GB, free: 11.4 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4078, allocations: 0 / 0.4962 GB, free: 11.4 MB / 430.1 MB Notification: Performance of Templates: time 0.296/0.7038, allocations: 53.07 MB / 0.5481 GB, free: 131.3 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches