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.0008045/0.0008047, allocations: 100.2 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009353/0.0009354, allocations: 199.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.8 MB / 246.9 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002255/0.0002256, allocations: 4 kB / 307.8 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1003, allocations: 51.54 MB / 359.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00821/0.1085, allocations: 7.261 MB / 366.6 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004673/0.1132, allocations: 2.437 MB / 369 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006701/0.1139, allocations: 51.81 kB / 369.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008198/0.1148, allocations: 378 kB / 369.4 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.1167, allocations: 0.7816 MB / 370.2 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.1175, allocations: 347.5 kB / 370.6 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1608/0.2783, allocations: 3.538 MB / 374.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002733/0.281, allocations: 2.415 MB / 376.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.2824, allocations: 1.038 MB / 377.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.2839, allocations: 1.39 MB / 379 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.2842, allocations: 157.8 kB / 379.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.2848, allocations: 280.2 kB / 379.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005132/0.2854, allocations: 0.6485 MB / 380 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.2866, allocations: 1.348 MB / 381.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.2905, allocations: 4.397 MB / 385.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2905, allocations: 0 / 385.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2905, allocations: 5.281 kB / 385.8 MB, free: 7.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.824e-05/0.2906, allocations: 0 / 385.8 MB, free: 7.125 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.007096/0.2977, allocations: 3.145 MB / 388.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2977, allocations: 9.531 kB / 388.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/0.3018, allocations: 0.7469 MB / 389.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.3045, allocations: 1.788 MB / 391.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.3047, allocations: 199.8 kB / 391.7 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003714/0.3051, allocations: 264.6 kB / 391.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005438/0.3105, allocations: 3.626 MB / 395.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/0.3106, allocations: 4 kB / 395.5 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.3108, allocations: 109.2 kB / 395.7 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.54e-05/0.3109, allocations: 105.7 kB / 395.8 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004606/0.3155, allocations: 3.128 MB / 398.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.332, allocations: 10.42 MB / 409.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005338/0.3374, allocations: 4.582 MB / 413.9 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.3389, allocations: 0.9541 MB / 414.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004178/0.3431, allocations: 2.664 MB / 417.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.3432, allocations: 51.44 kB / 417.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 4.729e-06/0.3432, allocations: 3.984 kB / 417.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.006629/0.3498, allocations: 2.719 MB / 420.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.3499, allocations: 89.98 kB / 420.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.352, allocations: 1.396 MB / 421.8 MB, free: 8.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/0.3521, allocations: 45.7 kB / 421.8 MB, free: 8.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000959/0.3531, allocations: 1.176 MB / 423 MB, free: 6.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.3534, allocations: 357.9 kB / 423.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.3536, allocations: 101.7 kB / 423.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3538, allocations: 361.9 kB / 423.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.3548, allocations: 0.5725 MB / 424.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.3561, allocations: 0.868 MB / 425.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.3584, allocations: 1.478 MB / 426.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3584, allocations: 4 kB / 426.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003528/0.3619, allocations: 1.998 MB / 428.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.3619, allocations: 10.97 kB / 428.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.362, allocations: 12 kB / 428.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.363, allocations: 394.6 kB / 429.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/0.3639, allocations: 225.7 kB / 429.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007625/0.3715, allocations: 5.991 MB / 435.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.3726, allocations: 158.7 kB / 435.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/0.3727, allocations: 48 kB / 435.5 MB, free: 10.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.001782/0.3745, allocations: 0.8701 MB / 436.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.3748, allocations: 142.3 kB / 436.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003368/0.3782, allocations: 1.674 MB / 438.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.3782, allocations: 11.94 kB / 438.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.3782, allocations: 8 kB / 438.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.3782, allocations: 7.969 kB / 438.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007032/0.3853, allocations: 3.952 MB / 442.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3853, allocations: 0 / 442.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.3859, allocations: 146.9 kB / 442.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009996/0.3869, allocations: 400.7 kB / 442.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.387, allocations: 27.98 kB / 442.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007804/0.3948, allocations: 5.974 MB / 448.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3949, allocations: 3.469 kB / 448.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004328/0.3992, allocations: 2.518 MB / 451.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/0.3996, allocations: 251.1 kB / 451.5 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.3998, allocations: 24 kB / 451.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008175/0.4006, allocations: 95.91 kB / 451.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.4009, allocations: 104 kB / 451.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.197e-05/0.401, allocations: 35.98 kB / 451.7 MB, free: 9.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001509/0.4025, allocations: 0.9795 MB / 452.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4025, allocations: 0 / 452.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001973/0.4045, allocations: 0.6804 MB / 453.4 MB, free: 7.887 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.0003002/0.4048, allocations: 149.5 kB / 453.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003184/0.408, allocations: 1.803 MB / 455.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.408, allocations: 0 / 455.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.4099, allocations: 1.157 MB / 456.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.4118, allocations: 287.2 kB / 456.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008428/0.4202, allocations: 5.855 MB / 462.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/0.4224, allocations: 2.184 MB / 464.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001087/0.4235, allocations: 339 kB / 465.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.4237, allocations: 95.41 kB / 465.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4237, allocations: 0 / 465.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of Templates: time 0.03899/0.4627, allocations: 19.25 MB / 484.5 MB, free: 8.871 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.1.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