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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 55.91 kB / 365.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1037, allocations: 52.13 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01938/0.1231, allocations: 16.67 MB / 434.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1341, allocations: 4.661 MB / 439.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003044/0.1371, allocations: 159.2 kB / 439.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2293/0.3664, allocations: 7.214 MB / 446.5 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006384/0.3728, allocations: 1.989 MB / 448.5 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.3765, allocations: 1.538 MB / 450 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.3877, allocations: 9.407 MB / 459.4 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02359/0.4113, allocations: 16.24 MB / 475.7 MB, free: 92 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009313/0.4206, allocations: 5.346 MB / 481 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01205/0.4327, allocations: 5.92 MB / 486.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004506/0.4372, allocations: 1.359 MB / 488.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005975/0.4432, allocations: 1.652 MB / 489.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.4476, allocations: 2.804 MB / 492.7 MB, free: 5.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01172/0.4593, allocations: 5.357 MB / 498.1 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02396/0.4832, allocations: 18.4 MB / 0.5044 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4833, allocations: 0 / 0.5044 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4833, allocations: 0 / 0.5044 GB, free: 14.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005283/0.4838, allocations: 0 / 0.5044 GB, free: 14.84 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.03844/0.5222, allocations: 12.32 MB / 0.5164 GB, free: 2.523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.5223, allocations: 15.78 kB / 0.5164 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005862/0.5281, allocations: 1.511 MB / 0.5179 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03726/0.5654, allocations: 6.283 MB / 0.524 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01463/0.58, allocations: 5.841 MB / 0.5298 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00091/0.5809, allocations: 0.668 MB / 0.5304 GB, free: 4.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004217/0.5852, allocations: 0.8804 MB / 0.5313 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04048/0.6256, allocations: 14.72 MB / 0.5456 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004608/0.6261, allocations: 7.953 kB / 0.5457 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003618/0.6297, allocations: 374.7 kB / 0.546 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006913/0.6304, allocations: 495.3 kB / 0.5465 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/0.6621, allocations: 13.54 MB / 0.5597 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09098/0.753, allocations: 44.23 MB / 0.6029 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/0.7682, allocations: 11.23 MB / 0.6139 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005427/0.7737, allocations: 2.869 MB / 0.6167 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005713/0.7742, allocations: 174 kB / 0.6168 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.918e-05/0.7743, allocations: 82.5 kB / 0.6169 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=409): time 1.091e-05/0.7744, allocations: 0 / 0.6169 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409): time 0.02501/0.7994, allocations: 9.556 MB / 0.6262 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.7995, allocations: 125 kB / 0.6264 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4097/1.209, allocations: 3.16 MB / 0.6294 GB, free: 154 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007618/1.21, allocations: 93.25 kB / 0.6295 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.212, allocations: 3.832 MB / 0.6333 GB, free: 152.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/1.213, allocations: 1.46 MB / 0.6347 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/1.215, allocations: 1.129 MB / 0.6358 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.664e-05/1.215, allocations: 308.4 kB / 0.6361 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004566/1.22, allocations: 2.839 MB / 0.6389 GB, free: 151 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005251/1.225, allocations: 4.897 MB / 0.6437 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.235, allocations: 8.256 MB / 0.6517 GB, free: 142.2 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/1.235, allocations: 19.25 kB / 0.6517 GB, free: 142.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01689/1.252, allocations: 9.081 MB / 0.6606 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/1.252, allocations: 31.66 kB / 0.6606 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.252, allocations: 67.72 kB / 0.6607 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/1.256, allocations: 1.146 MB / 0.6618 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00459/1.26, allocations: 1.291 MB / 0.6631 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/1.274, allocations: 10.83 MB / 0.6737 GB, free: 132.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/1.279, allocations: 0.7476 MB / 0.6744 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/1.28, allocations: 278.9 kB / 0.6747 GB, free: 131.6 MB / 0.5138 GB 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.005638/1.285, allocations: 3.428 MB / 0.678 GB, free: 130 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000924/1.286, allocations: 362.2 kB / 0.6783 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/1.298, allocations: 6.869 MB / 0.6851 GB, free: 127.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008313/1.306, allocations: 5.702 MB / 0.6906 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-05/1.306, allocations: 12 kB / 0.6906 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.712e-05/1.306, allocations: 23.73 kB / 0.6907 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02588/1.332, allocations: 15.2 MB / 0.7055 GB, free: 108 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.463e-05/1.332, allocations: 12.5 kB / 0.7055 GB, free: 108 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/1.335, allocations: 0.788 MB / 0.7063 GB, free: 107.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/1.338, allocations: 1.063 MB / 0.7073 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000513/1.339, allocations: 106.9 kB / 0.7074 GB, free: 106 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/1.351, allocations: 10.59 MB / 0.7178 GB, free: 95.19 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.256e-05/1.351, allocations: 23.88 kB / 0.7178 GB, free: 95.17 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/1.366, allocations: 10.66 MB / 0.7282 GB, free: 84.27 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/1.369, allocations: 1.009 MB / 0.7292 GB, free: 83.24 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009659/1.37, allocations: 95.94 kB / 0.7293 GB, free: 83.15 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.372, allocations: 275.7 kB / 0.7295 GB, free: 82.88 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008167/1.373, allocations: 343.3 kB / 0.7299 GB, free: 82.55 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004194/1.374, allocations: 140 kB / 0.73 GB, free: 82.41 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003508/1.377, allocations: 2.122 MB / 0.7321 GB, free: 80.29 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.3e-07/1.377, allocations: 0 / 0.7321 GB, free: 80.29 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00698/1.384, allocations: 2.258 MB / 0.7343 GB, free: 78.02 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.01484/1.399, allocations: 11.42 MB / 0.7454 GB, free: 66.37 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.011/1.41, allocations: 7.139 MB / 0.7524 GB, free: 59.21 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.1e-05/1.41, allocations: 8 kB / 0.7524 GB, free: 59.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005579/1.415, allocations: 3.404 MB / 0.7557 GB, free: 55.78 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005273/1.421, allocations: 0.8116 MB / 0.7565 GB, free: 55.01 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08262/1.503, allocations: 51.84 MB / 0.8071 GB, free: 0.5117 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01182/1.515, allocations: 5.935 MB / 0.8129 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006765/1.522, allocations: 2.154 MB / 0.815 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006292/1.528, allocations: 3.01 MB / 0.818 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of SimCode: time 1.382e-06/1.528, allocations: 0 / 0.818 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4087/1.937, allocations: 114.9 MB / 0.9302 GB, free: 114 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19/20.93, allocations: 12.58 kB / 0.9302 GB, free: 113.9 MB / 0.545 GB " [Timeout remaining time 639] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.666786290239543]