Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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.0.0_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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 104 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008116/0.0008116, allocations: 27.95 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2153, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005762/0.2211, allocations: 7.205 MB / 406.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.2246, allocations: 2.163 MB / 408.8 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009169/0.2255, allocations: 47.81 kB / 408.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008264/0.2264, allocations: 378 kB / 409.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.2283, allocations: 0.8127 MB / 410.1 MB, free: 22.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.2289, allocations: 330.8 kB / 410.4 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002565/0.2315, allocations: 3.485 MB / 413.9 MB, free: 18.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.2334, allocations: 2.417 MB / 416.3 MB, free: 16.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.2345, allocations: 1.222 MB / 417.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.2358, allocations: 1.626 MB / 419.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.2361, allocations: 236 kB / 419.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006382/0.2367, allocations: 359.9 kB / 419.7 MB, free: 13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004025/0.2371, allocations: 0.7748 MB / 420.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000975/0.2381, allocations: 1.469 MB / 422 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.2405, allocations: 4.517 MB / 426.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2405, allocations: 0 / 426.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2405, allocations: 0 / 426.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.303e-05/0.2405, allocations: 7.875 kB / 426.5 MB, free: 6.207 MB / 298.7 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.006297/0.2468, allocations: 3.621 MB / 430.1 MB, free: 2.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2469, allocations: 8.031 kB / 430.1 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.2499, allocations: 0.7 MB / 430.8 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/0.2534, allocations: 1.737 MB / 432.6 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.2536, allocations: 197.8 kB / 432.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005134/0.2542, allocations: 264.1 kB / 433 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005641/0.2598, allocations: 3.614 MB / 436.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.2599, allocations: 0 / 436.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.2601, allocations: 108 kB / 436.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.931e-05/0.2602, allocations: 105.4 kB / 436.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004751/0.265, allocations: 3.101 MB / 439.9 MB, free: 8.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.28, allocations: 10.35 MB / 450.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/0.2851, allocations: 4.573 MB / 454.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.2864, allocations: 0.9501 MB / 455.8 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004059/0.2905, allocations: 2.397 MB / 458.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.2905, allocations: 51.42 kB / 458.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 3.597e-06/0.2906, allocations: 0 / 458.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.006081/0.2966, allocations: 2.653 MB / 460.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2967, allocations: 85.98 kB / 461 MB, free: 2.352 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.2984, allocations: 1.374 MB / 462.4 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/0.2985, allocations: 45.7 kB / 462.4 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007025/0.2992, allocations: 1.156 MB / 463.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.2994, allocations: 366.8 kB / 463.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.2998, allocations: 218.8 kB / 464.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2999, allocations: 357.9 kB / 464.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008752/0.3008, allocations: 0.5645 MB / 465 MB, free: 14.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.3018, allocations: 0.8491 MB / 465.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.3038, allocations: 1.461 MB / 467.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.3038, allocations: 4 kB / 467.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003067/0.3069, allocations: 1.96 MB / 469.3 MB, free: 9.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3069, allocations: 8 kB / 469.3 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3069, allocations: 8 kB / 469.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009024/0.3078, allocations: 405.3 kB / 469.7 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.3086, allocations: 227.6 kB / 470 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006599/0.3152, allocations: 5.973 MB / 475.9 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.3161, allocations: 134.8 kB / 476.1 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/0.3162, allocations: 55.98 kB / 476.1 MB, free: 2.66 MB / 346.7 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.001333/0.3176, allocations: 0.8681 MB / 477 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.3178, allocations: 138.3 kB / 477.1 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.3207, allocations: 1.648 MB / 478.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.3207, allocations: 12 kB / 478.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.3207, allocations: 8 kB / 478.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3208, allocations: 3.984 kB / 478.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006503/0.3273, allocations: 3.914 MB / 482.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.3273, allocations: 8.188 kB / 482.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.3279, allocations: 135.8 kB / 482.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009148/0.3288, allocations: 394.6 kB / 483.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/0.3289, allocations: 31.98 kB / 483.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006814/0.3357, allocations: 5.962 MB / 489.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.3357, allocations: 7.875 kB / 489.2 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/0.3563, allocations: 14.59 MB / 0.492 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.3567, allocations: 243.2 kB / 0.4922 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.3568, allocations: 27.98 kB / 0.4923 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/0.3576, allocations: 91.97 kB / 0.4924 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.3578, allocations: 96.69 kB / 0.4924 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/0.3579, allocations: 35.98 kB / 0.4925 GB, free: 5.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0012/0.3591, allocations: 0.9591 MB / 0.4934 GB, free: 4.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3591, allocations: 0 / 0.4934 GB, free: 4.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002056/0.3612, allocations: 0.8327 MB / 0.4942 GB, free: 3.789 MB / 378.7 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.0002672/0.3615, allocations: 157.7 kB / 0.4944 GB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.3643, allocations: 1.777 MB / 0.4961 GB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3644, allocations: 0 / 0.4961 GB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.366, allocations: 1.125 MB / 0.4972 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.3674, allocations: 292.4 kB / 0.4975 GB, free: 404 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1652/0.5327, allocations: 6.809 MB / 0.5041 GB, free: 92.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.5343, allocations: 2.218 MB / 0.5063 GB, free: 91.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001127/0.5355, allocations: 342.8 kB / 0.5066 GB, free: 91.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.5357, allocations: 90.27 kB / 0.5067 GB, free: 91.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5358, allocations: 0 / 0.5067 GB, free: 91.61 MB / 378.7 MB Notification: Performance of Templates: time 0.03123/0.567, allocations: 22.8 MB / 0.529 GB, free: 73.92 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches