Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 111.5 kB / 18.45 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.00129/0.00129, allocations: 214.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.406/1.406, allocations: 227.7 MB / 247.9 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 59.91 kB / 359.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2321, allocations: 50.54 MB / 410.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01836/0.2505, allocations: 16.67 MB / 426.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009701/0.2602, allocations: 4.704 MB / 431.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.263, allocations: 131.6 kB / 431.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01624/0.2792, allocations: 7.207 MB / 438.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006616/0.2858, allocations: 1.972 MB / 440.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.2901, allocations: 1.542 MB / 442.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.3026, allocations: 9.497 MB / 451.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02551/0.3281, allocations: 16.25 MB / 468.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007389/0.3355, allocations: 5.253 MB / 473.4 MB, free: 1.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009235/0.3447, allocations: 5.907 MB / 479.3 MB, free: 12.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003619/0.3484, allocations: 1.359 MB / 480.7 MB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004995/0.3534, allocations: 1.668 MB / 482.4 MB, free: 9.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004026/0.3574, allocations: 2.805 MB / 485.2 MB, free: 6.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008997/0.3664, allocations: 5.35 MB / 490.5 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02205/0.3884, allocations: 18.41 MB / 0.497 GB, free: 14.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3884, allocations: 0 / 0.497 GB, free: 14.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3884, allocations: 0 / 0.497 GB, free: 14.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004118/0.3889, allocations: 0 / 0.497 GB, free: 14.38 MB / 430.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.03511/0.424, allocations: 12.32 MB / 0.5091 GB, free: 1.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.424, allocations: 12.03 kB / 0.5091 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03802/0.462, allocations: 6.312 MB / 0.5152 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.4757, allocations: 5.836 MB / 0.5209 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007134/0.4764, allocations: 0.6743 MB / 0.5216 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003343/0.4797, allocations: 0.8749 MB / 0.5224 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0331/0.5128, allocations: 14.71 MB / 0.5368 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/0.513, allocations: 11.95 kB / 0.5368 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.5144, allocations: 372 kB / 0.5372 GB, free: 5.035 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005169/0.5149, allocations: 0.4915 MB / 0.5376 GB, free: 4.539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.381/0.8959, allocations: 13.53 MB / 0.5509 GB, free: 108.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0543/0.9502, allocations: 44.67 MB / 0.5945 GB, free: 72.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008838/0.959, allocations: 11.25 MB / 0.6055 GB, free: 59.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003287/0.9623, allocations: 2.865 MB / 0.6083 GB, free: 56.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.9626, allocations: 257.2 kB / 0.6085 GB, free: 56.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.9627, allocations: 74.56 kB / 0.6086 GB, free: 56.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.061e-06/0.9627, allocations: 3.219 kB / 0.6086 GB, free: 56.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01686/0.9795, allocations: 9.552 MB / 0.6179 GB, free: 47.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.9796, allocations: 125 kB / 0.618 GB, free: 46.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/0.983, allocations: 3.164 MB / 0.6211 GB, free: 43.74 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002608/0.9832, allocations: 89.7 kB / 0.6212 GB, free: 43.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.9846, allocations: 3.833 MB / 0.6249 GB, free: 40.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007806/0.9854, allocations: 1.458 MB / 0.6264 GB, free: 38.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/0.9867, allocations: 1.132 MB / 0.6275 GB, free: 37.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.9867, allocations: 301.1 kB / 0.6278 GB, free: 37.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003099/0.9898, allocations: 2.838 MB / 0.6305 GB, free: 34.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003765/0.9936, allocations: 4.9 MB / 0.6353 GB, free: 28.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/1.001, allocations: 8.255 MB / 0.6434 GB, free: 19.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.153e-05/1.001, allocations: 20 kB / 0.6434 GB, free: 19.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01266/1.014, allocations: 9.086 MB / 0.6523 GB, free: 10.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/1.014, allocations: 35.98 kB / 0.6523 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.186e-05/1.014, allocations: 68 kB / 0.6524 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/1.017, allocations: 1.142 MB / 0.6535 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004639/1.021, allocations: 1.291 MB / 0.6547 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/1.035, allocations: 10.82 MB / 0.6653 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004555/1.04, allocations: 0.757 MB / 0.6661 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009357/1.041, allocations: 272 kB / 0.6663 GB, free: 11.74 MB / 478.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.006752/1.047, allocations: 3.427 MB / 0.6697 GB, free: 8.297 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009472/1.048, allocations: 361.7 kB / 0.67 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.061, allocations: 6.882 MB / 0.6767 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01006/1.071, allocations: 5.698 MB / 0.6823 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.97e-05/1.071, allocations: 12 kB / 0.6823 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-05/1.071, allocations: 19.92 kB / 0.6823 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02756/1.099, allocations: 15.2 MB / 0.6972 GB, free: 11.92 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.099, allocations: 12 kB / 0.6972 GB, free: 11.91 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/1.102, allocations: 0.7879 MB / 0.6979 GB, free: 11.12 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003283/1.106, allocations: 1.06 MB / 0.699 GB, free: 10.05 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003289/1.106, allocations: 111.9 kB / 0.6991 GB, free: 9.941 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/1.122, allocations: 10.59 MB / 0.7094 GB, free: 15.07 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/1.122, allocations: 15.94 kB / 0.7094 GB, free: 15.05 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/1.139, allocations: 10.67 MB / 0.7199 GB, free: 4.152 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/1.141, allocations: 1.009 MB / 0.7208 GB, free: 3.121 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005953/1.142, allocations: 99.92 kB / 0.7209 GB, free: 3.023 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.144, allocations: 275.8 kB / 0.7212 GB, free: 2.754 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006652/1.145, allocations: 335.2 kB / 0.7215 GB, free: 2.426 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/1.145, allocations: 144 kB / 0.7217 GB, free: 2.285 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003163/1.148, allocations: 2.121 MB / 0.7237 GB, free: 164 kB / 0.5138 GB Notification: Performance of sort global known variables: time 1.31e-07/1.148, allocations: 4 kB / 0.7237 GB, free: 160 kB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005842/1.154, allocations: 2.255 MB / 0.7259 GB, free: 13.89 MB / 0.5294 GB 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.0006502/1.155, allocations: 286.2 kB / 0.7262 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.167, allocations: 7.143 MB / 0.7332 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.167, allocations: 0 / 0.7332 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006204/1.173, allocations: 3.412 MB / 0.7365 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/1.177, allocations: 0.7949 MB / 0.7373 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2141/1.391, allocations: 16.19 MB / 0.7531 GB, free: 171 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00569/1.397, allocations: 5.932 MB / 0.7589 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004436/1.401, allocations: 2.155 MB / 0.761 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000882/1.402, allocations: 319.8 kB / 0.7613 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/1.402, allocations: 0 / 0.7613 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.08307/1.485, allocations: 59.1 MB / 0.819 GB, free: 118 MB / 0.5294 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches