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.001069/0.001069, allocations: 115 kB / 16.63 MB, free: 6.793 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.001115/0.001115, allocations: 189.8 kB / 17.55 MB, free: 5.918 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.285/1.285, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000905/0.000905, allocations: 50.95 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08539/0.08631, allocations: 49.44 MB / 349.6 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01582/0.1022, allocations: 16.32 MB / 365.9 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1829/0.2851, allocations: 4.57 MB / 370.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/0.2881, allocations: 129.9 kB / 370.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0139/0.302, allocations: 6.799 MB / 377.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005615/0.3077, allocations: 1.792 MB / 379.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.3109, allocations: 1.422 MB / 380.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009971/0.3208, allocations: 9.378 MB / 390 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03164/0.3525, allocations: 24.47 MB / 414.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008299/0.3609, allocations: 5.297 MB / 419.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009308/0.3702, allocations: 5.961 MB / 425.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003575/0.3738, allocations: 1.359 MB / 427.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005059/0.3789, allocations: 1.647 MB / 428.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003151/0.382, allocations: 2.8 MB / 431.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009627/0.3917, allocations: 5.368 MB / 436.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01895/0.4107, allocations: 18.25 MB / 455.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.4107, allocations: 4 kB / 455.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4108, allocations: 0 / 455.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006463/0.4114, allocations: 0 / 455.1 MB, free: 10.8 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.03374/0.4452, allocations: 12.22 MB / 467.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4452, allocations: 16.03 kB / 467.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03498/0.4802, allocations: 6.178 MB / 473.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/0.4923, allocations: 5.64 MB / 479.2 MB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006419/0.493, allocations: 0.6802 MB / 479.9 MB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003296/0.4963, allocations: 0.876 MB / 480.8 MB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03338/0.5297, allocations: 14.75 MB / 495.5 MB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003065/0.5301, allocations: 7.906 kB / 495.5 MB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/0.5325, allocations: 376.8 kB / 495.9 MB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005476/0.533, allocations: 0.4915 MB / 496.4 MB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02803/0.5611, allocations: 13.56 MB / 0.498 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3862/0.9472, allocations: 44.62 MB / 0.5416 GB, free: 117.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.9582, allocations: 11.71 MB / 0.553 GB, free: 110.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004087/0.9624, allocations: 3.234 MB / 0.5561 GB, free: 110.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/0.9627, allocations: 178.7 kB / 0.5563 GB, free: 110.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.9628, allocations: 81.28 kB / 0.5564 GB, free: 110.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.272e-06/0.9628, allocations: 5.219 kB / 0.5564 GB, free: 110.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.01803/0.9808, allocations: 9.719 MB / 0.5659 GB, free: 109.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.9809, allocations: 119.8 kB / 0.566 GB, free: 109.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004283/0.9852, allocations: 3.151 MB / 0.5691 GB, free: 108.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007229/0.986, allocations: 93.08 kB / 0.5692 GB, free: 108.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002151/0.9881, allocations: 3.683 MB / 0.5728 GB, free: 105.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.9893, allocations: 1.439 MB / 0.5742 GB, free: 104.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/0.9908, allocations: 1.127 MB / 0.5753 GB, free: 103.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.9909, allocations: 308.4 kB / 0.5756 GB, free: 103.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003538/0.9944, allocations: 2.902 MB / 0.5784 GB, free: 102.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004181/0.9986, allocations: 4.982 MB / 0.5833 GB, free: 98.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007747/1.006, allocations: 8.404 MB / 0.5915 GB, free: 92.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.507e-05/1.006, allocations: 20.56 kB / 0.5915 GB, free: 92.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01277/1.019, allocations: 9.245 MB / 0.6005 GB, free: 87.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/1.019, allocations: 32 kB / 0.6006 GB, free: 87.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.422e-05/1.019, allocations: 68 kB / 0.6006 GB, free: 87.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/1.022, allocations: 1.123 MB / 0.6017 GB, free: 86.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004149/1.026, allocations: 1.299 MB / 0.603 GB, free: 85.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/1.038, allocations: 10.73 MB / 0.6135 GB, free: 74.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/1.042, allocations: 0.7394 MB / 0.6142 GB, free: 73.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008357/1.043, allocations: 281.8 kB / 0.6145 GB, free: 73.09 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.005292/1.048, allocations: 3.423 MB / 0.6178 GB, free: 69.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00095/1.049, allocations: 347.7 kB / 0.6181 GB, free: 69.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.06, allocations: 7.046 MB / 0.625 GB, free: 62.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007913/1.068, allocations: 5.874 MB / 0.6307 GB, free: 56.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.188e-05/1.068, allocations: 12 kB / 0.6308 GB, free: 56.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.005e-05/1.068, allocations: 19.92 kB / 0.6308 GB, free: 56.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/1.089, allocations: 15.55 MB / 0.646 GB, free: 40.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/1.089, allocations: 20.03 kB / 0.646 GB, free: 40.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/1.092, allocations: 0.784 MB / 0.6467 GB, free: 39.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/1.094, allocations: 1.04 MB / 0.6478 GB, free: 38.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003195/1.095, allocations: 116 kB / 0.6479 GB, free: 38.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/1.106, allocations: 10.49 MB / 0.6581 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/1.106, allocations: 27.86 kB / 0.6581 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.119, allocations: 10.93 MB / 0.6688 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/1.122, allocations: 0.9951 MB / 0.6698 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006655/1.123, allocations: 99.98 kB / 0.6699 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.125, allocations: 271.7 kB / 0.6701 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006151/1.125, allocations: 351.2 kB / 0.6705 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002483/1.126, allocations: 140 kB / 0.6706 GB, free: 14.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00237/1.128, allocations: 2.125 MB / 0.6727 GB, free: 12.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.128, allocations: 0 / 0.6727 GB, free: 12.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006736/1.135, allocations: 2.231 MB / 0.6749 GB, free: 10.41 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.000761/1.136, allocations: 315.2 kB / 0.6752 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01896/1.155, allocations: 11.64 MB / 0.6865 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/1.155, allocations: 3.938 kB / 0.6865 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006254/1.161, allocations: 3.725 MB / 0.6902 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/1.165, allocations: 0.7988 MB / 0.691 GB, free: 9.961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1995/1.364, allocations: 19.96 MB / 0.7105 GB, free: 133.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01101/1.376, allocations: 5.933 MB / 0.7162 GB, free: 132.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005791/1.381, allocations: 2.158 MB / 0.7184 GB, free: 132.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.382, allocations: 321.7 kB / 0.7187 GB, free: 132.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/1.382, allocations: 0 / 0.7187 GB, free: 132.6 MB / 462.1 MB Notification: Performance of Templates: time 0.09265/1.475, allocations: 61.72 MB / 0.7789 GB, free: 89.8 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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