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.001115/0.001115, allocations: 96.89 kB / 17.3 MB, free: 6.391 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.001395/0.001395, allocations: 178.5 kB / 18.21 MB, free: 5.543 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.404/1.404, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004447/0.0004448, allocations: 12 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0915/0.09196, allocations: 47.58 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006835/0.09884, allocations: 6.638 MB / 335.6 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.1023, allocations: 2.189 MB / 337.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.1028, allocations: 43.81 kB / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.1035, allocations: 381.9 kB / 338.2 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.1053, allocations: 0.7894 MB / 339 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.1059, allocations: 339.5 kB / 339.3 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003332/0.1093, allocations: 3.436 MB / 342.8 MB, free: 5.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.1119, allocations: 2.372 MB / 345.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.113, allocations: 1.035 MB / 346.2 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.1144, allocations: 1.388 MB / 347.6 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000236/0.1147, allocations: 160 kB / 347.7 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005486/0.1152, allocations: 275.9 kB / 348 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005371/0.1158, allocations: 0.6498 MB / 348.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.117, allocations: 1.334 MB / 350 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0034/0.1204, allocations: 4.348 MB / 354.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1204, allocations: 4 kB / 354.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1204, allocations: 0 / 354.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.126e-05/0.1204, allocations: 4 kB / 354.3 MB, free: 10.23 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.006502/0.1269, allocations: 3.11 MB / 357.4 MB, free: 7.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.127, allocations: 8.031 kB / 357.4 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/0.1304, allocations: 0.696 MB / 358.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.1328, allocations: 1.671 MB / 359.8 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.133, allocations: 197.7 kB / 360 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/0.1334, allocations: 272 kB / 360.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0055/0.1389, allocations: 3.626 MB / 363.9 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.822e-05/0.1389, allocations: 0 / 363.9 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.1392, allocations: 115.9 kB / 364 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.863e-05/0.1393, allocations: 101.4 kB / 364.1 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/0.1443, allocations: 3.124 MB / 367.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/0.1589, allocations: 10.56 MB / 377.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1516/0.3106, allocations: 4.681 MB / 382.5 MB, free: 47.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.3122, allocations: 0.9585 MB / 383.4 MB, free: 47.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003526/0.3158, allocations: 2.466 MB / 385.9 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3158, allocations: 46.45 kB / 385.9 MB, free: 46.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.456e-06/0.3158, allocations: 2.438 kB / 385.9 MB, free: 46.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006068/0.3219, allocations: 2.761 MB / 388.7 MB, free: 45.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.322, allocations: 92.69 kB / 388.8 MB, free: 45.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.3237, allocations: 1.379 MB / 390.2 MB, free: 44.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/0.3238, allocations: 46.55 kB / 390.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/0.3243, allocations: 1.162 MB / 391.4 MB, free: 43.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.3245, allocations: 358.9 kB / 391.7 MB, free: 43.65 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3246, allocations: 99.17 kB / 391.8 MB, free: 43.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.3247, allocations: 361.8 kB / 392.2 MB, free: 43.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008319/0.3256, allocations: 0.5809 MB / 392.8 MB, free: 43.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009526/0.3265, allocations: 0.8769 MB / 393.6 MB, free: 42.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.3283, allocations: 1.515 MB / 395.1 MB, free: 41.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.3283, allocations: 3.969 kB / 395.2 MB, free: 41.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002814/0.3311, allocations: 2.017 MB / 397.2 MB, free: 40.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3312, allocations: 8.25 kB / 397.2 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3312, allocations: 12.19 kB / 397.2 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008649/0.332, allocations: 406.7 kB / 397.6 MB, free: 40.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.3328, allocations: 226.2 kB / 397.8 MB, free: 40.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/0.3383, allocations: 6.103 MB / 403.9 MB, free: 36.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007924/0.3391, allocations: 154.9 kB / 404.1 MB, free: 36.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.131e-05/0.3392, allocations: 49.42 kB / 404.1 MB, free: 36.26 MB / 318.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.001115/0.3403, allocations: 0.8617 MB / 405 MB, free: 35.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.3405, allocations: 133.7 kB / 405.1 MB, free: 35.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.3429, allocations: 1.706 MB / 406.8 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3429, allocations: 15.53 kB / 406.8 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3429, allocations: 7.812 kB / 406.8 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3429, allocations: 7.859 kB / 406.8 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.3475, allocations: 4.012 MB / 410.9 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.3476, allocations: 4 kB / 410.9 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.3481, allocations: 139.8 kB / 411 MB, free: 30.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007418/0.3488, allocations: 401.4 kB / 411.4 MB, free: 30.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.297e-05/0.3489, allocations: 35.97 kB / 411.4 MB, free: 30.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.354, allocations: 6.091 MB / 417.5 MB, free: 23.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3541, allocations: 7.969 kB / 417.5 MB, free: 23.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/0.3571, allocations: 2.539 MB / 420.1 MB, free: 21.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.3574, allocations: 243 kB / 420.3 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.3576, allocations: 35.92 kB / 420.3 MB, free: 21.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/0.3583, allocations: 103.9 kB / 420.4 MB, free: 20.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.3586, allocations: 100.6 kB / 420.5 MB, free: 20.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.3587, allocations: 31.98 kB / 420.6 MB, free: 20.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001105/0.3598, allocations: 0.9669 MB / 421.5 MB, free: 19.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3598, allocations: 0 / 421.5 MB, free: 19.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001743/0.3615, allocations: 0.6688 MB / 422.2 MB, free: 19.16 MB / 318.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.000242/0.3618, allocations: 146.3 kB / 422.3 MB, free: 19.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.3643, allocations: 1.828 MB / 424.2 MB, free: 17.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3643, allocations: 0 / 424.2 MB, free: 17.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.3657, allocations: 1.16 MB / 425.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.3674, allocations: 299.1 kB / 425.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.3734, allocations: 5.821 MB / 431.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.3747, allocations: 2.176 MB / 433.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008476/0.3756, allocations: 347 kB / 434 MB, free: 7.242 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.3758, allocations: 83.42 kB / 434 MB, free: 7.16 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3758, allocations: 4 kB / 434 MB, free: 7.156 MB / 318.1 MB Notification: Performance of Templates: time 0.03094/0.4067, allocations: 19.58 MB / 453.6 MB, free: 3.57 MB / 334.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","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches