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.001168/0.001168, allocations: 104.8 kB / 17.16 MB, free: 6.316 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.001114/0.001114, allocations: 190 kB / 18.07 MB, free: 5.414 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 / 223.9 MB, free: 12.48 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.001283/0.001283, allocations: 55.86 kB / 280 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08686/0.08816, allocations: 46.61 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008074/0.09626, allocations: 7.159 MB / 333.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004399/0.1007, allocations: 2.212 MB / 336 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.102, allocations: 47.81 kB / 336 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.1034, allocations: 374 kB / 336.4 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.1061, allocations: 0.8049 MB / 337.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1073, allocations: 339.5 kB / 337.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004096/0.1114, allocations: 3.44 MB / 341 MB, free: 6.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.1147, allocations: 2.396 MB / 343.3 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.1164, allocations: 1.207 MB / 344.6 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.1188, allocations: 1.623 MB / 346.2 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006838/0.1195, allocations: 236 kB / 346.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.1208, allocations: 359.9 kB / 346.8 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000976/0.1218, allocations: 0.767 MB / 347.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00203/0.1238, allocations: 1.458 MB / 349 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003805/0.1276, allocations: 4.506 MB / 353.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1277, allocations: 0 / 353.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1277, allocations: 0 / 353.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000125/0.1278, allocations: 0 / 353.5 MB, free: 9.836 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.009401/0.1372, allocations: 3.625 MB / 357.1 MB, free: 6.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1373, allocations: 8.031 kB / 357.1 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003704/0.141, allocations: 0.6843 MB / 357.8 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.144, allocations: 1.678 MB / 359.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.1442, allocations: 201.7 kB / 359.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/0.1446, allocations: 260.1 kB / 359.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006211/0.1509, allocations: 3.607 MB / 363.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.151, allocations: 4 kB / 363.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.1512, allocations: 112 kB / 363.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-05/0.1513, allocations: 105.4 kB / 363.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005358/0.1567, allocations: 3.093 MB / 366.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.1731, allocations: 10.49 MB / 377.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1495/0.3227, allocations: 4.687 MB / 382 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.3245, allocations: 0.9488 MB / 383 MB, free: 47.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003932/0.3284, allocations: 2.458 MB / 385.4 MB, free: 46.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3285, allocations: 47.62 kB / 385.5 MB, free: 46.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/0.3285, allocations: 0 / 385.5 MB, free: 46.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006399/0.3349, allocations: 2.703 MB / 388.2 MB, free: 45.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.335, allocations: 92.8 kB / 388.3 MB, free: 45.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.3371, allocations: 1.373 MB / 389.7 MB, free: 44.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.3372, allocations: 46.77 kB / 389.7 MB, free: 44.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000659/0.3378, allocations: 1.164 MB / 390.9 MB, free: 43.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.3381, allocations: 363.2 kB / 391.2 MB, free: 43.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/0.3384, allocations: 216.7 kB / 391.4 MB, free: 43.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.3385, allocations: 351.8 kB / 391.8 MB, free: 43.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008689/0.3394, allocations: 0.578 MB / 392.3 MB, free: 42.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.3403, allocations: 0.8585 MB / 393.2 MB, free: 42.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.342, allocations: 1.493 MB / 394.7 MB, free: 41.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.3421, allocations: 0 / 394.7 MB, free: 41.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002959/0.345, allocations: 1.994 MB / 396.7 MB, free: 40.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.3451, allocations: 9.25 kB / 396.7 MB, free: 40.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.3451, allocations: 12.66 kB / 396.7 MB, free: 40.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009292/0.346, allocations: 406.7 kB / 397.1 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007884/0.3468, allocations: 218.4 kB / 397.3 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005494/0.3523, allocations: 6.097 MB / 403.4 MB, free: 36.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009305/0.3533, allocations: 142 kB / 403.6 MB, free: 36.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.3534, allocations: 47.39 kB / 403.6 MB, free: 36.11 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.001228/0.3546, allocations: 0.8711 MB / 404.5 MB, free: 35.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.3548, allocations: 132.7 kB / 404.6 MB, free: 35.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.3572, allocations: 1.666 MB / 406.3 MB, free: 34.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3573, allocations: 19.42 kB / 406.3 MB, free: 34.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.3573, allocations: 7.812 kB / 406.3 MB, free: 34.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.3573, allocations: 3.984 kB / 406.3 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/0.3622, allocations: 3.985 MB / 410.3 MB, free: 30.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3622, allocations: 7.938 kB / 410.3 MB, free: 30.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.3627, allocations: 136.5 kB / 410.4 MB, free: 30.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007919/0.3635, allocations: 397.5 kB / 410.8 MB, free: 30.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/0.3636, allocations: 39.97 kB / 410.9 MB, free: 30.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005099/0.3687, allocations: 6.077 MB / 416.9 MB, free: 23.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3687, allocations: 7.438 kB / 416.9 MB, free: 23.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.3717, allocations: 2.512 MB / 419.5 MB, free: 21.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.372, allocations: 243.2 kB / 419.7 MB, free: 21.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.3722, allocations: 39.92 kB / 419.7 MB, free: 21.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.3729, allocations: 87.84 kB / 419.8 MB, free: 21.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.3731, allocations: 100.7 kB / 419.9 MB, free: 20.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.3732, allocations: 35.8 kB / 419.9 MB, free: 20.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.3742, allocations: 0.963 MB / 420.9 MB, free: 19.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3743, allocations: 0 / 420.9 MB, free: 19.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001557/0.3758, allocations: 0.6727 MB / 421.6 MB, free: 19.27 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.0002454/0.3761, allocations: 152.1 kB / 421.7 MB, free: 19.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.3785, allocations: 1.804 MB / 423.5 MB, free: 17.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3785, allocations: 0 / 423.5 MB, free: 17.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.3798, allocations: 1.141 MB / 424.7 MB, free: 16.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.3812, allocations: 287.3 kB / 425 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005812/0.387, allocations: 5.744 MB / 430.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.3882, allocations: 2.181 MB / 432.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008921/0.3891, allocations: 350.9 kB / 433.2 MB, free: 7.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.3893, allocations: 83.42 kB / 433.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3893, allocations: 0 / 433.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of Templates: time 0.03087/0.4202, allocations: 19.89 MB / 453.2 MB, free: 3.496 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