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.001438/0.001438, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2378, allocations: 50.55 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00817/0.2461, allocations: 7.856 MB / 417.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.2504, allocations: 2.479 MB / 420.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008094/0.2513, allocations: 55.75 kB / 420.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009011/0.2522, allocations: 444.9 kB / 420.8 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.2543, allocations: 0.847 MB / 421.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008685/0.2552, allocations: 402 kB / 422 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00354/0.2588, allocations: 3.249 MB / 425.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002935/0.2617, allocations: 2.895 MB / 428.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.2634, allocations: 1.425 MB / 429.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.2653, allocations: 1.701 MB / 431.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004402/0.2657, allocations: 356 kB / 431.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008923/0.2666, allocations: 491.9 kB / 432.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006661/0.2673, allocations: 0.9076 MB / 433 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.2688, allocations: 1.618 MB / 434.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00376/0.2726, allocations: 4.694 MB / 439.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2726, allocations: 0 / 439.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.2726, allocations: 0 / 439.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-05/0.2726, allocations: 3.938 kB / 439.3 MB, free: 4.074 MB / 350.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.007413/0.2801, allocations: 3.65 MB / 443 MB, free: 372 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2801, allocations: 12.03 kB / 443 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/0.2842, allocations: 0.7429 MB / 443.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/0.2873, allocations: 1.839 MB / 445.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.2874, allocations: 205.7 kB / 445.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004576/0.2879, allocations: 268 kB / 446 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/0.2937, allocations: 3.607 MB / 449.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/0.2938, allocations: 3.984 kB / 449.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.294, allocations: 112 kB / 449.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.273e-05/0.2941, allocations: 105.4 kB / 449.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004967/0.2991, allocations: 3.101 MB / 452.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01573/0.3149, allocations: 10.22 MB / 463.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004875/0.3198, allocations: 4.569 MB / 467.7 MB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.3213, allocations: 0.9541 MB / 468.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003763/0.325, allocations: 2.635 MB / 471.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3251, allocations: 47.44 kB / 471.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.725e-06/0.3251, allocations: 0 / 471.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006913/0.332, allocations: 2.657 MB / 474 MB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.3321, allocations: 93.98 kB / 474.1 MB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.3346, allocations: 1.403 MB / 475.5 MB, free: 14.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.567e-05/0.3347, allocations: 41.7 kB / 475.6 MB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008364/0.3355, allocations: 1.172 MB / 476.7 MB, free: 13.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.3359, allocations: 366.7 kB / 477.1 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003738/0.3363, allocations: 214.9 kB / 477.3 MB, free: 12.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3364, allocations: 349.9 kB / 477.6 MB, free: 12.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009859/0.3375, allocations: 0.5724 MB / 478.2 MB, free: 11.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.3386, allocations: 0.8413 MB / 479.1 MB, free: 10.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.3409, allocations: 1.461 MB / 480.5 MB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.3409, allocations: 0 / 480.5 MB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003571/0.3445, allocations: 1.964 MB / 482.5 MB, free: 7.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3445, allocations: 8 kB / 482.5 MB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.3445, allocations: 8 kB / 482.5 MB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.3456, allocations: 401.2 kB / 482.9 MB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.3464, allocations: 215.6 kB / 483.1 MB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007688/0.3541, allocations: 6.528 MB / 489.6 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.3552, allocations: 138.8 kB / 489.8 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.3553, allocations: 52 kB / 489.8 MB, free: 15.58 MB / 414.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.001426/0.3568, allocations: 0.8759 MB / 490.7 MB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.3571, allocations: 142.2 kB / 490.8 MB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.3602, allocations: 1.648 MB / 492.5 MB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3602, allocations: 12 kB / 492.5 MB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.3602, allocations: 8 kB / 492.5 MB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.3602, allocations: 7.984 kB / 492.5 MB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006413/0.3666, allocations: 3.918 MB / 496.4 MB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3667, allocations: 0 / 496.4 MB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.3673, allocations: 131.8 kB / 496.6 MB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009529/0.3682, allocations: 401.5 kB / 496.9 MB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.519e-05/0.3683, allocations: 31.98 kB / 497 MB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007451/0.3758, allocations: 6.518 MB / 0.4917 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.3758, allocations: 0 / 0.4917 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00407/0.3799, allocations: 2.473 MB / 0.4941 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.3804, allocations: 255.1 kB / 0.4943 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.3806, allocations: 24 kB / 0.4944 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008863/0.3815, allocations: 83.91 kB / 0.4945 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.3818, allocations: 108.6 kB / 0.4946 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/0.3819, allocations: 31.98 kB / 0.4946 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001507/0.3834, allocations: 0.9756 MB / 0.4955 GB, free: 13.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3834, allocations: 0 / 0.4955 GB, free: 13.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001908/0.3853, allocations: 0.6843 MB / 0.4962 GB, free: 12.8 MB / 430.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.0003299/0.3857, allocations: 159 kB / 0.4964 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003116/0.3888, allocations: 1.781 MB / 0.4981 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.3888, allocations: 4 kB / 0.4981 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.3907, allocations: 1.126 MB / 0.4992 GB, free: 9.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.3924, allocations: 304.4 kB / 0.4995 GB, free: 9.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.4003, allocations: 4.541 MB / 0.5039 GB, free: 4.777 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002045/0.4024, allocations: 2.132 MB / 0.506 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.4028, allocations: 95.42 kB / 0.5061 GB, free: 2.52 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4028, allocations: 0 / 0.5061 GB, free: 2.52 MB / 430.1 MB Notification: Performance of Templates: time 0.2257/0.6285, allocations: 53.3 MB / 0.5582 GB, free: 117 MB / 462.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