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.001286/0.001286, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.561/1.561, allocations: 227.7 MB / 247.7 MB, free: 10.3 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.001945/0.001945, allocations: 64.3 kB / 307.9 MB, free: 468 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.0909, allocations: 50.54 MB / 358.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009777/0.1007, allocations: 7.85 MB / 366.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004802/0.1055, allocations: 2.479 MB / 368.8 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008145/0.1064, allocations: 55.81 kB / 368.8 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009963/0.1074, allocations: 444.9 kB / 369.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.1097, allocations: 0.8542 MB / 370.1 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1107, allocations: 403.2 kB / 370.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1557/0.2665, allocations: 3.222 MB / 373.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003806/0.2703, allocations: 2.898 MB / 376.6 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.2726, allocations: 1.415 MB / 378 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.2757, allocations: 1.689 MB / 379.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008379/0.2766, allocations: 362.6 kB / 380.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.2781, allocations: 494.4 kB / 380.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008206/0.2789, allocations: 0.9039 MB / 381.5 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002511/0.2814, allocations: 1.616 MB / 383.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006165/0.2876, allocations: 4.658 MB / 387.7 MB, free: 5.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.2876, allocations: 1.219 kB / 387.7 MB, free: 5.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2877, allocations: 0 / 387.7 MB, free: 5.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001532/0.2878, allocations: 0 / 387.7 MB, free: 5.543 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.01071/0.2985, allocations: 3.655 MB / 391.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.2986, allocations: 8.531 kB / 391.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.3029, allocations: 0.7431 MB / 392.2 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003551/0.3064, allocations: 1.785 MB / 393.9 MB, free: 2.137 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.3066, allocations: 201.1 kB / 394.1 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005625/0.3072, allocations: 261.9 kB / 394.4 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006002/0.3132, allocations: 3.614 MB / 398 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/0.3132, allocations: 3.125 kB / 398 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/0.3135, allocations: 109.3 kB / 398.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.081e-05/0.3136, allocations: 102.8 kB / 398.2 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005554/0.3192, allocations: 3.096 MB / 401.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/0.3387, allocations: 10.34 MB / 411.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/0.3443, allocations: 4.577 MB / 416.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.346, allocations: 0.9424 MB / 417.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004847/0.3509, allocations: 2.648 MB / 419.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.3509, allocations: 46.06 kB / 419.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.347e-06/0.351, allocations: 0 / 419.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.006807/0.3578, allocations: 2.654 MB / 422.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.3579, allocations: 92.61 kB / 422.6 MB, free: 7.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.3603, allocations: 1.392 MB / 424 MB, free: 6.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.3605, allocations: 49.7 kB / 424 MB, free: 6.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.3615, allocations: 1.172 MB / 425.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004118/0.3619, allocations: 363.8 kB / 425.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.3623, allocations: 218.8 kB / 425.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3625, allocations: 357.9 kB / 426.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3635, allocations: 0.5647 MB / 426.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.3649, allocations: 0.8491 MB / 427.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/0.3672, allocations: 1.459 MB / 429 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3672, allocations: 0 / 429 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003832/0.3711, allocations: 1.969 MB / 431 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.3711, allocations: 11.98 kB / 431 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.3712, allocations: 11.98 kB / 431 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.3723, allocations: 398.2 kB / 431.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000878/0.3732, allocations: 213.9 kB / 431.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008359/0.3815, allocations: 6.526 MB / 438.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.383, allocations: 146.8 kB / 438.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.3831, allocations: 47.94 kB / 438.3 MB, free: 7.34 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.001782/0.3849, allocations: 0.8769 MB / 439.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.3853, allocations: 138.3 kB / 439.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/0.3886, allocations: 1.65 MB / 441 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3886, allocations: 8 kB / 441 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.3886, allocations: 8 kB / 441 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.3886, allocations: 3.984 kB / 441 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007264/0.3959, allocations: 3.924 MB / 444.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.3959, allocations: 4.188 kB / 444.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/0.3966, allocations: 130.7 kB / 445.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.3977, allocations: 408.2 kB / 445.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.87e-05/0.3978, allocations: 31.98 kB / 445.5 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008654/0.4065, allocations: 6.517 MB / 452 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4065, allocations: 3.938 kB / 452 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004655/0.4112, allocations: 2.483 MB / 454.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006991/0.4119, allocations: 239.2 kB / 454.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003419/0.4123, allocations: 24 kB / 454.7 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/0.4133, allocations: 91.91 kB / 454.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/0.4136, allocations: 104 kB / 454.9 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/0.4137, allocations: 31.98 kB / 455 MB, free: 6.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001711/0.4154, allocations: 0.9795 MB / 455.9 MB, free: 5.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4154, allocations: 4 kB / 455.9 MB, free: 5.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002685/0.4181, allocations: 0.6766 MB / 456.6 MB, free: 4.715 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.0004378/0.4186, allocations: 150.3 kB / 456.8 MB, free: 4.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004036/0.4226, allocations: 1.933 MB / 458.7 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.4227, allocations: 1.188 kB / 458.7 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002225/0.4249, allocations: 1.129 MB / 459.8 MB, free: 1.508 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.4269, allocations: 301 kB / 460.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008863/0.4358, allocations: 4.62 MB / 464.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/0.438, allocations: 2.128 MB / 466.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/0.4385, allocations: 99.36 kB / 467 MB, free: 10.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4385, allocations: 3.844 kB / 467 MB, free: 10.28 MB / 382.1 MB Notification: Performance of Templates: time 0.07334/0.5119, allocations: 53.14 MB / 0.5079 GB, free: 5.25 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