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.001668/0.001668, allocations: 112 kB / 17.05 MB, free: 6.086 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.001559/0.001559, allocations: 188 kB / 17.99 MB, free: 5.184 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.399/1.399, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 43.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3449, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0189/0.3638, allocations: 16.6 MB / 416.8 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.3739, allocations: 4.642 MB / 421.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.3771, allocations: 135.6 kB / 421.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01675/0.3938, allocations: 7.16 MB / 428.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007551/0.4014, allocations: 1.966 MB / 430.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004546/0.406, allocations: 1.534 MB / 432.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01408/0.4201, allocations: 9.411 MB / 441.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03123/0.4513, allocations: 20.84 MB / 462.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008276/0.4597, allocations: 5.233 MB / 467.8 MB, free: 4.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/0.4701, allocations: 5.872 MB / 473.6 MB, free: 15.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004292/0.4744, allocations: 1.359 MB / 475 MB, free: 13.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00575/0.4802, allocations: 1.64 MB / 476.6 MB, free: 12.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004602/0.4848, allocations: 2.802 MB / 479.4 MB, free: 9.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008717/0.4935, allocations: 5.358 MB / 484.8 MB, free: 3.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02141/0.515, allocations: 18.39 MB / 0.4914 GB, free: 1.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.515, allocations: 4 kB / 0.4914 GB, free: 1.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.515, allocations: 0 / 0.4914 GB, free: 1.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004841/0.5155, allocations: 0 / 0.4914 GB, free: 1.461 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.03737/0.5529, allocations: 12.32 MB / 0.5034 GB, free: 5.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.553, allocations: 11.97 kB / 0.5034 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005479/0.5585, allocations: 1.513 MB / 0.5049 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03564/0.5941, allocations: 6.288 MB / 0.511 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.6079, allocations: 5.828 MB / 0.5167 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007796/0.6088, allocations: 0.6743 MB / 0.5174 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003823/0.6126, allocations: 0.8711 MB / 0.5182 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03876/0.6514, allocations: 14.72 MB / 0.5326 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003198/0.6517, allocations: 11.95 kB / 0.5326 GB, free: 6.984 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002469/0.6542, allocations: 376 kB / 0.533 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005865/0.6548, allocations: 0.4953 MB / 0.5335 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4354/1.09, allocations: 13.53 MB / 0.5467 GB, free: 115.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06298/1.153, allocations: 44.22 MB / 0.5899 GB, free: 80.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009504/1.163, allocations: 11.66 MB / 0.6012 GB, free: 68.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003724/1.167, allocations: 3.171 MB / 0.6043 GB, free: 64.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/1.167, allocations: 172.4 kB / 0.6045 GB, free: 64.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/1.167, allocations: 81.88 kB / 0.6046 GB, free: 64.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 5.651e-06/1.167, allocations: 0 / 0.6046 GB, free: 64.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.0176/1.185, allocations: 9.59 MB / 0.6139 GB, free: 55.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/1.185, allocations: 125 kB / 0.6141 GB, free: 54.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003659/1.188, allocations: 3.156 MB / 0.6171 GB, free: 51.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003639/1.189, allocations: 89.7 kB / 0.6172 GB, free: 51.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/1.19, allocations: 3.841 MB / 0.621 GB, free: 48.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008663/1.191, allocations: 1.456 MB / 0.6224 GB, free: 46.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/1.192, allocations: 1.136 MB / 0.6235 GB, free: 45.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/1.193, allocations: 301.1 kB / 0.6238 GB, free: 45.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/1.196, allocations: 2.835 MB / 0.6266 GB, free: 42.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/1.2, allocations: 4.902 MB / 0.6314 GB, free: 36.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007683/1.207, allocations: 8.251 MB / 0.6394 GB, free: 27.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-05/1.207, allocations: 20 kB / 0.6394 GB, free: 27.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01302/1.22, allocations: 9.124 MB / 0.6483 GB, free: 18.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/1.22, allocations: 36 kB / 0.6484 GB, free: 18.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/1.221, allocations: 64 kB / 0.6484 GB, free: 18.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/1.223, allocations: 1.15 MB / 0.6496 GB, free: 17.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004233/1.228, allocations: 1.291 MB / 0.6508 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/1.239, allocations: 10.81 MB / 0.6614 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/1.244, allocations: 0.7646 MB / 0.6621 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008956/1.245, allocations: 276 kB / 0.6624 GB, free: 3.719 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.005253/1.25, allocations: 3.423 MB / 0.6657 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008858/1.251, allocations: 365.6 kB / 0.6661 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.263, allocations: 6.909 MB / 0.6728 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009882/1.273, allocations: 5.737 MB / 0.6784 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.183e-05/1.273, allocations: 8 kB / 0.6784 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-05/1.274, allocations: 31.84 kB / 0.6785 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02938/1.303, allocations: 15.24 MB / 0.6934 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/1.303, allocations: 12 kB / 0.6934 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003209/1.306, allocations: 0.7879 MB / 0.6941 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003361/1.31, allocations: 1.068 MB / 0.6952 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005899/1.31, allocations: 108 kB / 0.6953 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/1.326, allocations: 10.57 MB / 0.7056 GB, free: 6.941 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.535e-05/1.326, allocations: 19.94 kB / 0.7056 GB, free: 6.922 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/1.343, allocations: 10.7 MB / 0.7161 GB, free: 11.99 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002571/1.346, allocations: 1.013 MB / 0.7171 GB, free: 10.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008241/1.347, allocations: 92 kB / 0.7172 GB, free: 10.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/1.349, allocations: 279.7 kB / 0.7174 GB, free: 10.59 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007378/1.35, allocations: 339.2 kB / 0.7177 GB, free: 10.26 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003006/1.35, allocations: 144 kB / 0.7179 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003552/1.354, allocations: 2.121 MB / 0.72 GB, free: 7.992 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.41e-07/1.354, allocations: 4 kB / 0.72 GB, free: 7.988 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00749/1.362, allocations: 2.255 MB / 0.7222 GB, free: 5.727 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.01962/1.381, allocations: 11.45 MB / 0.7333 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01379/1.395, allocations: 7.459 MB / 0.7406 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/1.395, allocations: 0.8125 kB / 0.7406 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2244/1.619, allocations: 3.652 MB / 0.7442 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.005084/1.625, allocations: 0.804 MB / 0.745 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06703/1.692, allocations: 51.89 MB / 0.7957 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006033/1.698, allocations: 5.93 MB / 0.8014 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004507/1.702, allocations: 2.161 MB / 0.8036 GB, free: 144 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002988/1.705, allocations: 3.006 MB / 0.8065 GB, free: 141 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/1.705, allocations: 0 / 0.8065 GB, free: 141 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1519/1.857, allocations: 113.9 MB / 0.9177 GB, free: 27.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/20.06, allocations: 13.83 kB / 0.9177 GB, free: 27.55 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