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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001252/0.001253, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 55.91 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.243, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009165/0.2522, allocations: 7.253 MB / 408 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004704/0.257, allocations: 2.176 MB / 410.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.2582, allocations: 55.75 kB / 410.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.2598, allocations: 461 kB / 410.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.2627, allocations: 0.9047 MB / 411.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.2639, allocations: 363.3 kB / 411.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003977/0.2679, allocations: 3.139 MB / 415.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/0.2716, allocations: 2.888 MB / 417.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.2736, allocations: 1.425 MB / 419.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.2763, allocations: 1.693 MB / 421.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008999/0.2772, allocations: 360 kB / 421.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.2791, allocations: 487.8 kB / 421.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.2805, allocations: 0.8959 MB / 422.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003029/0.2835, allocations: 1.61 MB / 424.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005067/0.2886, allocations: 4.669 MB / 429.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2886, allocations: 0 / 429.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2886, allocations: 0 / 429.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001398/0.2888, allocations: 0 / 429.1 MB, free: 12.36 MB / 350.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.01013/0.2989, allocations: 3.625 MB / 432.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.299, allocations: 8.031 kB / 432.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003982/0.303, allocations: 0.6882 MB / 433.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.3069, allocations: 1.799 MB / 435.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.3071, allocations: 201.7 kB / 435.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000821/0.3079, allocations: 268 kB / 435.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008102/0.316, allocations: 3.614 MB / 439.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.247e-05/0.3161, allocations: 0 / 439.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004016/0.3165, allocations: 112 kB / 439.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.3167, allocations: 105.4 kB / 439.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005318/0.322, allocations: 3.093 MB / 442.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.3379, allocations: 10.23 MB / 452.8 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004576/0.3425, allocations: 4.565 MB / 457.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.3439, allocations: 0.9415 MB / 458.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003784/0.3477, allocations: 2.397 MB / 460.7 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.3478, allocations: 59.36 kB / 460.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.624e-06/0.3478, allocations: 0 / 460.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.005883/0.3537, allocations: 2.645 MB / 463.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.3538, allocations: 89.92 kB / 463.5 MB, free: 8.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.3555, allocations: 1.374 MB / 464.9 MB, free: 7.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.653e-05/0.3556, allocations: 41.7 kB / 464.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007197/0.3563, allocations: 1.168 MB / 466.1 MB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.3567, allocations: 362.8 kB / 466.4 MB, free: 5.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.357, allocations: 214.8 kB / 466.6 MB, free: 5.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3572, allocations: 357.9 kB / 467 MB, free: 5.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009294/0.3581, allocations: 0.5569 MB / 467.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.3592, allocations: 0.8491 MB / 468.4 MB, free: 3.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.361, allocations: 1.457 MB / 469.9 MB, free: 1.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.3611, allocations: 4 kB / 469.9 MB, free: 1.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003254/0.3643, allocations: 1.96 MB / 471.8 MB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3644, allocations: 8 kB / 471.8 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.3644, allocations: 8.156 kB / 471.8 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009751/0.3654, allocations: 405.2 kB / 472.2 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.3662, allocations: 219.6 kB / 472.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007108/0.3733, allocations: 6.522 MB / 479 MB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3743, allocations: 142.6 kB / 479.1 MB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/0.3745, allocations: 51.98 kB / 479.2 MB, free: 8.34 MB / 398.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.001324/0.3758, allocations: 0.8565 MB / 480 MB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.376, allocations: 142.3 kB / 480.1 MB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.3789, allocations: 1.652 MB / 481.8 MB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3789, allocations: 12 kB / 481.8 MB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3789, allocations: 4 kB / 481.8 MB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.3789, allocations: 7.969 kB / 481.8 MB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005959/0.3849, allocations: 3.922 MB / 485.7 MB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3849, allocations: 0 / 485.7 MB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.3855, allocations: 135.8 kB / 485.9 MB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009143/0.3864, allocations: 393.4 kB / 486.3 MB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/0.3865, allocations: 27.98 kB / 486.3 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006823/0.3933, allocations: 6.51 MB / 492.8 MB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3933, allocations: 3.938 kB / 492.8 MB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.397, allocations: 2.477 MB / 495.3 MB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.3973, allocations: 239.3 kB / 495.5 MB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.3975, allocations: 24 kB / 495.5 MB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007496/0.3982, allocations: 87.91 kB / 495.6 MB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.3985, allocations: 96.61 kB / 495.7 MB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.3985, allocations: 35.98 kB / 495.8 MB, free: 7.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001218/0.3998, allocations: 0.963 MB / 496.7 MB, free: 6.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3998, allocations: 0 / 496.7 MB, free: 6.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001725/0.4015, allocations: 0.6804 MB / 497.4 MB, free: 5.617 MB / 414.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.000289/0.4018, allocations: 163 kB / 497.6 MB, free: 5.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002798/0.4046, allocations: 1.778 MB / 499.3 MB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4046, allocations: 4.125 kB / 499.3 MB, free: 3.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.4063, allocations: 1.136 MB / 0.4887 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4077, allocations: 296.2 kB / 0.489 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/0.4142, allocations: 4.555 MB / 0.4935 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.4158, allocations: 2.18 MB / 0.4956 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000882/0.4167, allocations: 346.9 kB / 0.4959 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.417, allocations: 91.42 kB / 0.496 GB, free: 10.93 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.417, allocations: 0 / 0.496 GB, free: 10.93 MB / 430.1 MB Notification: Performance of Templates: time 0.03876/0.4557, allocations: 20.81 MB / 0.5163 GB, free: 6.344 MB / 446.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches