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.0008844/0.0008843, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.001016/0.001016, allocations: 176.5 kB / 17.21 MB, free: 6.32 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.36/1.36, allocations: 223.3 MB / 241.2 MB, free: 284 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002435/0.0002435, allocations: 8 kB / 300.8 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.08905, allocations: 50.42 MB / 351.2 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00729/0.09637, allocations: 6.273 MB / 357.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.1003, allocations: 2.037 MB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009298/0.1012, allocations: 51.75 kB / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009827/0.1022, allocations: 314 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.1044, allocations: 0.7544 MB / 360.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.1052, allocations: 259.6 kB / 360.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00484/0.1101, allocations: 3.178 MB / 364.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004266/0.1144, allocations: 1.992 MB / 366.1 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.1165, allocations: 1.012 MB / 367.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.1189, allocations: 1.319 MB / 368.4 MB, free: 2.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006246/0.1195, allocations: 160 kB / 368.6 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1207, allocations: 271.8 kB / 368.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00085/0.1216, allocations: 0.6384 MB / 369.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009305/0.1225, allocations: 0.5432 MB / 370 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1726/0.2951, allocations: 3.727 MB / 373.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2952, allocations: 1.219 kB / 373.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2952, allocations: 0 / 373.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002151/0.2954, allocations: 0 / 373.7 MB, free: 13.08 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.009141/0.3045, allocations: 3.154 MB / 376.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3046, allocations: 8.906 kB / 376.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/0.3088, allocations: 0.7011 MB / 377.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/0.3121, allocations: 1.695 MB / 379.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.3122, allocations: 200.4 kB / 379.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004433/0.3127, allocations: 261.9 kB / 379.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006134/0.3188, allocations: 3.604 MB / 383.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/0.3189, allocations: 0 / 383.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.3192, allocations: 111 kB / 383.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.3193, allocations: 106.7 kB / 383.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005206/0.3245, allocations: 3.104 MB / 386.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/0.3387, allocations: 10.41 MB / 397.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.3424, allocations: 4.574 MB / 401.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.3437, allocations: 0.9537 MB / 402.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00399/0.3477, allocations: 2.407 MB / 405 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3477, allocations: 43.44 kB / 405.1 MB, free: 13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.454e-06/0.3477, allocations: 0 / 405.1 MB, free: 13 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006321/0.3541, allocations: 2.773 MB / 407.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.3541, allocations: 92.61 kB / 407.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.356, allocations: 1.359 MB / 409.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.137e-05/0.3561, allocations: 45.7 kB / 409.3 MB, free: 8.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007644/0.3569, allocations: 1.166 MB / 410.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.3572, allocations: 355.2 kB / 410.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.3572, allocations: 24 kB / 410.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3574, allocations: 357.9 kB / 411.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/0.3583, allocations: 0.5686 MB / 411.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.3594, allocations: 0.8597 MB / 412.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.3605, allocations: 0.7061 MB / 413.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3605, allocations: 4 kB / 413.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003175/0.3637, allocations: 1.981 MB / 415.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3637, allocations: 8 kB / 415.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3637, allocations: 8 kB / 415.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009082/0.3647, allocations: 400 kB / 415.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/0.3655, allocations: 227.8 kB / 416 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/0.3724, allocations: 5.974 MB / 421.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/0.3734, allocations: 154.7 kB / 422.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/0.3735, allocations: 47.47 kB / 422.1 MB, free: 11.59 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001492/0.375, allocations: 0.8609 MB / 423 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.3752, allocations: 138.4 kB / 423.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.3781, allocations: 1.676 MB / 424.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3781, allocations: 8 kB / 424.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.3781, allocations: 8 kB / 424.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3781, allocations: 6.5 kB / 424.8 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/0.3841, allocations: 3.931 MB / 428.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3841, allocations: 0 / 428.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.3847, allocations: 142 kB / 428.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008861/0.3856, allocations: 398.5 kB / 429.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.3857, allocations: 35.97 kB / 429.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006641/0.3924, allocations: 5.958 MB / 435.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.3924, allocations: 6.906 kB / 435.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.3963, allocations: 2.507 MB / 437.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.3968, allocations: 243.1 kB / 438 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.3969, allocations: 24 kB / 438.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/0.3977, allocations: 99.91 kB / 438.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.3979, allocations: 95.73 kB / 438.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.398, allocations: 35.98 kB / 438.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001581/0.3996, allocations: 0.9551 MB / 439.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3996, allocations: 0 / 439.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002296/0.4019, allocations: 0.6688 MB / 439.9 MB, free: 9.5 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000322/0.4023, allocations: 155.6 kB / 440.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002973/0.4053, allocations: 1.794 MB / 441.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4053, allocations: 2.406 kB / 441.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.4071, allocations: 1.136 MB / 443 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.4085, allocations: 304.9 kB / 443.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008131/0.4167, allocations: 5.526 MB / 448.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/0.4187, allocations: 2.187 MB / 451 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00118/0.4199, allocations: 346.9 kB / 451.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.4202, allocations: 83.42 kB / 451.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4202, allocations: 1.094 kB / 451.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Templates: time 0.0342/0.4544, allocations: 18.89 MB / 470.3 MB, free: 11.27 MB / 382.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