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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001303, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001772/0.001773, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002217/0.002217, allocations: 47.92 kB / 280.8 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.15, allocations: 46.63 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0342/0.1843, allocations: 16.53 MB / 343.9 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.2033, allocations: 4.646 MB / 348.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004291/0.2076, allocations: 111.7 kB / 348.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02747/0.2352, allocations: 7.165 MB / 355.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.2459, allocations: 1.869 MB / 357.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007479/0.2534, allocations: 1.628 MB / 359.3 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0194/0.2728, allocations: 9.33 MB / 368.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2874/0.5603, allocations: 20.92 MB / 389.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01223/0.5725, allocations: 5.226 MB / 394.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01292/0.5855, allocations: 5.901 MB / 400.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00635/0.5919, allocations: 1.364 MB / 402.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007811/0.5998, allocations: 1.638 MB / 403.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007121/0.6069, allocations: 2.791 MB / 406.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01119/0.6182, allocations: 5.362 MB / 411.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02538/0.6436, allocations: 18.09 MB / 430 MB, free: 9.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.6437, allocations: 4 kB / 430 MB, free: 9.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6437, allocations: 0 / 430 MB, free: 9.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004948/0.6442, allocations: 0 / 430 MB, free: 9.449 MB / 334.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.05598/0.7002, allocations: 12.18 MB / 442.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.7003, allocations: 8.031 kB / 442.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006877/0.7072, allocations: 1.51 MB / 443.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06429/0.7715, allocations: 6.186 MB / 449.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0179/0.7895, allocations: 5.166 MB / 455 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009972/0.7906, allocations: 0.6734 MB / 455.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004714/0.7953, allocations: 0.8821 MB / 456.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05421/0.8496, allocations: 14.71 MB / 471.3 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005055/0.8501, allocations: 15.66 kB / 471.3 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004245/0.8544, allocations: 375.8 kB / 471.7 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008239/0.8553, allocations: 499.3 kB / 472.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04636/0.9016, allocations: 13.52 MB / 485.7 MB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1261/1.028, allocations: 44.63 MB / 0.5179 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02304/1.051, allocations: 11.66 MB / 0.5293 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009168/1.06, allocations: 3.151 MB / 0.5323 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007734/1.061, allocations: 179.6 kB / 0.5325 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/1.061, allocations: 78.56 kB / 0.5326 GB, free: 4.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 2.041e-05/1.061, allocations: 0 / 0.5326 GB, free: 4.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.4768/1.538, allocations: 9.584 MB / 0.5419 GB, free: 146.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.538, allocations: 125.1 kB / 0.5421 GB, free: 146.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/1.548, allocations: 3.155 MB / 0.5451 GB, free: 145.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009434/1.549, allocations: 92.05 kB / 0.5452 GB, free: 145.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003077/1.552, allocations: 3.698 MB / 0.5488 GB, free: 142.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002271/1.555, allocations: 1.391 MB / 0.5502 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005137/1.56, allocations: 1.126 MB / 0.5513 GB, free: 141.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/1.56, allocations: 306.4 kB / 0.5516 GB, free: 140.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00731/1.567, allocations: 2.838 MB / 0.5544 GB, free: 139.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008799/1.576, allocations: 4.901 MB / 0.5592 GB, free: 136.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/1.591, allocations: 8.259 MB / 0.5672 GB, free: 131 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/1.591, allocations: 18.16 kB / 0.5672 GB, free: 131 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02516/1.616, allocations: 9.097 MB / 0.5761 GB, free: 127.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.617, allocations: 35 kB / 0.5762 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/1.617, allocations: 66.66 kB / 0.5762 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005349/1.622, allocations: 1.162 MB / 0.5774 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007897/1.63, allocations: 1.295 MB / 0.5786 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/1.652, allocations: 10.81 MB / 0.5892 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007379/1.66, allocations: 0.7446 MB / 0.5899 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/1.661, allocations: 271.6 kB / 0.5902 GB, free: 118.7 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 (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.007882/1.669, allocations: 3.425 MB / 0.5935 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.67, allocations: 351.6 kB / 0.5938 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/1.689, allocations: 6.913 MB / 0.6006 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01467/1.703, allocations: 5.739 MB / 0.6062 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.62e-05/1.703, allocations: 12 kB / 0.6062 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.704e-05/1.704, allocations: 19.92 kB / 0.6062 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04004/1.744, allocations: 15.34 MB / 0.6212 GB, free: 87.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.781e-05/1.744, allocations: 12 kB / 0.6212 GB, free: 87.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005324/1.749, allocations: 0.7879 MB / 0.622 GB, free: 86.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00509/1.754, allocations: 1.086 MB / 0.6231 GB, free: 85.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009509/1.755, allocations: 104 kB / 0.6232 GB, free: 85.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/1.776, allocations: 10.57 MB / 0.6335 GB, free: 74.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/1.776, allocations: 27.88 kB / 0.6335 GB, free: 74.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02608/1.802, allocations: 10.67 MB / 0.6439 GB, free: 63.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005432/1.807, allocations: 0.9912 MB / 0.6449 GB, free: 62.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002482/1.81, allocations: 100 kB / 0.645 GB, free: 62.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005175/1.815, allocations: 279.3 kB / 0.6452 GB, free: 62.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/1.817, allocations: 343.2 kB / 0.6456 GB, free: 62.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009301/1.818, allocations: 140 kB / 0.6457 GB, free: 62.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005276/1.823, allocations: 2.129 MB / 0.6478 GB, free: 59.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.92e-07/1.823, allocations: 0 / 0.6478 GB, free: 59.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01159/1.835, allocations: 2.227 MB / 0.65 GB, free: 57.73 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 (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.02879/1.863, allocations: 11.42 MB / 0.6611 GB, free: 46.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03405/1.898, allocations: 11.28 MB / 0.6721 GB, free: 34.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-05/1.898, allocations: 0 / 0.6721 GB, free: 34.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01016/1.908, allocations: 3.648 MB / 0.6757 GB, free: 31.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008904/1.917, allocations: 0.8046 MB / 0.6765 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3971/2.314, allocations: 57.09 MB / 0.7322 GB, free: 124.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01243/2.326, allocations: 5.93 MB / 0.738 GB, free: 122.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01169/2.338, allocations: 2.159 MB / 0.7401 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009052/2.347, allocations: 2.998 MB / 0.7431 GB, free: 119.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.974e-06/2.347, allocations: 0 / 0.7431 GB, free: 119.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3624/2.71, allocations: 114.9 MB / 0.8553 GB, free: 9.805 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.14/21.85, allocations: 12.34 kB / 0.8553 GB, free: 9.793 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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