Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001816/0.001816, allocations: 106.6 kB / 18.45 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 213.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.555/2.555, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 67.88 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/0.5241, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01718/0.5413, allocations: 7.855 MB / 417.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009518/0.5509, allocations: 2.472 MB / 420.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002895/0.5539, allocations: 55.75 kB / 420.3 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.5566, allocations: 444.9 kB / 420.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009991/0.5667, allocations: 0.8586 MB / 421.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.5696, allocations: 402.2 kB / 422 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01403/0.5836, allocations: 3.238 MB / 425.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.5958, allocations: 2.903 MB / 428.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/0.6009, allocations: 1.429 MB / 429.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009958/0.611, allocations: 1.693 MB / 431.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.6128, allocations: 356 kB / 431.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.6156, allocations: 499.8 kB / 432.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.6178, allocations: 0.9037 MB / 433 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005706/0.6235, allocations: 1.622 MB / 434.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.6346, allocations: 4.694 MB / 439.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.751e-05/0.6348, allocations: 0 / 439.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.292e-06/0.6348, allocations: 0 / 439.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002797/0.6351, allocations: 0 / 439.3 MB, free: 4.047 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.0195/0.6546, allocations: 3.644 MB / 443 MB, free: 348 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.54e-05/0.6547, allocations: 12.03 kB / 443 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008277/0.663, allocations: 0.7467 MB / 443.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00764/0.6708, allocations: 1.843 MB / 445.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/0.6712, allocations: 201.7 kB / 445.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.6726, allocations: 264 kB / 446 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/0.6881, allocations: 3.618 MB / 449.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.6883, allocations: 0 / 449.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000915/0.6892, allocations: 108 kB / 449.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/0.6895, allocations: 105.4 kB / 449.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.7017, allocations: 3.101 MB / 452.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03952/0.7412, allocations: 10.22 MB / 463.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.7514, allocations: 4.557 MB / 467.7 MB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003423/0.7549, allocations: 0.9581 MB / 468.7 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.7653, allocations: 2.635 MB / 471.3 MB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.14e-05/0.7655, allocations: 47.44 kB / 471.4 MB, free: 2.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 9.207e-06/0.7655, allocations: 0 / 471.4 MB, free: 2.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01291/0.7784, allocations: 2.653 MB / 474 MB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.7786, allocations: 93.98 kB / 474.1 MB, free: 15.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005155/0.7838, allocations: 1.403 MB / 475.5 MB, free: 14.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003808/0.7843, allocations: 45.7 kB / 475.6 MB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.7858, allocations: 1.176 MB / 476.7 MB, free: 13.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007569/0.7866, allocations: 362.7 kB / 477.1 MB, free: 12.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.7878, allocations: 210.9 kB / 477.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000279/0.7881, allocations: 353.9 kB / 477.6 MB, free: 12.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.7902, allocations: 0.5724 MB / 478.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/0.7931, allocations: 0.8413 MB / 479 MB, free: 10.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004544/0.7977, allocations: 1.461 MB / 480.5 MB, free: 9.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-05/0.7978, allocations: 0 / 480.5 MB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007019/0.8049, allocations: 1.968 MB / 482.5 MB, free: 7.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.805, allocations: 8 kB / 482.5 MB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/0.805, allocations: 8 kB / 482.5 MB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.807, allocations: 404.5 kB / 482.9 MB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.8088, allocations: 215.6 kB / 483.1 MB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.8233, allocations: 6.527 MB / 489.6 MB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.8258, allocations: 142.7 kB / 489.8 MB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004172/0.8263, allocations: 44 kB / 489.8 MB, free: 15.56 MB / 414.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.003159/0.8295, allocations: 0.8798 MB / 490.7 MB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006947/0.8302, allocations: 138.3 kB / 490.8 MB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/0.8362, allocations: 1.652 MB / 492.5 MB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.8363, allocations: 12 kB / 492.5 MB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.332e-05/0.8363, allocations: 4 kB / 492.5 MB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/0.8364, allocations: 11.98 kB / 492.5 MB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.8495, allocations: 3.914 MB / 496.4 MB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/0.8496, allocations: 4 kB / 496.4 MB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.8508, allocations: 131.8 kB / 496.5 MB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/0.853, allocations: 401.5 kB / 496.9 MB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002831/0.8533, allocations: 27.98 kB / 497 MB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.869, allocations: 6.51 MB / 0.4917 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.8691, allocations: 4.062 kB / 0.4917 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009332/0.8784, allocations: 2.481 MB / 0.4941 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/0.8802, allocations: 243.2 kB / 0.4943 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009816/0.8812, allocations: 28 kB / 0.4944 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/0.8836, allocations: 87.91 kB / 0.4944 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008529/0.8845, allocations: 104.6 kB / 0.4945 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003298/0.8849, allocations: 31.98 kB / 0.4946 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004725/0.8896, allocations: 0.9756 MB / 0.4955 GB, free: 13.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.924e-06/0.8897, allocations: 0 / 0.4955 GB, free: 13.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006229/0.896, allocations: 0.6882 MB / 0.4962 GB, free: 12.78 MB / 430.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.001227/0.8974, allocations: 159 kB / 0.4964 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006916/0.9043, allocations: 1.781 MB / 0.4981 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/0.9044, allocations: 4 kB / 0.4981 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003817/0.9083, allocations: 1.126 MB / 0.4992 GB, free: 9.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/0.9124, allocations: 312.3 kB / 0.4995 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/0.9328, allocations: 4.548 MB / 0.5039 GB, free: 4.742 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005139/0.938, allocations: 2.132 MB / 0.506 GB, free: 2.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.9391, allocations: 95.42 kB / 0.5061 GB, free: 2.484 MB / 430.1 MB Notification: Performance of SimCode: time 3.537e-06/0.9392, allocations: 0 / 0.5061 GB, free: 2.484 MB / 430.1 MB Notification: Performance of Templates: time 0.5538/1.493, allocations: 53.6 MB / 0.5585 GB, free: 116.8 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches