Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001273/0.001273, allocations: 103.3 kB / 18.4 MB, free: 4.531 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.001427/0.001427, allocations: 189.1 kB / 19.33 MB, free: 3.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 55.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07846/0.0796, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1899/0.2695, allocations: 7.196 MB / 383 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.2739, allocations: 2.231 MB / 385.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009796/0.275, allocations: 45.44 kB / 385.3 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.276, allocations: 441.1 kB / 385.7 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.2785, allocations: 0.875 MB / 386.6 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.2795, allocations: 376.7 kB / 387 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003876/0.2834, allocations: 3.146 MB / 390.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003108/0.2865, allocations: 2.857 MB / 393 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.2893, allocations: 1.423 MB / 394.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.2927, allocations: 1.687 MB / 396.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007258/0.2934, allocations: 358.5 kB / 396.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.2948, allocations: 481.6 kB / 396.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007773/0.2956, allocations: 0.9096 MB / 397.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.2976, allocations: 1.6 MB / 399.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005922/0.3035, allocations: 4.662 MB / 404.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3035, allocations: 0 / 404.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3036, allocations: 0 / 404.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001293/0.3037, allocations: 1.156 kB / 404.1 MB, free: 15.7 MB / 334.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.0102/0.3139, allocations: 3.623 MB / 407.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.314, allocations: 9.25 kB / 407.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003793/0.3178, allocations: 0.6947 MB / 408.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.3213, allocations: 1.677 MB / 410.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.3215, allocations: 200.2 kB / 410.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004495/0.3219, allocations: 264 kB / 410.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006791/0.3287, allocations: 3.62 MB / 414.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.342e-05/0.3288, allocations: 0 / 414.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.3291, allocations: 108 kB / 414.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.591e-05/0.3292, allocations: 101.4 kB / 414.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005167/0.3343, allocations: 3.097 MB / 417.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.3503, allocations: 10.35 MB / 427.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/0.3553, allocations: 4.686 MB / 432.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.3567, allocations: 0.9459 MB / 433.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003921/0.3606, allocations: 2.452 MB / 435.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3607, allocations: 47.44 kB / 435.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.965e-06/0.3607, allocations: 7.938 kB / 435.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006009/0.3667, allocations: 2.696 MB / 438.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3668, allocations: 89.97 kB / 438.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.3688, allocations: 1.382 MB / 440.1 MB, free: 14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.3689, allocations: 45.7 kB / 440.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007163/0.3696, allocations: 1.16 MB / 441.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.3699, allocations: 358.8 kB / 441.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/0.3702, allocations: 218.8 kB / 441.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3703, allocations: 353.9 kB / 442.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008812/0.3712, allocations: 0.588 MB / 442.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.3723, allocations: 0.8647 MB / 443.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.3742, allocations: 1.477 MB / 445.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.3742, allocations: 0 / 445.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00323/0.3774, allocations: 2.003 MB / 447.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.3775, allocations: 12 kB / 447.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.3775, allocations: 8 kB / 447.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009555/0.3785, allocations: 401.2 kB / 447.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008002/0.3793, allocations: 219.7 kB / 447.8 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006956/0.3862, allocations: 6.635 MB / 454.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.3875, allocations: 146.7 kB / 454.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.3877, allocations: 47.94 kB / 454.6 MB, free: 14.93 MB / 382.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.001601/0.3893, allocations: 0.8759 MB / 455.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.3896, allocations: 130.4 kB / 455.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.3925, allocations: 1.671 MB / 457.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.3925, allocations: 8 kB / 457.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.3925, allocations: 8 kB / 457.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3925, allocations: 7.984 kB / 457.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006089/0.3986, allocations: 3.992 MB / 461.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.3987, allocations: 3.984 kB / 461.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/0.3992, allocations: 131.8 kB / 461.4 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008872/0.4001, allocations: 401.8 kB / 461.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-05/0.4002, allocations: 39.97 kB / 461.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006839/0.4071, allocations: 6.629 MB / 468.5 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.4071, allocations: 8.062 kB / 468.5 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.4109, allocations: 2.512 MB / 471 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/0.4115, allocations: 247.2 kB / 471.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.4117, allocations: 35.92 kB / 471.3 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/0.4125, allocations: 91.91 kB / 471.4 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.4127, allocations: 100.6 kB / 471.5 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.617e-05/0.4128, allocations: 35.98 kB / 471.5 MB, free: 13.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001308/0.4141, allocations: 0.9591 MB / 472.5 MB, free: 12.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4141, allocations: 0 / 472.5 MB, free: 12.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001997/0.4161, allocations: 0.6765 MB / 473.1 MB, free: 11.92 MB / 398.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.0002983/0.4164, allocations: 147.1 kB / 473.3 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002854/0.4193, allocations: 1.813 MB / 475.1 MB, free: 9.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4193, allocations: 4 kB / 475.1 MB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.421, allocations: 1.137 MB / 476.2 MB, free: 8.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.4225, allocations: 304.3 kB / 476.5 MB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.4295, allocations: 4.544 MB / 481.1 MB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/0.4311, allocations: 2.128 MB / 483.2 MB, free: 1.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/0.4315, allocations: 95.41 kB / 483.3 MB, free: 1.59 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4315, allocations: 0 / 483.3 MB, free: 1.59 MB / 398.1 MB Notification: Performance of Templates: time 0.05817/0.4897, allocations: 52.83 MB / 0.5236 GB, free: 12.65 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches