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.0008142/0.000814, allocations: 97.44 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009383/0.0009383, allocations: 200.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.000318, allocations: 11.98 kB / 308.4 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1119, allocations: 51.53 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007736/0.1197, allocations: 7.258 MB / 367.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005275/0.125, allocations: 2.421 MB / 369.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.1264, allocations: 55.75 kB / 369.6 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1275, allocations: 382 kB / 370 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.1298, allocations: 0.7777 MB / 370.8 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008511/0.1307, allocations: 355 kB / 371.1 MB, free: 1.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1956/0.3262, allocations: 3.539 MB / 374.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.3292, allocations: 2.409 MB / 377.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.3311, allocations: 1.041 MB / 378.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.3339, allocations: 1.389 MB / 379.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005838/0.3345, allocations: 153.5 kB / 379.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.3358, allocations: 288.8 kB / 380 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006986/0.3365, allocations: 0.6453 MB / 380.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.3387, allocations: 1.35 MB / 381.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005523/0.3442, allocations: 3.76 MB / 385.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3443, allocations: 1.219 kB / 385.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3443, allocations: 0 / 385.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001722/0.3445, allocations: 0 / 385.7 MB, free: 7.855 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.009854/0.3543, allocations: 3.144 MB / 388.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3544, allocations: 9.344 kB / 388.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/0.3593, allocations: 0.7722 MB / 389.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/0.3637, allocations: 1.773 MB / 391.4 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.3639, allocations: 201.5 kB / 391.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008612/0.3648, allocations: 261.4 kB / 391.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006745/0.3715, allocations: 3.63 MB / 395.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.3716, allocations: 0 / 395.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002446/0.3719, allocations: 110.6 kB / 395.6 MB, free: 2.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.938e-05/0.372, allocations: 104.2 kB / 395.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00478/0.3767, allocations: 3.122 MB / 398.8 MB, free: 424 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/0.3924, allocations: 10.42 MB / 409.2 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/0.3969, allocations: 4.575 MB / 413.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.3983, allocations: 0.9517 MB / 414.8 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003818/0.4022, allocations: 2.651 MB / 417.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.4022, allocations: 47.44 kB / 417.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.865e-06/0.4022, allocations: 0 / 417.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.006042/0.4083, allocations: 2.715 MB / 420.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.4083, allocations: 85.98 kB / 420.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.4102, allocations: 1.403 MB / 421.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.4104, allocations: 41.7 kB / 421.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007835/0.4112, allocations: 1.171 MB / 422.9 MB, free: 7.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.4115, allocations: 363.5 kB / 423.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.4116, allocations: 101.7 kB / 423.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4117, allocations: 361.7 kB / 423.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000919/0.4127, allocations: 0.5764 MB / 424.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.4137, allocations: 0.8603 MB / 425.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.4157, allocations: 1.483 MB / 426.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.4157, allocations: 4 kB / 426.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003361/0.4191, allocations: 1.99 MB / 428.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4191, allocations: 15.03 kB / 428.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.4192, allocations: 8 kB / 428.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000974/0.4201, allocations: 400.1 kB / 429 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/0.4209, allocations: 221.9 kB / 429.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.4277, allocations: 5.991 MB / 435.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.4292, allocations: 150.8 kB / 435.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.4294, allocations: 47.98 kB / 435.4 MB, free: 11.08 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.002011/0.4314, allocations: 0.87 MB / 436.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/0.4318, allocations: 138.3 kB / 436.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/0.4351, allocations: 1.678 MB / 438.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.4351, allocations: 15.94 kB / 438.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.4352, allocations: 7.469 kB / 438.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.4352, allocations: 7.969 kB / 438.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006871/0.4421, allocations: 3.944 MB / 442.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4421, allocations: 4 kB / 442.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.4426, allocations: 147 kB / 442.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008839/0.4435, allocations: 388.9 kB / 442.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.4436, allocations: 35.97 kB / 442.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006819/0.4504, allocations: 5.973 MB / 448.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4505, allocations: 4 kB / 448.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004363/0.4549, allocations: 2.517 MB / 451.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006756/0.4556, allocations: 247.2 kB / 451.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.4558, allocations: 24 kB / 451.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/0.4566, allocations: 99.91 kB / 451.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.4569, allocations: 104.6 kB / 451.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/0.457, allocations: 31.98 kB / 451.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001572/0.4585, allocations: 0.9795 MB / 452.6 MB, free: 9.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4586, allocations: 0 / 452.6 MB, free: 9.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002106/0.4607, allocations: 0.6804 MB / 453.3 MB, free: 8.891 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.0003175/0.461, allocations: 152.5 kB / 453.4 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.4641, allocations: 1.801 MB / 455.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4641, allocations: 0 / 455.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.4659, allocations: 1.149 MB / 456.4 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.4679, allocations: 299.1 kB / 456.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00794/0.4759, allocations: 5.813 MB / 462.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/0.4776, allocations: 2.128 MB / 464.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.4781, allocations: 99.41 kB / 464.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4781, allocations: 0 / 464.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of Templates: time 0.05985/0.5379, allocations: 52.77 MB / 0.5054 GB, free: 8.637 MB / 430.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 -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