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.001082/0.001082, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001133/0.001133, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.393/1.393, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00126/0.00126, allocations: 51.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08758/0.08885, allocations: 46.61 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2013/0.2902, allocations: 7.194 MB / 382.3 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004785/0.295, allocations: 2.241 MB / 384.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006376/0.2958, allocations: 45.06 kB / 384.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.297, allocations: 456.2 kB / 385.1 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.2999, allocations: 0.8835 MB / 385.9 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009544/0.3008, allocations: 373.8 kB / 386.3 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003935/0.3048, allocations: 3.151 MB / 389.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.3081, allocations: 2.858 MB / 392.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.3102, allocations: 1.42 MB / 393.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.3124, allocations: 1.693 MB / 395.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005535/0.313, allocations: 359.2 kB / 395.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.3141, allocations: 481.6 kB / 396.3 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007959/0.3149, allocations: 0.9013 MB / 397.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.3168, allocations: 1.608 MB / 398.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005566/0.3224, allocations: 4.654 MB / 403.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3224, allocations: 0 / 403.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3224, allocations: 0 / 403.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001007/0.3225, allocations: 0 / 403.4 MB, free: 15.66 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.009181/0.3317, allocations: 3.62 MB / 407 MB, free: 13.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3318, allocations: 9.625 kB / 407 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.3355, allocations: 0.6997 MB / 407.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.3384, allocations: 1.678 MB / 409.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.3385, allocations: 201.5 kB / 409.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003933/0.3389, allocations: 269.4 kB / 409.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006254/0.3452, allocations: 3.612 MB / 413.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/0.3453, allocations: 0 / 413.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.3455, allocations: 111.9 kB / 413.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.3456, allocations: 101.4 kB / 413.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004877/0.3505, allocations: 3.097 MB / 416.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01545/0.366, allocations: 10.35 MB / 427.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004793/0.3708, allocations: 4.678 MB / 431.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.3722, allocations: 0.9537 MB / 432.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0039/0.3761, allocations: 2.46 MB / 435.2 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.3762, allocations: 47.44 kB / 435.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.828e-06/0.3762, allocations: 0 / 435.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006321/0.3825, allocations: 2.699 MB / 438 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.3826, allocations: 89.92 kB / 438.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.3846, allocations: 1.374 MB / 439.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/0.3846, allocations: 45.7 kB / 439.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000762/0.3854, allocations: 1.16 MB / 440.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.3857, allocations: 362.8 kB / 441 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.3861, allocations: 222.8 kB / 441.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3862, allocations: 357.9 kB / 441.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009019/0.3871, allocations: 0.5725 MB / 442.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.3882, allocations: 0.8647 MB / 443 MB, free: 10.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.3902, allocations: 1.485 MB / 444.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3902, allocations: 0 / 444.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003294/0.3935, allocations: 1.999 MB / 446.5 MB, free: 6.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3936, allocations: 8 kB / 446.5 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.3936, allocations: 12 kB / 446.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3946, allocations: 405.2 kB / 446.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/0.3955, allocations: 219.7 kB / 447.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007447/0.4029, allocations: 6.642 MB / 453.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.4042, allocations: 142.8 kB / 453.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/0.4043, allocations: 51.94 kB / 454 MB, free: 14.9 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.001971/0.4063, allocations: 0.8681 MB / 454.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/0.4067, allocations: 130.4 kB / 455 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/0.4098, allocations: 1.679 MB / 456.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4098, allocations: 8 kB / 456.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.4098, allocations: 8 kB / 456.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4099, allocations: 3.984 kB / 456.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008413/0.4183, allocations: 3.996 MB / 460.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.4183, allocations: 192 / 460.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.4189, allocations: 135.8 kB / 460.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.42, allocations: 405.6 kB / 461.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-05/0.4201, allocations: 31.98 kB / 461.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007857/0.4279, allocations: 6.636 MB / 467.8 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.428, allocations: 7.984 kB / 467.9 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004181/0.4322, allocations: 2.512 MB / 470.4 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000624/0.4328, allocations: 239.3 kB / 470.6 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/0.4332, allocations: 27.98 kB / 470.6 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.4342, allocations: 99.84 kB / 470.7 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.4345, allocations: 92.67 kB / 470.8 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-05/0.4346, allocations: 39.92 kB / 470.9 MB, free: 13.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001629/0.4362, allocations: 0.9591 MB / 471.8 MB, free: 12.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4363, allocations: 0 / 471.8 MB, free: 12.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002298/0.4386, allocations: 0.6804 MB / 472.5 MB, free: 11.89 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.0003542/0.4389, allocations: 143.1 kB / 472.6 MB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003168/0.4421, allocations: 1.812 MB / 474.4 MB, free: 9.898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4421, allocations: 4 kB / 474.5 MB, free: 9.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.444, allocations: 1.138 MB / 475.6 MB, free: 8.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.446, allocations: 304.5 kB / 475.9 MB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008553/0.4545, allocations: 4.579 MB / 480.5 MB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/0.457, allocations: 2.184 MB / 482.6 MB, free: 1.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001181/0.4582, allocations: 339 kB / 483 MB, free: 1.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.4586, allocations: 87.42 kB / 483.1 MB, free: 1.148 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4586, allocations: 0 / 483.1 MB, free: 1.148 MB / 398.1 MB Notification: Performance of Templates: time 0.04075/0.4993, allocations: 21.06 MB / 0.4923 GB, free: 12.05 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