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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_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.001663/0.001663, allocations: 112.6 kB / 17.06 MB, free: 6.016 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.001885/0.001885, allocations: 191.9 kB / 18 MB, free: 5.098 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 39.94 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2883, allocations: 49.44 MB / 400.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01915/0.3074, allocations: 16.59 MB / 416.8 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.319, allocations: 4.638 MB / 421.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003678/0.3227, allocations: 135.6 kB / 421.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01684/0.3395, allocations: 7.18 MB / 428.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007647/0.3472, allocations: 1.997 MB / 430.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004724/0.3519, allocations: 1.519 MB / 432.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.3641, allocations: 9.414 MB / 441.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03463/0.3987, allocations: 20.83 MB / 462.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009604/0.4084, allocations: 5.249 MB / 467.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009851/0.4183, allocations: 5.868 MB / 473.7 MB, free: 15.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004236/0.4226, allocations: 1.359 MB / 475 MB, free: 13.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005661/0.4283, allocations: 1.644 MB / 476.7 MB, free: 12.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004852/0.4331, allocations: 2.794 MB / 479.5 MB, free: 9.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01059/0.4438, allocations: 5.358 MB / 484.8 MB, free: 3.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02377/0.4676, allocations: 18.39 MB / 0.4914 GB, free: 1.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4676, allocations: 0 / 0.4914 GB, free: 1.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4676, allocations: 4 kB / 0.4914 GB, free: 1.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006176/0.4683, allocations: 0 / 0.4914 GB, free: 1.414 MB / 414.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.04004/0.5083, allocations: 12.32 MB / 0.5035 GB, free: 4.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.5084, allocations: 12.03 kB / 0.5035 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00557/0.514, allocations: 1.517 MB / 0.505 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03568/0.5497, allocations: 6.288 MB / 0.5111 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.5644, allocations: 5.836 MB / 0.5168 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008173/0.5653, allocations: 0.6665 MB / 0.5174 GB, free: 6.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004215/0.5695, allocations: 0.8789 MB / 0.5183 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04144/0.611, allocations: 14.72 MB / 0.5327 GB, free: 6.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000494/0.6115, allocations: 11.94 kB / 0.5327 GB, free: 6.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003479/0.615, allocations: 379.9 kB / 0.533 GB, free: 6.559 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00062/0.6157, allocations: 495.3 kB / 0.5335 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4507/1.066, allocations: 13.53 MB / 0.5467 GB, free: 115.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07229/1.139, allocations: 44.22 MB / 0.5899 GB, free: 80.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/1.15, allocations: 11.65 MB / 0.6013 GB, free: 68.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004337/1.154, allocations: 3.167 MB / 0.6044 GB, free: 64.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005077/1.155, allocations: 176.4 kB / 0.6046 GB, free: 64.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.658e-05/1.155, allocations: 81.78 kB / 0.6046 GB, free: 64.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 1.017e-05/1.155, allocations: 0 / 0.6046 GB, free: 64.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.02017/1.175, allocations: 9.591 MB / 0.614 GB, free: 54.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/1.175, allocations: 125 kB / 0.6141 GB, free: 54.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005164/1.18, allocations: 3.156 MB / 0.6172 GB, free: 51.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005928/1.181, allocations: 97.7 kB / 0.6173 GB, free: 51.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002195/1.183, allocations: 3.833 MB / 0.621 GB, free: 48.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.185, allocations: 1.459 MB / 0.6225 GB, free: 46.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002807/1.188, allocations: 1.136 MB / 0.6236 GB, free: 45.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.653e-05/1.188, allocations: 305.1 kB / 0.6239 GB, free: 45.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003983/1.192, allocations: 2.839 MB / 0.6266 GB, free: 42.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004974/1.197, allocations: 4.894 MB / 0.6314 GB, free: 36.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00899/1.206, allocations: 8.259 MB / 0.6395 GB, free: 27.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-05/1.206, allocations: 20 kB / 0.6395 GB, free: 27.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01549/1.221, allocations: 9.12 MB / 0.6484 GB, free: 18.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.44e-05/1.221, allocations: 40.03 kB / 0.6484 GB, free: 18.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/1.221, allocations: 67.98 kB / 0.6485 GB, free: 18.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/1.225, allocations: 1.142 MB / 0.6496 GB, free: 17.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004793/1.23, allocations: 1.295 MB / 0.6509 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/1.243, allocations: 10.81 MB / 0.6614 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005122/1.248, allocations: 0.7609 MB / 0.6622 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/1.249, allocations: 280 kB / 0.6625 GB, free: 3.656 MB / 462.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.006495/1.256, allocations: 3.423 MB / 0.6658 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/1.257, allocations: 361.8 kB / 0.6661 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/1.271, allocations: 6.913 MB / 0.6729 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009837/1.281, allocations: 5.741 MB / 0.6785 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.991e-05/1.281, allocations: 11.94 kB / 0.6785 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-05/1.281, allocations: 23.92 kB / 0.6785 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03293/1.314, allocations: 15.24 MB / 0.6934 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-05/1.314, allocations: 16 kB / 0.6934 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003395/1.317, allocations: 0.784 MB / 0.6942 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/1.321, allocations: 1.064 MB / 0.6952 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008181/1.322, allocations: 112 kB / 0.6953 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/1.337, allocations: 10.57 MB / 0.7057 GB, free: 6.902 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-05/1.337, allocations: 20.06 kB / 0.7057 GB, free: 6.883 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/1.357, allocations: 10.7 MB / 0.7161 GB, free: 11.94 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003206/1.361, allocations: 1.009 MB / 0.7171 GB, free: 10.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/1.362, allocations: 95.98 kB / 0.7172 GB, free: 10.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003578/1.366, allocations: 275.8 kB / 0.7175 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/1.367, allocations: 343.2 kB / 0.7178 GB, free: 10.21 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007508/1.368, allocations: 136 kB / 0.7179 GB, free: 10.08 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004789/1.373, allocations: 2.125 MB / 0.72 GB, free: 7.949 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.71e-07/1.373, allocations: 0 / 0.72 GB, free: 7.949 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009214/1.382, allocations: 2.255 MB / 0.7222 GB, free: 5.688 MB / 0.5138 GB 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.02057/1.403, allocations: 11.46 MB / 0.7334 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01518/1.418, allocations: 7.467 MB / 0.7407 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.951e-05/1.418, allocations: 0 / 0.7407 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.26/1.678, allocations: 3.651 MB / 0.7443 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005565/1.684, allocations: 0.808 MB / 0.745 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0749/1.758, allocations: 51.89 MB / 0.7957 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006445/1.765, allocations: 5.926 MB / 0.8015 GB, free: 146 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004754/1.77, allocations: 2.165 MB / 0.8036 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003899/1.774, allocations: 3.006 MB / 0.8066 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/1.774, allocations: 0 / 0.8066 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1537/1.927, allocations: 113.9 MB / 0.9178 GB, free: 27.39 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/19.54, allocations: 12.25 kB / 0.9178 GB, free: 27.38 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > 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.csv","/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