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.001262/0.001262, allocations: 109.9 kB / 17.17 MB, free: 6.312 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.001305/0.001305, allocations: 191 kB / 18.08 MB, free: 5.41 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.349/1.349, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 58.5 kB / 300.6 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09771/0.09883, allocations: 49.45 MB / 350.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01691/0.1158, allocations: 16.31 MB / 366.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2171/0.3329, allocations: 4.606 MB / 371 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004826/0.3378, allocations: 130.6 kB / 371.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0204/0.3582, allocations: 6.792 MB / 377.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009501/0.3677, allocations: 1.813 MB / 379.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005413/0.3732, allocations: 1.439 MB / 381.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01337/0.3866, allocations: 9.496 MB / 390.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02974/0.4163, allocations: 17.63 MB / 408.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008725/0.4251, allocations: 4.667 MB / 413 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009886/0.435, allocations: 5.723 MB / 418.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00401/0.4391, allocations: 1.004 MB / 419.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005965/0.4451, allocations: 1.29 MB / 421 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004016/0.4491, allocations: 2.424 MB / 423.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01132/0.4604, allocations: 4.972 MB / 428.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01828/0.4787, allocations: 15.85 MB / 444.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4788, allocations: 0 / 444.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4788, allocations: 3.938 kB / 444.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005656/0.4794, allocations: 0 / 444.2 MB, free: 5.289 MB / 350.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.03889/0.5183, allocations: 12.21 MB / 456.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.5184, allocations: 8.031 kB / 456.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03605/0.5544, allocations: 6.191 MB / 462.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/0.5688, allocations: 5.635 MB / 468.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000888/0.5697, allocations: 0.6745 MB / 468.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004621/0.5743, allocations: 0.88 MB / 469.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04241/0.6168, allocations: 14.75 MB / 484.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004353/0.6172, allocations: 11.91 kB / 484.6 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003114/0.6204, allocations: 372.8 kB / 484.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005624/0.621, allocations: 499.3 kB / 485.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03024/0.6512, allocations: 13.56 MB / 499 MB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08589/0.7372, allocations: 44.62 MB / 0.5309 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.364/1.101, allocations: 11.71 MB / 0.5423 GB, free: 125.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006408/1.108, allocations: 3.231 MB / 0.5455 GB, free: 124.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/1.108, allocations: 181.2 kB / 0.5456 GB, free: 124.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/1.108, allocations: 81.91 kB / 0.5457 GB, free: 124.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.963e-06/1.108, allocations: 3.938 kB / 0.5457 GB, free: 124.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02339/1.132, allocations: 9.718 MB / 0.5552 GB, free: 121.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.132, allocations: 123.8 kB / 0.5553 GB, free: 121 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007574/1.139, allocations: 3.156 MB / 0.5584 GB, free: 120 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001144/1.141, allocations: 89.61 kB / 0.5585 GB, free: 119.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003008/1.144, allocations: 3.677 MB / 0.5621 GB, free: 117.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002348/1.146, allocations: 1.435 MB / 0.5635 GB, free: 116.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004006/1.15, allocations: 1.137 MB / 0.5646 GB, free: 115.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/1.15, allocations: 301.9 kB / 0.5649 GB, free: 115.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00653/1.157, allocations: 2.907 MB / 0.5677 GB, free: 114.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00858/1.165, allocations: 4.978 MB / 0.5726 GB, free: 110.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/1.18, allocations: 8.403 MB / 0.5808 GB, free: 105.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/1.181, allocations: 19.47 kB / 0.5808 GB, free: 105.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.02204/1.203, allocations: 9.243 MB / 0.5898 GB, free: 99.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/1.203, allocations: 36 kB / 0.5899 GB, free: 99.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/1.203, allocations: 64 kB / 0.5899 GB, free: 99.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004717/1.208, allocations: 1.116 MB / 0.591 GB, free: 98.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007579/1.215, allocations: 1.291 MB / 0.5923 GB, free: 97.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/1.233, allocations: 9.94 MB / 0.602 GB, free: 87.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006746/1.24, allocations: 0.7395 MB / 0.6027 GB, free: 86.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/1.242, allocations: 280 kB / 0.603 GB, free: 85.99 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.007933/1.25, allocations: 3.423 MB / 0.6063 GB, free: 82.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001667/1.251, allocations: 348.6 kB / 0.6066 GB, free: 82.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/1.266, allocations: 7.046 MB / 0.6135 GB, free: 75.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01091/1.277, allocations: 5.866 MB / 0.6193 GB, free: 69.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.608e-05/1.277, allocations: 12 kB / 0.6193 GB, free: 69.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/1.277, allocations: 19.92 kB / 0.6193 GB, free: 69.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03391/1.311, allocations: 15.55 MB / 0.6345 GB, free: 53.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.374e-05/1.311, allocations: 12 kB / 0.6345 GB, free: 53.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/1.315, allocations: 0.7955 MB / 0.6353 GB, free: 52.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003157/1.318, allocations: 1.04 MB / 0.6363 GB, free: 51.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/1.319, allocations: 104 kB / 0.6364 GB, free: 51.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/1.332, allocations: 9.685 MB / 0.6458 GB, free: 41.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/1.332, allocations: 23.66 kB / 0.6459 GB, free: 41.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/1.35, allocations: 10.94 MB / 0.6565 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002598/1.353, allocations: 0.999 MB / 0.6575 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/1.354, allocations: 99.94 kB / 0.6576 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.357, allocations: 275.8 kB / 0.6579 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009507/1.358, allocations: 347.2 kB / 0.6582 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004657/1.359, allocations: 144.9 kB / 0.6583 GB, free: 28.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003802/1.362, allocations: 2.125 MB / 0.6604 GB, free: 26.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.362, allocations: 4 kB / 0.6604 GB, free: 26.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007634/1.37, allocations: 2.226 MB / 0.6626 GB, free: 24.14 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.001245/1.371, allocations: 302.2 kB / 0.6629 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01249/1.384, allocations: 7.568 MB / 0.6703 GB, free: 16.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/1.384, allocations: 8.062 kB / 0.6703 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006308/1.39, allocations: 3.725 MB / 0.6739 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005995/1.396, allocations: 0.7641 MB / 0.6747 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/1.43, allocations: 19.71 MB / 0.6939 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008551/1.438, allocations: 5.757 MB / 0.6995 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002096/1.441, allocations: 359.4 kB / 0.6999 GB, free: 1.688 MB / 462.1 MB Notification: Performance of SimCode: time 1.512e-06/1.441, allocations: 0 / 0.6999 GB, free: 1.688 MB / 462.1 MB Notification: Performance of Templates: time 0.6216/2.062, allocations: 194.8 MB / 0.8902 GB, free: 136.9 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