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.001008/0.001008, allocations: 98.41 kB / 16.96 MB, free: 6.445 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.001139/0.001139, allocations: 184.3 kB / 17.84 MB, free: 6 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.455/1.455, allocations: 205.4 MB / 224 MB, free: 13.16 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.0006991/0.0006992, allocations: 12 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1269, allocations: 47.58 MB / 328.4 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009093/0.136, allocations: 6.227 MB / 334.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006048/0.1421, allocations: 2.076 MB / 336.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.1441, allocations: 39.81 kB / 336.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.1459, allocations: 322 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003862/0.1498, allocations: 0.7504 MB / 337.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.1513, allocations: 271.2 kB / 338 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005893/0.1573, allocations: 3.168 MB / 341.2 MB, free: 7.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004497/0.1618, allocations: 1.964 MB / 343.2 MB, free: 5.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.164, allocations: 1.016 MB / 344.2 MB, free: 4.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.1671, allocations: 1.327 MB / 345.5 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009534/0.1681, allocations: 156 kB / 345.7 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.1697, allocations: 259.9 kB / 345.9 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.171, allocations: 0.6384 MB / 346.5 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.1723, allocations: 0.5549 MB / 347.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005697/0.178, allocations: 3.717 MB / 350.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.178, allocations: 0 / 350.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.178, allocations: 0 / 350.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001846/0.1782, allocations: 0 / 350.8 MB, free: 13.5 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.01128/0.1895, allocations: 3.153 MB / 354 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.1896, allocations: 8.031 kB / 354 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005951/0.1955, allocations: 0.6912 MB / 354.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005179/0.2007, allocations: 1.628 MB / 356.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.2011, allocations: 201.3 kB / 356.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.2023, allocations: 267.8 kB / 356.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.2157, allocations: 3.607 MB / 360.4 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-05/0.2159, allocations: 0 / 360.4 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005092/0.2164, allocations: 108 kB / 360.5 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/0.2166, allocations: 101.4 kB / 360.6 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008198/0.2248, allocations: 3.101 MB / 363.7 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02332/0.2482, allocations: 10.55 MB / 374.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006722/0.2549, allocations: 4.684 MB / 378.9 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1882/0.4432, allocations: 0.9465 MB / 379.8 MB, free: 49.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004349/0.4476, allocations: 2.464 MB / 382.3 MB, free: 49.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.4476, allocations: 50.08 kB / 382.4 MB, free: 49.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.574e-06/0.4477, allocations: 0 / 382.4 MB, free: 49.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006865/0.4545, allocations: 2.806 MB / 385.2 MB, free: 48.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.4546, allocations: 92.48 kB / 385.3 MB, free: 48.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.4568, allocations: 1.361 MB / 386.6 MB, free: 47.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.457, allocations: 46.83 kB / 386.7 MB, free: 47.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007721/0.4577, allocations: 1.166 MB / 387.8 MB, free: 46.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.458, allocations: 360.7 kB / 388.2 MB, free: 46.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.4581, allocations: 21.53 kB / 388.2 MB, free: 46.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.4582, allocations: 357.2 kB / 388.6 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/0.4592, allocations: 0.5848 MB / 389.1 MB, free: 46.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.4602, allocations: 0.871 MB / 390 MB, free: 45.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.4613, allocations: 0.7245 MB / 390.7 MB, free: 45.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.4613, allocations: 10.84 kB / 390.7 MB, free: 45.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003323/0.4646, allocations: 2.007 MB / 392.8 MB, free: 44.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.4647, allocations: 11.84 kB / 392.8 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.4647, allocations: 7.844 kB / 392.8 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009855/0.4657, allocations: 397.9 kB / 393.2 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007505/0.4664, allocations: 227.4 kB / 393.4 MB, free: 44.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005987/0.4724, allocations: 6.089 MB / 399.5 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000942/0.4734, allocations: 153.6 kB / 399.6 MB, free: 40.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.4735, allocations: 43.53 kB / 399.7 MB, free: 40.04 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 (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.001186/0.4747, allocations: 0.8707 MB / 400.5 MB, free: 39.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.4749, allocations: 138.2 kB / 400.7 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.4773, allocations: 1.687 MB / 402.4 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4773, allocations: 12.25 kB / 402.4 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4773, allocations: 11.48 kB / 402.4 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.4773, allocations: 3.984 kB / 402.4 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/0.4822, allocations: 4.004 MB / 406.4 MB, free: 35.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4822, allocations: 14.73 kB / 406.4 MB, free: 35.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005099/0.4828, allocations: 139.8 kB / 406.5 MB, free: 35.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008049/0.4836, allocations: 393.5 kB / 406.9 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/0.4837, allocations: 39.97 kB / 407 MB, free: 34.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005424/0.4891, allocations: 6.076 MB / 413 MB, free: 28.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4891, allocations: 4 kB / 413 MB, free: 28.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.4923, allocations: 2.537 MB / 415.6 MB, free: 25.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.4927, allocations: 239.2 kB / 415.8 MB, free: 25.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.4929, allocations: 31.98 kB / 415.8 MB, free: 25.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/0.4936, allocations: 99.91 kB / 415.9 MB, free: 25.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.4938, allocations: 100.7 kB / 416 MB, free: 25.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.4938, allocations: 35.92 kB / 416.1 MB, free: 25.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001158/0.495, allocations: 0.959 MB / 417 MB, free: 24.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.495, allocations: 0 / 417 MB, free: 24.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001872/0.4969, allocations: 0.6727 MB / 417.7 MB, free: 23.78 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 (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.0002631/0.4972, allocations: 155 kB / 417.9 MB, free: 23.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.4996, allocations: 1.827 MB / 419.7 MB, free: 21.76 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4997, allocations: 0 / 419.7 MB, free: 21.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.5011, allocations: 1.138 MB / 420.8 MB, free: 20.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.5026, allocations: 294.4 kB / 421.1 MB, free: 20.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.5087, allocations: 5.558 MB / 426.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.51, allocations: 2.184 MB / 428.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.511, allocations: 343 kB / 429.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.5112, allocations: 87.42 kB / 429.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of SimCode: time 1.403e-06/0.5112, allocations: 3.938 kB / 429.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of Templates: time 0.03137/0.5426, allocations: 19.14 MB / 448.4 MB, free: 8.91 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