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.001911/0.001911, allocations: 116.3 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.002611/0.002611, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5233/0.5246, allocations: 50.55 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.03199/0.5566, allocations: 16.61 MB / 426.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02039/0.5771, allocations: 4.696 MB / 431.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007144/0.5843, allocations: 135.6 kB / 431.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0268/0.6112, allocations: 7.151 MB / 438.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01445/0.6257, allocations: 1.962 MB / 440.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007794/0.6335, allocations: 1.537 MB / 442 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02447/0.658, allocations: 9.503 MB / 451.5 MB, free: 7.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06535/0.7235, allocations: 20.84 MB / 472.4 MB, free: 2.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.016/0.7396, allocations: 5.249 MB / 477.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0189/0.7585, allocations: 5.907 MB / 483.5 MB, free: 7.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008642/0.7673, allocations: 1.359 MB / 484.9 MB, free: 6.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01251/0.7799, allocations: 1.672 MB / 486.6 MB, free: 4.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01097/0.7909, allocations: 2.786 MB / 489.4 MB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0242/0.8152, allocations: 5.362 MB / 494.7 MB, free: 12.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04778/0.8631, allocations: 18.36 MB / 0.501 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.031e-05/0.8632, allocations: 0 / 0.501 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.11e-05/0.8633, allocations: 0 / 0.501 GB, free: 10.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009925/0.8643, allocations: 7.875 kB / 0.5011 GB, free: 10.06 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.08101/0.9453, allocations: 12.14 MB / 0.5129 GB, free: 13.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001023/0.9455, allocations: 8.031 kB / 0.5129 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06491/1.01, allocations: 6.272 MB / 0.519 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02446/1.035, allocations: 5.811 MB / 0.5247 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001494/1.037, allocations: 0.6743 MB / 0.5254 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007334/1.044, allocations: 0.875 MB / 0.5262 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07189/1.116, allocations: 14.71 MB / 0.5406 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001039/1.117, allocations: 11.89 kB / 0.5406 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007904/1.125, allocations: 368 kB / 0.541 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009727/1.126, allocations: 499.3 kB / 0.5414 GB, free: 496 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7549/1.881, allocations: 13.53 MB / 0.5546 GB, free: 109.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.125/2.006, allocations: 44.55 MB / 0.5982 GB, free: 68.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/2.025, allocations: 11.65 MB / 0.6095 GB, free: 55.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007356/2.032, allocations: 3.166 MB / 0.6126 GB, free: 52.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/2.033, allocations: 257.1 kB / 0.6129 GB, free: 52.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/2.033, allocations: 78.5 kB / 0.6129 GB, free: 52.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 9.548e-06/2.033, allocations: 0 / 0.6129 GB, free: 52.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.03173/2.065, allocations: 9.572 MB / 0.6223 GB, free: 42.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/2.065, allocations: 121.1 kB / 0.6224 GB, free: 42.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008331/2.074, allocations: 3.156 MB / 0.6255 GB, free: 39.13 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001497/2.075, allocations: 97.7 kB / 0.6256 GB, free: 39.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003412/2.079, allocations: 3.69 MB / 0.6292 GB, free: 35.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003111/2.082, allocations: 1.392 MB / 0.6305 GB, free: 33.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006004/2.088, allocations: 1.128 MB / 0.6316 GB, free: 32.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/2.088, allocations: 301.1 kB / 0.6319 GB, free: 32.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007874/2.096, allocations: 2.838 MB / 0.6347 GB, free: 29.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009567/2.106, allocations: 4.896 MB / 0.6395 GB, free: 23.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/2.122, allocations: 8.263 MB / 0.6475 GB, free: 14.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001687/2.122, allocations: 20 kB / 0.6476 GB, free: 14.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02656/2.149, allocations: 9.108 MB / 0.6565 GB, free: 5.477 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/2.149, allocations: 36.66 kB / 0.6565 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001746/2.149, allocations: 68 kB / 0.6566 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/2.153, allocations: 1.146 MB / 0.6577 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00735/2.161, allocations: 1.291 MB / 0.6589 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/2.184, allocations: 10.81 MB / 0.6695 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008166/2.192, allocations: 0.7318 MB / 0.6702 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/2.194, allocations: 276 kB / 0.6705 GB, free: 6.84 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.01119/2.205, allocations: 3.423 MB / 0.6738 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/2.207, allocations: 351.7 kB / 0.6742 GB, free: 3.055 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01834/2.225, allocations: 6.905 MB / 0.6809 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01515/2.24, allocations: 5.733 MB / 0.6865 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-05/2.24, allocations: 12 kB / 0.6865 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001165/2.241, allocations: 19.92 kB / 0.6865 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04387/2.285, allocations: 15.24 MB / 0.7014 GB, free: 6.93 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.047e-05/2.285, allocations: 16 kB / 0.7014 GB, free: 6.914 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004841/2.289, allocations: 0.7879 MB / 0.7022 GB, free: 6.125 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00456/2.294, allocations: 1.048 MB / 0.7032 GB, free: 5.07 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008169/2.295, allocations: 116 kB / 0.7033 GB, free: 4.957 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/2.315, allocations: 10.57 MB / 0.7136 GB, free: 10.11 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-05/2.315, allocations: 19.88 kB / 0.7137 GB, free: 10.09 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02343/2.339, allocations: 10.68 MB / 0.7241 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003635/2.343, allocations: 0.9874 MB / 0.7251 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009323/2.344, allocations: 99.92 kB / 0.7252 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/2.347, allocations: 275.8 kB / 0.7254 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000931/2.348, allocations: 339.2 kB / 0.7257 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004224/2.348, allocations: 144 kB / 0.7259 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004505/2.353, allocations: 2.125 MB / 0.728 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/2.353, allocations: 0 / 0.728 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009148/2.362, allocations: 2.223 MB / 0.7301 GB, free: 8.949 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.001066/2.363, allocations: 296 kB / 0.7304 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01741/2.381, allocations: 7.45 MB / 0.7377 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.016e-05/2.381, allocations: 0 / 0.7377 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.4503/2.831, allocations: 3.655 MB / 0.7412 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008559/2.84, allocations: 0.7981 MB / 0.742 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05006/2.89, allocations: 15.71 MB / 0.7574 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01403/2.904, allocations: 5.754 MB / 0.763 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002897/2.907, allocations: 369.2 kB / 0.7633 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of SimCode: time 2.564e-06/2.907, allocations: 0 / 0.7633 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of Templates: time 1.398/4.305, allocations: 195.9 MB / 0.9546 GB, free: 180.1 MB / 0.5451 GB 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 -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