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.001319/0.001319, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 63.73 kB / 306.9 MB, free: 0.6758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09586, allocations: 50.55 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009223/0.1051, allocations: 7.849 MB / 365.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.1104, allocations: 2.476 MB / 367.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.1121, allocations: 59.75 kB / 367.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.1137, allocations: 448.9 kB / 368.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.1168, allocations: 0.8431 MB / 369.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.1184, allocations: 410.1 kB / 369.5 MB, free: 2.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1813/0.2997, allocations: 3.211 MB / 372.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004466/0.3042, allocations: 2.903 MB / 375.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.3066, allocations: 1.416 MB / 377.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003157/0.3098, allocations: 1.694 MB / 378.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.3111, allocations: 359 kB / 379.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.3132, allocations: 497.4 kB / 379.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.3147, allocations: 0.9033 MB / 380.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.3173, allocations: 1.613 MB / 382.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006831/0.3242, allocations: 4.661 MB / 386.8 MB, free: 5.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3242, allocations: 0 / 386.8 MB, free: 5.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3242, allocations: 0 / 386.8 MB, free: 5.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001671/0.3244, allocations: 1.219 kB / 386.8 MB, free: 5.695 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.01038/0.3348, allocations: 3.649 MB / 390.4 MB, free: 3.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.3348, allocations: 8.375 kB / 390.4 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004228/0.3391, allocations: 0.7454 MB / 391.2 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/0.3424, allocations: 1.787 MB / 393 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.3426, allocations: 204.7 kB / 393.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004843/0.3431, allocations: 258.4 kB / 393.4 MB, free: 2.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006209/0.3493, allocations: 3.621 MB / 397 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.3494, allocations: 3.188 kB / 397 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003858/0.3498, allocations: 118.1 kB / 397.2 MB, free: 0 / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.3499, allocations: 107.1 kB / 397.3 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00527/0.3552, allocations: 3.096 MB / 400.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01952/0.3748, allocations: 10.34 MB / 410.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005069/0.3799, allocations: 4.576 MB / 415.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.3815, allocations: 0.9491 MB / 416.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00468/0.3862, allocations: 2.647 MB / 418.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.3863, allocations: 43.44 kB / 418.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.035e-06/0.3863, allocations: 0 / 418.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.00622/0.3925, allocations: 2.657 MB / 421.6 MB, free: 7.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.3926, allocations: 89.98 kB / 421.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.3952, allocations: 1.392 MB / 423 MB, free: 6.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.3954, allocations: 45.7 kB / 423.1 MB, free: 6.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009274/0.3963, allocations: 1.175 MB / 424.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.3967, allocations: 361.1 kB / 424.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/0.3971, allocations: 222.8 kB / 424.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3973, allocations: 357.9 kB / 425.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.3985, allocations: 0.5608 MB / 425.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.3997, allocations: 0.8556 MB / 426.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/0.4022, allocations: 1.456 MB / 428.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.4022, allocations: 0 / 428.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004048/0.4063, allocations: 1.97 MB / 430 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.4063, allocations: 8 kB / 430 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.4063, allocations: 11.94 kB / 430 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.4075, allocations: 397.4 kB / 430.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/0.4084, allocations: 217.9 kB / 430.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008434/0.4168, allocations: 6.524 MB / 437.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.4184, allocations: 134.7 kB / 437.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.4186, allocations: 55.98 kB / 437.4 MB, free: 7.688 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.00211/0.4207, allocations: 0.8738 MB / 438.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/0.4212, allocations: 142.2 kB / 438.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.4245, allocations: 1.653 MB / 440 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.4245, allocations: 8 kB / 440 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/0.4245, allocations: 11.98 kB / 440 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4245, allocations: 3.984 kB / 440 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009635/0.4342, allocations: 3.923 MB / 444 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.4342, allocations: 0 / 444 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.4348, allocations: 134.9 kB / 444.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.4359, allocations: 402.8 kB / 444.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.436, allocations: 35.97 kB / 444.5 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008758/0.4448, allocations: 6.512 MB / 451 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.4449, allocations: 7.594 kB / 451 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00465/0.4495, allocations: 2.477 MB / 453.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006924/0.4503, allocations: 251.2 kB / 453.8 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003132/0.4506, allocations: 24 kB / 453.8 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.4515, allocations: 87.91 kB / 453.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.4518, allocations: 100.7 kB / 454 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/0.4519, allocations: 27.98 kB / 454 MB, free: 6.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00167/0.4536, allocations: 0.9795 MB / 455 MB, free: 5.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4536, allocations: 3.469 kB / 455 MB, free: 5.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002235/0.4558, allocations: 0.6766 MB / 455.7 MB, free: 5.066 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.0003226/0.4562, allocations: 154.3 kB / 455.8 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00364/0.4598, allocations: 1.938 MB / 457.8 MB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.4598, allocations: 0 / 457.8 MB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.4618, allocations: 1.129 MB / 458.9 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.4639, allocations: 306.9 kB / 459.2 MB, free: 1.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/0.4726, allocations: 4.654 MB / 463.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002764/0.4753, allocations: 2.188 MB / 466 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001368/0.4767, allocations: 339 kB / 466.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.4772, allocations: 91.42 kB / 466.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4772, allocations: 0 / 466.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of Templates: time 0.04037/0.5176, allocations: 20.6 MB / 487 MB, free: 5.867 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 -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/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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches