Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001565/0.001565, allocations: 119.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001764/0.001764, allocations: 207.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 61.27 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1233, allocations: 50.52 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01173/0.1351, allocations: 7.861 MB / 366.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006464/0.1416, allocations: 2.476 MB / 369.2 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.1428, allocations: 51.81 kB / 369.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.1442, allocations: 444.9 kB / 369.7 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.1478, allocations: 0.8586 MB / 370.6 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.1493, allocations: 391.2 kB / 371 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.194/0.3433, allocations: 3.246 MB / 374.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003783/0.3472, allocations: 2.902 MB / 377.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.3499, allocations: 1.42 MB / 378.5 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.3525, allocations: 1.687 MB / 380.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007799/0.3533, allocations: 359.9 kB / 380.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.3546, allocations: 499.3 kB / 381.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009234/0.3555, allocations: 0.908 MB / 382 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003069/0.3586, allocations: 1.614 MB / 383.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00643/0.3651, allocations: 4.697 MB / 388.3 MB, free: 5.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3651, allocations: 0 / 388.3 MB, free: 5.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3651, allocations: 1.562 kB / 388.3 MB, free: 5.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001181/0.3652, allocations: 0 / 388.3 MB, free: 5.902 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.009352/0.3746, allocations: 3.649 MB / 391.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3746, allocations: 9.625 kB / 391.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004148/0.3788, allocations: 0.7453 MB / 392.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00421/0.383, allocations: 1.844 MB / 394.5 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.3832, allocations: 204.8 kB / 394.7 MB, free: 2.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/0.3837, allocations: 259.2 kB / 395 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007898/0.3916, allocations: 3.624 MB / 398.6 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.577e-05/0.3917, allocations: 0 / 398.6 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00041/0.3922, allocations: 115.9 kB / 398.7 MB, free: 0 / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.3923, allocations: 108.4 kB / 398.8 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005249/0.3976, allocations: 3.1 MB / 401.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.4137, allocations: 10.22 MB / 412.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004991/0.4188, allocations: 4.574 MB / 416.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.4203, allocations: 0.9463 MB / 417.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004513/0.4248, allocations: 2.636 MB / 420.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.4249, allocations: 46.62 kB / 420.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.026e-06/0.4249, allocations: 0 / 420.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.005918/0.4308, allocations: 2.657 MB / 423 MB, free: 7.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.4309, allocations: 89.98 kB / 423.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.4328, allocations: 1.396 MB / 424.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.506e-05/0.4329, allocations: 41.7 kB / 424.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007365/0.4336, allocations: 1.175 MB / 425.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.4339, allocations: 361 kB / 426.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/0.4342, allocations: 218.8 kB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4344, allocations: 361.9 kB / 426.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/0.4352, allocations: 0.5608 MB / 427.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009836/0.4362, allocations: 0.8556 MB / 428 MB, free: 2.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.438, allocations: 1.452 MB / 429.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.438, allocations: 7.562 kB / 429.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002963/0.441, allocations: 1.965 MB / 431.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.441, allocations: 8 kB / 431.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.4411, allocations: 8 kB / 431.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008879/0.442, allocations: 393.4 kB / 431.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/0.4427, allocations: 219.8 kB / 432.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007071/0.4498, allocations: 6.528 MB / 438.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4513, allocations: 142.6 kB / 438.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.4514, allocations: 51.98 kB / 438.8 MB, free: 7.215 MB / 350.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.001545/0.4529, allocations: 0.8705 MB / 439.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.4532, allocations: 142.2 kB / 439.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.456, allocations: 1.66 MB / 441.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.456, allocations: 12 kB / 441.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.456, allocations: 8 kB / 441.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.456, allocations: 3.984 kB / 441.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006053/0.4621, allocations: 3.917 MB / 445.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.4621, allocations: 4 kB / 445.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.4626, allocations: 131.2 kB / 445.5 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008546/0.4635, allocations: 401.3 kB / 445.9 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/0.4636, allocations: 27.98 kB / 446 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006777/0.4704, allocations: 6.51 MB / 452.5 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4704, allocations: 7.938 kB / 452.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003627/0.474, allocations: 2.484 MB / 455 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.4746, allocations: 243.1 kB / 455.2 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.4747, allocations: 28 kB / 455.2 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.4755, allocations: 83.91 kB / 455.3 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.4757, allocations: 96.67 kB / 455.4 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.4758, allocations: 35.98 kB / 455.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001311/0.4771, allocations: 0.9792 MB / 456.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4771, allocations: 0 / 456.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001947/0.4791, allocations: 0.6766 MB / 457.1 MB, free: 4.598 MB / 366.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.0002892/0.4794, allocations: 150.6 kB / 457.2 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.4822, allocations: 1.795 MB / 459 MB, free: 2.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4822, allocations: 1.188 kB / 459 MB, free: 2.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.4838, allocations: 1.124 MB / 460.2 MB, free: 1.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.4853, allocations: 303.5 kB / 460.5 MB, free: 1.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/0.4924, allocations: 4.586 MB / 465 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.4942, allocations: 2.196 MB / 467.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000994/0.4952, allocations: 339 kB / 467.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.4955, allocations: 87.42 kB / 467.6 MB, free: 9.934 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4955, allocations: 0 / 467.6 MB, free: 9.934 MB / 382.1 MB Notification: Performance of Templates: time 0.03604/0.5315, allocations: 20.52 MB / 488.2 MB, free: 5.68 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches