Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001074/0.001074, allocations: 94.94 kB / 16.94 MB, free: 6.441 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.001362/0.001362, allocations: 184.4 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004701, allocations: 16 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1122, allocations: 47.58 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01463/0.1269, allocations: 13.21 MB / 341.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1375, allocations: 4.396 MB / 345.9 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/0.1408, allocations: 103.7 kB / 346 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003848/0.1446, allocations: 0.9055 MB / 347 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006647/0.1513, allocations: 1.539 MB / 348.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.1555, allocations: 1.278 MB / 349.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01492/0.1704, allocations: 9.114 MB / 358.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03266/0.2032, allocations: 17.19 MB / 376.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006466/0.2097, allocations: 3.575 MB / 379.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2062/0.4159, allocations: 3.913 MB / 383.6 MB, free: 23.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004165/0.4202, allocations: 0.5648 MB / 384.1 MB, free: 23.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006205/0.4264, allocations: 0.7897 MB / 384.9 MB, free: 23.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004582/0.431, allocations: 1.711 MB / 386.6 MB, free: 23.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005714/0.4367, allocations: 1.77 MB / 388.4 MB, free: 23.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01829/0.4551, allocations: 15.22 MB / 403.6 MB, free: 17.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4551, allocations: 0 / 403.6 MB, free: 17.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.4551, allocations: 2.125 kB / 403.6 MB, free: 17.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007233/0.4559, allocations: 6.125 kB / 403.6 MB, free: 17.31 MB / 318.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.03323/0.4891, allocations: 10.31 MB / 413.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.4892, allocations: 7.625 kB / 413.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0351/0.5243, allocations: 6.267 MB / 420.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.5377, allocations: 5.105 MB / 425.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007523/0.5385, allocations: 0.6672 MB / 426 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003769/0.5423, allocations: 0.8696 MB / 426.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04488/0.5872, allocations: 14.6 MB / 441.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000518/0.5878, allocations: 11.91 kB / 441.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004542/0.5923, allocations: 372.8 kB / 441.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006443/0.593, allocations: 0.4914 MB / 442.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03359/0.6266, allocations: 13.48 MB / 455.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09171/0.7184, allocations: 44.71 MB / 0.4888 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.7315, allocations: 11.68 MB / 0.5002 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005175/0.732, allocations: 185.5 kB / 0.5004 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.279e-05/0.7321, allocations: 86.22 kB / 0.5004 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=421): time 6.613e-06/0.7321, allocations: 0 / 0.5004 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of matching and sorting (n=421): time 0.02147/0.7536, allocations: 10.3 MB / 0.5105 GB, free: 6.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/0.7537, allocations: 121.1 kB / 0.5106 GB, free: 5.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005205/0.759, allocations: 3.132 MB / 0.5137 GB, free: 2.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008353/0.7598, allocations: 93.7 kB / 0.5138 GB, free: 2.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003053/0.7629, allocations: 3.678 MB / 0.5174 GB, free: 14.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00217/0.7651, allocations: 1.434 MB / 0.5188 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004657/0.7655, allocations: 112 kB / 0.5189 GB, free: 13.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003921/0.7659, allocations: 0.5533 MB / 0.5194 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004537/0.7705, allocations: 2.908 MB / 0.5222 GB, free: 9.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00574/0.7762, allocations: 4.944 MB / 0.5271 GB, free: 4.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006492/0.7827, allocations: 4.031 MB / 0.531 GB, free: 140 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.676e-05/0.7828, allocations: 18.62 kB / 0.531 GB, free: 124 kB / 430.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.225/1.008, allocations: 9.208 MB / 0.54 GB, free: 132.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.792e-05/1.008, allocations: 32.44 kB / 0.54 GB, free: 132.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.008, allocations: 67.2 kB / 0.5401 GB, free: 132.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003344/1.012, allocations: 1.105 MB / 0.5412 GB, free: 132 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005284/1.017, allocations: 1.303 MB / 0.5425 GB, free: 131.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/1.029, allocations: 10.06 MB / 0.5523 GB, free: 126.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006031/1.035, allocations: 0.7401 MB / 0.553 GB, free: 125.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/1.036, allocations: 275.9 kB / 0.5533 GB, free: 125.8 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007075/1.043, allocations: 3.432 MB / 0.5566 GB, free: 124.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009663/1.044, allocations: 347.2 kB / 0.557 GB, free: 124 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.054, allocations: 7.058 MB / 0.5639 GB, free: 121.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007535/1.062, allocations: 5.85 MB / 0.5696 GB, free: 116.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/1.062, allocations: 16 kB / 0.5696 GB, free: 116.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.455e-05/1.062, allocations: 27.16 kB / 0.5696 GB, free: 116.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02238/1.085, allocations: 15.11 MB / 0.5844 GB, free: 103.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/1.085, allocations: 8 kB / 0.5844 GB, free: 103.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.087, allocations: 0.7678 MB / 0.5851 GB, free: 102.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/1.09, allocations: 1.028 MB / 0.5861 GB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003652/1.09, allocations: 95.98 kB / 0.5862 GB, free: 101.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/1.101, allocations: 9.938 MB / 0.5959 GB, free: 90.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.101, allocations: 16.88 kB / 0.5959 GB, free: 90.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.115, allocations: 11.14 MB / 0.6068 GB, free: 79.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003806/1.119, allocations: 0.9834 MB / 0.6078 GB, free: 78.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.12, allocations: 83.98 kB / 0.6079 GB, free: 78.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00241/1.122, allocations: 271.8 kB / 0.6081 GB, free: 78.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005499/1.123, allocations: 327.3 kB / 0.6084 GB, free: 77.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/1.123, allocations: 128 kB / 0.6085 GB, free: 77.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00315/1.126, allocations: 2.097 MB / 0.6106 GB, free: 75.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.126, allocations: 0 / 0.6106 GB, free: 75.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006631/1.133, allocations: 2.237 MB / 0.6128 GB, free: 73.26 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (401): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007629/1.134, allocations: 279.9 kB / 0.613 GB, free: 72.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01078/1.145, allocations: 7.536 MB / 0.6204 GB, free: 65.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.145, allocations: 0 / 0.6204 GB, free: 65.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00546/1.15, allocations: 3.664 MB / 0.624 GB, free: 61.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/1.154, allocations: 0.6726 MB / 0.6246 GB, free: 61.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/1.183, allocations: 18.92 MB / 0.6431 GB, free: 42.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007965/1.191, allocations: 6.063 MB / 0.649 GB, free: 35.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00579/1.197, allocations: 2.13 MB / 0.6511 GB, free: 33.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008797/1.198, allocations: 319.4 kB / 0.6514 GB, free: 33.48 MB / 430.1 MB Notification: Performance of SimCode: time 1.613e-06/1.198, allocations: 0 / 0.6514 GB, free: 33.48 MB / 430.1 MB Notification: Performance of Templates: time 0.2971/1.495, allocations: 56.82 MB / 0.7069 GB, free: 132.4 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches