Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001646/0.001647, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002355/0.002355, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.22 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 50.54 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2362/0.3412, allocations: 16.59 MB / 375.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.3522, allocations: 4.707 MB / 380.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004621/0.3568, allocations: 138.5 kB / 380.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0156/0.3725, allocations: 7.176 MB / 387.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008893/0.3814, allocations: 1.95 MB / 389.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004915/0.3863, allocations: 1.533 MB / 391 MB, free: 4.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01481/0.4011, allocations: 9.501 MB / 400.5 MB, free: 15.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03171/0.4329, allocations: 20.84 MB / 421.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009788/0.4427, allocations: 5.245 MB / 426.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01214/0.4549, allocations: 5.911 MB / 432.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005427/0.4604, allocations: 1.359 MB / 433.9 MB, free: 472 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007859/0.4683, allocations: 1.664 MB / 435.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0053/0.4736, allocations: 2.79 MB / 438.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0127/0.4863, allocations: 5.358 MB / 443.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02449/0.5108, allocations: 18.36 MB / 462 MB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.5109, allocations: 0 / 462 MB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5109, allocations: 0 / 462 MB, free: 4.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006017/0.5115, allocations: 0 / 462 MB, free: 4.207 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03983/0.5514, allocations: 12.13 MB / 474.2 MB, free: 7.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5514, allocations: 8.031 kB / 474.2 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03588/0.5873, allocations: 6.272 MB / 480.4 MB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.6008, allocations: 5.811 MB / 486.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006225/0.6014, allocations: 0.6704 MB / 486.9 MB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003859/0.6053, allocations: 0.8749 MB / 487.8 MB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03356/0.6389, allocations: 14.72 MB / 0.4907 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002517/0.6392, allocations: 15.84 kB / 0.4908 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001793/0.641, allocations: 368 kB / 0.4911 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004856/0.6415, allocations: 499.3 kB / 0.4916 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/0.6689, allocations: 13.53 MB / 0.5048 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5065/1.176, allocations: 44.54 MB / 0.5483 GB, free: 113.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/1.187, allocations: 11.65 MB / 0.5597 GB, free: 106.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00433/1.192, allocations: 3.157 MB / 0.5628 GB, free: 105.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003965/1.192, allocations: 253.6 kB / 0.563 GB, free: 105.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/1.192, allocations: 82.03 kB / 0.5631 GB, free: 105.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.812e-06/1.192, allocations: 0 / 0.5631 GB, free: 105.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01858/1.211, allocations: 9.566 MB / 0.5724 GB, free: 102.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/1.211, allocations: 124.5 kB / 0.5725 GB, free: 102.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004349/1.215, allocations: 3.152 MB / 0.5756 GB, free: 101.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005748/1.216, allocations: 94.83 kB / 0.5757 GB, free: 101.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002133/1.218, allocations: 3.699 MB / 0.5793 GB, free: 98.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001262/1.219, allocations: 1.387 MB / 0.5807 GB, free: 97.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/1.221, allocations: 1.124 MB / 0.5818 GB, free: 96.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.965e-05/1.221, allocations: 308.8 kB / 0.5821 GB, free: 96.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/1.224, allocations: 2.841 MB / 0.5848 GB, free: 94.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/1.229, allocations: 4.899 MB / 0.5896 GB, free: 90.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008561/1.238, allocations: 8.254 MB / 0.5977 GB, free: 84.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-05/1.238, allocations: 25.41 kB / 0.5977 GB, free: 84.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01437/1.252, allocations: 9.103 MB / 0.6066 GB, free: 76.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/1.252, allocations: 32 kB / 0.6066 GB, free: 76.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/1.252, allocations: 68 kB / 0.6067 GB, free: 75.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/1.255, allocations: 1.15 MB / 0.6078 GB, free: 74.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004392/1.26, allocations: 1.287 MB / 0.6091 GB, free: 73.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/1.271, allocations: 10.81 MB / 0.6196 GB, free: 62.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/1.276, allocations: 0.7395 MB / 0.6203 GB, free: 61.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009187/1.277, allocations: 283.7 kB / 0.6206 GB, free: 61.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006158/1.283, allocations: 3.419 MB / 0.624 GB, free: 57.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.284, allocations: 351.7 kB / 0.6243 GB, free: 57.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.296, allocations: 6.897 MB / 0.631 GB, free: 50.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008359/1.305, allocations: 5.745 MB / 0.6366 GB, free: 44.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.655e-05/1.305, allocations: 12 kB / 0.6367 GB, free: 44.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.574e-05/1.305, allocations: 23.86 kB / 0.6367 GB, free: 44.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02546/1.331, allocations: 15.22 MB / 0.6515 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/1.331, allocations: 16 kB / 0.6516 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/1.333, allocations: 0.7917 MB / 0.6523 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002687/1.336, allocations: 1.052 MB / 0.6534 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003299/1.336, allocations: 108 kB / 0.6535 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.348, allocations: 10.57 MB / 0.6638 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/1.348, allocations: 19.88 kB / 0.6638 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/1.366, allocations: 10.69 MB / 0.6742 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003124/1.37, allocations: 0.9835 MB / 0.6752 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.371, allocations: 103.9 kB / 0.6753 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003471/1.374, allocations: 271.8 kB / 0.6756 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009413/1.375, allocations: 343.1 kB / 0.6759 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003826/1.375, allocations: 144 kB / 0.676 GB, free: 3.926 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004365/1.38, allocations: 2.125 MB / 0.6781 GB, free: 1.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.01e-07/1.38, allocations: 0 / 0.6781 GB, free: 1.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01085/1.391, allocations: 2.235 MB / 0.6803 GB, free: 15.55 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/1.392, allocations: 290.4 kB / 0.6806 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01678/1.409, allocations: 7.448 MB / 0.6878 GB, free: 7.797 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.162e-05/1.409, allocations: 4.062 kB / 0.6878 GB, free: 7.793 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006562/1.416, allocations: 3.65 MB / 0.6914 GB, free: 4.129 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004713/1.42, allocations: 0.8097 MB / 0.6922 GB, free: 3.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03314/1.454, allocations: 15.95 MB / 0.7078 GB, free: 3.176 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2526/1.706, allocations: 5.923 MB / 0.7136 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006608/1.713, allocations: 2.156 MB / 0.7157 GB, free: 145.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.714, allocations: 323 kB / 0.716 GB, free: 145.3 MB / 478.1 MB Notification: Performance of SimCode: time 3.246e-06/1.714, allocations: 0 / 0.716 GB, free: 145.3 MB / 478.1 MB Notification: Performance of Templates: time 0.1005/1.815, allocations: 56.24 MB / 0.7709 GB, free: 115.7 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches