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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=4000,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=4000,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") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 215.1 kB / 19.8 MB, free: 2.559 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.465/1.465, allocations: 230.4 MB / 251.1 MB, free: 8.457 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.001921/0.001921, allocations: 67.83 kB / 368.9 MB, free: 6.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2603, allocations: 53.32 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01007/0.2703, allocations: 7.883 MB / 430.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005487/0.2758, allocations: 2.511 MB / 432.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.2768, allocations: 55.75 kB / 432.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.278, allocations: 464.9 kB / 433.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.2804, allocations: 0.8743 MB / 434 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000982/0.2814, allocations: 407.1 kB / 434.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004059/0.2855, allocations: 3.241 MB / 437.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.2881, allocations: 2.138 MB / 439.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.29, allocations: 1.425 MB / 441.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.2924, allocations: 1.716 MB / 443 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005024/0.2929, allocations: 360 kB / 443.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.2939, allocations: 487.9 kB / 443.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008717/0.2948, allocations: 0.9153 MB / 444.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.2965, allocations: 1.61 MB / 446.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005016/0.3016, allocations: 4.717 MB / 451 MB, free: 10.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3016, allocations: 0 / 451 MB, free: 10.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3016, allocations: 0 / 451 MB, free: 10.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.278e-05/0.3016, allocations: 4 kB / 451 MB, free: 10.9 MB / 366.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.008065/0.3097, allocations: 3.719 MB / 454.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3097, allocations: 12.03 kB / 454.8 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/0.3137, allocations: 0.7484 MB / 455.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.3171, allocations: 1.851 MB / 457.4 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.3173, allocations: 197.7 kB / 457.6 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004213/0.3177, allocations: 264.1 kB / 457.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006281/0.324, allocations: 3.614 MB / 461.4 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.324, allocations: 3.938 kB / 461.4 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.3243, allocations: 112 kB / 461.5 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.3244, allocations: 105.4 kB / 461.7 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005339/0.3297, allocations: 3.105 MB / 464.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/0.3455, allocations: 10.27 MB / 475 MB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005205/0.3507, allocations: 4.475 MB / 479.5 MB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.3521, allocations: 0.876 MB / 480.4 MB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00415/0.3563, allocations: 2.655 MB / 483 MB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.3563, allocations: 47.42 kB / 483.1 MB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.575e-06/0.3563, allocations: 0 / 483.1 MB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006205/0.3626, allocations: 2.657 MB / 485.7 MB, free: 6.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.3626, allocations: 85.98 kB / 485.8 MB, free: 6.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.3646, allocations: 1.404 MB / 487.2 MB, free: 5.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/0.3647, allocations: 41.7 kB / 487.3 MB, free: 5.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009104/0.3656, allocations: 1.207 MB / 488.5 MB, free: 4.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.3659, allocations: 380.8 kB / 488.8 MB, free: 3.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.3663, allocations: 218.9 kB / 489.1 MB, free: 3.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3665, allocations: 361.9 kB / 489.4 MB, free: 3.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009613/0.3674, allocations: 0.5569 MB / 490 MB, free: 2.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.3686, allocations: 0.8452 MB / 490.8 MB, free: 1.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.3708, allocations: 1.465 MB / 492.3 MB, free: 15.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3708, allocations: 4 kB / 492.3 MB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003383/0.3742, allocations: 1.957 MB / 494.2 MB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3742, allocations: 11.94 kB / 494.2 MB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3742, allocations: 8 kB / 494.3 MB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009994/0.3752, allocations: 402.4 kB / 494.7 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.3761, allocations: 207.7 kB / 494.9 MB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/0.3845, allocations: 6.53 MB / 0.4896 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009962/0.3855, allocations: 155 kB / 0.4898 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.3857, allocations: 48 kB / 0.4898 GB, free: 6.375 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.001546/0.3872, allocations: 0.8681 MB / 0.4907 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.3875, allocations: 143.1 kB / 0.4908 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.3906, allocations: 1.64 MB / 0.4924 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.3906, allocations: 12 kB / 0.4924 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/0.3906, allocations: 4 kB / 0.4924 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.3906, allocations: 7.969 kB / 0.4924 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00664/0.3972, allocations: 3.919 MB / 0.4963 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3972, allocations: 0 / 0.4963 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/0.3978, allocations: 131.8 kB / 0.4964 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008916/0.3987, allocations: 405.6 kB / 0.4968 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/0.3988, allocations: 31.98 kB / 0.4968 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008109/0.4069, allocations: 6.52 MB / 0.5032 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4069, allocations: 0 / 0.5032 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/0.4113, allocations: 2.486 MB / 0.5056 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/0.4117, allocations: 255.9 kB / 0.5058 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.4119, allocations: 24 kB / 0.5059 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007414/0.4126, allocations: 91.84 kB / 0.506 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.4129, allocations: 96.67 kB / 0.506 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.4129, allocations: 31.98 kB / 0.5061 GB, free: 5.281 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001455/0.4144, allocations: 0.9795 MB / 0.507 GB, free: 4.297 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4144, allocations: 7.938 kB / 0.507 GB, free: 4.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001826/0.4162, allocations: 0.6853 MB / 0.5077 GB, free: 3.602 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.0003072/0.4165, allocations: 154 kB / 0.5079 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.4197, allocations: 1.735 MB / 0.5096 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4197, allocations: 4.062 kB / 0.5096 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.4215, allocations: 1.086 MB / 0.5106 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.4229, allocations: 308.4 kB / 0.5109 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/0.4304, allocations: 4.684 MB / 0.5155 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/0.4324, allocations: 2.188 MB / 0.5176 GB, free: 9.293 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008878/0.4333, allocations: 339 kB / 0.5179 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.4335, allocations: 95.41 kB / 0.518 GB, free: 8.863 MB / 446.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4335, allocations: 0 / 0.518 GB, free: 8.863 MB / 446.1 MB Notification: Performance of Templates: time 0.03817/0.4717, allocations: 21.39 MB / 0.5389 GB, free: 3.703 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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) [Timeout 660] Reference file matches