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.001094/0.001094, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.00103/0.00103, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.433/1.433, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001166/0.001166, allocations: 52.31 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08141/0.08258, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1873/0.27, allocations: 7.2 MB / 382.3 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004157/0.2742, allocations: 2.234 MB / 384.6 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008539/0.2751, allocations: 44.44 kB / 384.6 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009787/0.2761, allocations: 443.6 kB / 385.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.2786, allocations: 0.8723 MB / 385.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009829/0.2796, allocations: 375.7 kB / 386.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003628/0.2832, allocations: 3.147 MB / 389.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/0.2864, allocations: 2.856 MB / 392.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.2886, allocations: 1.418 MB / 393.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.2914, allocations: 1.69 MB / 395.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.2921, allocations: 358.3 kB / 395.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.2936, allocations: 486.5 kB / 396.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009076/0.2945, allocations: 0.9008 MB / 397.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.2966, allocations: 1.603 MB / 398.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005673/0.3023, allocations: 4.654 MB / 403.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3024, allocations: 1.281 kB / 403.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3024, allocations: 4 kB / 403.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001342/0.3025, allocations: 0 / 403.4 MB, free: 15.67 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.01033/0.3128, allocations: 3.623 MB / 407 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3129, allocations: 13.69 kB / 407 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004087/0.317, allocations: 0.6901 MB / 407.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.3208, allocations: 1.681 MB / 409.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.321, allocations: 202.4 kB / 409.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005374/0.3215, allocations: 266.3 kB / 409.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007023/0.3286, allocations: 3.611 MB / 413.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.3286, allocations: 0 / 413.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002749/0.3289, allocations: 112 kB / 413.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-05/0.329, allocations: 105.4 kB / 413.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005288/0.3343, allocations: 3.093 MB / 416.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01856/0.3529, allocations: 10.35 MB / 427.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/0.3581, allocations: 4.686 MB / 431.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.3597, allocations: 0.9576 MB / 432.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004066/0.3637, allocations: 2.452 MB / 435.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.3638, allocations: 47.38 kB / 435.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.866e-06/0.3638, allocations: 0 / 435.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006287/0.3701, allocations: 2.7 MB / 438 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.3702, allocations: 89.98 kB / 438 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.3721, allocations: 1.374 MB / 439.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.854e-05/0.3722, allocations: 41.7 kB / 439.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008192/0.3731, allocations: 1.172 MB / 440.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.3733, allocations: 354.8 kB / 441 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.3737, allocations: 218.8 kB / 441.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3738, allocations: 361.9 kB / 441.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008898/0.3747, allocations: 0.5802 MB / 442.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.3758, allocations: 0.8531 MB / 443 MB, free: 10.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.3779, allocations: 1.485 MB / 444.5 MB, free: 8.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3779, allocations: 4 kB / 444.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003296/0.3812, allocations: 2.003 MB / 446.5 MB, free: 6.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3812, allocations: 8 kB / 446.5 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.3813, allocations: 12.16 kB / 446.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009728/0.3823, allocations: 405.2 kB / 446.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.3831, allocations: 215.7 kB / 447.1 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007295/0.3904, allocations: 6.644 MB / 453.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.3918, allocations: 146.8 kB / 453.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.3919, allocations: 47.94 kB / 453.9 MB, free: 14.91 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.001586/0.3935, allocations: 0.872 MB / 454.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.3938, allocations: 138.4 kB / 454.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.3967, allocations: 1.663 MB / 456.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3967, allocations: 12 kB / 456.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.3968, allocations: 4 kB / 456.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3968, allocations: 3.984 kB / 456.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006977/0.4038, allocations: 4 MB / 460.6 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.4038, allocations: 0 / 460.6 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.4044, allocations: 139.8 kB / 460.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009529/0.4053, allocations: 401.8 kB / 461.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/0.4054, allocations: 35.98 kB / 461.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007383/0.4128, allocations: 6.633 MB / 467.8 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.4129, allocations: 4.031 kB / 467.8 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/0.417, allocations: 2.52 MB / 470.3 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.4175, allocations: 239.3 kB / 470.6 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/0.4179, allocations: 31.98 kB / 470.6 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000954/0.4188, allocations: 87.91 kB / 470.7 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.4191, allocations: 104.6 kB / 470.8 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/0.4192, allocations: 31.98 kB / 470.8 MB, free: 13.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001509/0.4207, allocations: 0.963 MB / 471.8 MB, free: 12.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4207, allocations: 4 kB / 471.8 MB, free: 12.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002021/0.4227, allocations: 0.6726 MB / 472.5 MB, free: 11.9 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.0002876/0.423, allocations: 143.1 kB / 472.6 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.426, allocations: 1.813 MB / 474.4 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.426, allocations: 0.5 kB / 474.4 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.4278, allocations: 1.144 MB / 475.6 MB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.4295, allocations: 303.2 kB / 475.9 MB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008637/0.4381, allocations: 4.578 MB / 480.4 MB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/0.4403, allocations: 2.172 MB / 482.6 MB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001074/0.4414, allocations: 343 kB / 482.9 MB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.4417, allocations: 91.42 kB / 483 MB, free: 1.16 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4417, allocations: 0 / 483 MB, free: 1.16 MB / 398.1 MB Notification: Performance of Templates: time 0.04104/0.4828, allocations: 21.07 MB / 0.4923 GB, free: 12.04 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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