Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 109 kB / 17.28 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 56.58 kB / 300.8 MB, free: 6.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09771, allocations: 49.45 MB / 350.3 MB, free: 4.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01619/0.1139, allocations: 16.31 MB / 366.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.173/0.287, allocations: 4.575 MB / 371.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/0.2904, allocations: 127.3 kB / 371.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01438/0.3048, allocations: 6.806 MB / 378.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00632/0.3112, allocations: 1.787 MB / 379.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.315, allocations: 1.429 MB / 381.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01164/0.3267, allocations: 9.373 MB / 390.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03456/0.3613, allocations: 24.48 MB / 415.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009789/0.3711, allocations: 5.295 MB / 420.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009831/0.381, allocations: 5.95 MB / 426.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004393/0.3854, allocations: 1.359 MB / 427.7 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006589/0.392, allocations: 1.65 MB / 429.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005345/0.3974, allocations: 2.805 MB / 432.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.4093, allocations: 5.364 MB / 437.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.4272, allocations: 15.93 MB / 453.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.4273, allocations: 4 kB / 453.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4273, allocations: 4 kB / 453.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006382/0.4279, allocations: 0 / 453.5 MB, free: 13.08 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.03927/0.4672, allocations: 12.22 MB / 465.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4673, allocations: 8.031 kB / 465.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03414/0.5014, allocations: 6.179 MB / 471.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/0.5152, allocations: 5.636 MB / 477.5 MB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008824/0.5162, allocations: 0.6786 MB / 478.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004202/0.5204, allocations: 0.8728 MB / 479.1 MB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04093/0.5613, allocations: 14.75 MB / 493.8 MB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00027/0.5616, allocations: 11.91 kB / 493.9 MB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001954/0.5636, allocations: 385.2 kB / 494.2 MB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005279/0.5641, allocations: 499.3 kB / 494.7 MB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03162/0.5958, allocations: 13.56 MB / 0.4964 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4875/1.083, allocations: 44.61 MB / 0.5399 GB, free: 118 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/1.095, allocations: 11.71 MB / 0.5514 GB, free: 111.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004859/1.1, allocations: 3.237 MB / 0.5545 GB, free: 111.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/1.101, allocations: 180.1 kB / 0.5547 GB, free: 111.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/1.101, allocations: 82.47 kB / 0.5548 GB, free: 111.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.472e-06/1.101, allocations: 0 / 0.5548 GB, free: 111.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.01789/1.119, allocations: 9.715 MB / 0.5643 GB, free: 110.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/1.119, allocations: 122.3 kB / 0.5644 GB, free: 110.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/1.123, allocations: 3.154 MB / 0.5675 GB, free: 109.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006747/1.123, allocations: 97.02 kB / 0.5676 GB, free: 109.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/1.125, allocations: 3.678 MB / 0.5711 GB, free: 106.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.126, allocations: 1.431 MB / 0.5725 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001517/1.128, allocations: 1.141 MB / 0.5737 GB, free: 104.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.998e-05/1.128, allocations: 301.1 kB / 0.5739 GB, free: 104.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003335/1.131, allocations: 2.909 MB / 0.5768 GB, free: 103.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/1.136, allocations: 4.975 MB / 0.5816 GB, free: 99.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008604/1.145, allocations: 8.413 MB / 0.5899 GB, free: 94.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.159e-05/1.145, allocations: 24.02 kB / 0.5899 GB, free: 94.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01455/1.159, allocations: 9.239 MB / 0.5989 GB, free: 89.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/1.159, allocations: 34.03 kB / 0.5989 GB, free: 89.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/1.159, allocations: 65.08 kB / 0.599 GB, free: 89.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/1.162, allocations: 1.129 MB / 0.6001 GB, free: 88.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004552/1.167, allocations: 1.295 MB / 0.6014 GB, free: 87.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/1.179, allocations: 10.73 MB / 0.6118 GB, free: 76.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/1.183, allocations: 0.7433 MB / 0.6126 GB, free: 75.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008725/1.184, allocations: 276 kB / 0.6128 GB, free: 75.29 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005559/1.19, allocations: 3.427 MB / 0.6162 GB, free: 71.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007226/1.191, allocations: 347.6 kB / 0.6165 GB, free: 71.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009713/1.2, allocations: 7.05 MB / 0.6234 GB, free: 64.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007296/1.208, allocations: 5.87 MB / 0.6291 GB, free: 58.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-05/1.208, allocations: 12 kB / 0.6291 GB, free: 58.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/1.208, allocations: 19.92 kB / 0.6292 GB, free: 58.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02434/1.232, allocations: 15.56 MB / 0.6444 GB, free: 42.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/1.232, allocations: 12 kB / 0.6444 GB, free: 42.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002753/1.235, allocations: 0.784 MB / 0.6451 GB, free: 41.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002683/1.238, allocations: 1.048 MB / 0.6462 GB, free: 40.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000384/1.238, allocations: 111.9 kB / 0.6463 GB, free: 40.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/1.249, allocations: 10.48 MB / 0.6565 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.249, allocations: 19.94 kB / 0.6565 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.263, allocations: 10.94 MB / 0.6672 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00295/1.266, allocations: 0.9913 MB / 0.6682 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000639/1.267, allocations: 111.9 kB / 0.6683 GB, free: 17.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/1.269, allocations: 267.7 kB / 0.6685 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000658/1.269, allocations: 347.3 kB / 0.6689 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/1.27, allocations: 147.9 kB / 0.669 GB, free: 16.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002607/1.272, allocations: 2.121 MB / 0.6711 GB, free: 14.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.272, allocations: 0 / 0.6711 GB, free: 14.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006594/1.279, allocations: 2.235 MB / 0.6733 GB, free: 12.61 MB / 446.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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.0008146/1.28, allocations: 300.6 kB / 0.6735 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01961/1.299, allocations: 11.65 MB / 0.6849 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/1.299, allocations: 0.9375 kB / 0.6849 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006956/1.306, allocations: 3.728 MB / 0.6886 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004661/1.311, allocations: 0.7962 MB / 0.6893 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2703/1.581, allocations: 19.72 MB / 0.7086 GB, free: 132.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008845/1.59, allocations: 5.76 MB / 0.7142 GB, free: 132 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/1.592, allocations: 365.7 kB / 0.7146 GB, free: 132 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/1.592, allocations: 0 / 0.7146 GB, free: 132 MB / 462.1 MB Notification: Performance of Templates: time 0.4326/2.025, allocations: 194.8 MB / 0.9048 GB, free: 141.3 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches