Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008673/0.0008673, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8616/0.8616, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 3.938 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.116e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01092/0.01094, allocations: 14.33 MB / 338.9 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008575/0.01951, allocations: 4.564 MB / 343.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002733/0.02225, allocations: 155.2 kB / 343.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007441/0.02969, allocations: 7.075 MB / 350.7 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004521/0.03421, allocations: 2.038 MB / 352.7 MB, free: 3.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.03662, allocations: 1.507 MB / 354.3 MB, free: 2.148 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008921/0.04554, allocations: 9.934 MB / 364.2 MB, free: 8.172 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01763/0.06316, allocations: 13.49 MB / 377.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008352/0.07152, allocations: 7.746 MB / 385.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006447/0.07796, allocations: 5.255 MB / 390.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003002/0.08096, allocations: 1.359 MB / 392 MB, free: 12.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.08533, allocations: 1.671 MB / 393.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003611/0.08894, allocations: 2.852 MB / 396.6 MB, free: 7.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0063/0.09524, allocations: 3.606 MB / 400.2 MB, free: 4.008 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.1107, allocations: 18.65 MB / 418.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1107, allocations: 3.938 kB / 418.8 MB, free: 1.301 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1107, allocations: 4 kB / 418.8 MB, free: 1.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005088/0.1112, allocations: 3.938 kB / 418.8 MB, free: 1.293 MB / 378.7 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.0271/0.1383, allocations: 12.15 MB / 431 MB, free: 5.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1384, allocations: 8.031 kB / 431 MB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003742/0.1421, allocations: 1.521 MB / 432.5 MB, free: 3.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01938/0.1615, allocations: 6.195 MB / 438.7 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.1723, allocations: 5.928 MB / 444.6 MB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004984/0.1728, allocations: 0.6704 MB / 445.3 MB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002978/0.1758, allocations: 0.871 MB / 446.2 MB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.292/0.4677, allocations: 14.98 MB / 461.2 MB, free: 96.49 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.4679, allocations: 6.875 kB / 461.2 MB, free: 96.49 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/0.4693, allocations: 374.3 kB / 461.5 MB, free: 96.21 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003357/0.4696, allocations: 498.7 kB / 462 MB, free: 96.16 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.4862, allocations: 13.51 MB / 475.5 MB, free: 88.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04831/0.5345, allocations: 40.09 MB / 0.5036 GB, free: 48.4 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00592/0.5404, allocations: 5.966 MB / 0.5094 GB, free: 42.64 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/0.5429, allocations: 2.871 MB / 0.5122 GB, free: 39.78 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.5432, allocations: 115.9 kB / 0.5123 GB, free: 39.66 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.5432, allocations: 74.5 kB / 0.5124 GB, free: 39.58 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 5.45e-06/0.5432, allocations: 0 / 0.5124 GB, free: 39.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.01257/0.5558, allocations: 9.431 MB / 0.5216 GB, free: 30.16 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.5558, allocations: 125.1 kB / 0.5217 GB, free: 30.02 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/0.5596, allocations: 3.279 MB / 0.5249 GB, free: 26.82 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002831/0.5598, allocations: 93.7 kB / 0.525 GB, free: 26.72 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.561, allocations: 3.817 MB / 0.5287 GB, free: 23.32 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007217/0.5617, allocations: 1.44 MB / 0.5301 GB, free: 21.9 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/0.5629, allocations: 1.136 MB / 0.5312 GB, free: 20.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.952e-05/0.5629, allocations: 309.1 kB / 0.5315 GB, free: 20.45 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.5655, allocations: 2.838 MB / 0.5343 GB, free: 17.6 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/0.5686, allocations: 4.908 MB / 0.5391 GB, free: 11.75 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006659/0.5753, allocations: 8.278 MB / 0.5472 GB, free: 2.535 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-05/0.5754, allocations: 20 kB / 0.5472 GB, free: 2.516 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01215/0.5875, allocations: 9.115 MB / 0.5561 GB, free: 9.387 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.5876, allocations: 32 kB / 0.5561 GB, free: 9.355 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.669e-05/0.5877, allocations: 68 kB / 0.5562 GB, free: 9.289 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/0.5898, allocations: 1.148 MB / 0.5573 GB, free: 8.133 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/0.5925, allocations: 1.299 MB / 0.5586 GB, free: 6.832 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.6027, allocations: 10.44 MB / 0.5688 GB, free: 12.16 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/0.6061, allocations: 0.7452 MB / 0.5695 GB, free: 11.41 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000811/0.6069, allocations: 284 kB / 0.5698 GB, free: 11.14 MB / 442.8 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.005414/0.6123, allocations: 3.427 MB / 0.5731 GB, free: 7.695 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006347/0.6129, allocations: 361.7 kB / 0.5735 GB, free: 7.34 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008213/0.6211, allocations: 6.882 MB / 0.5802 GB, free: 444 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00632/0.6275, allocations: 5.733 MB / 0.5858 GB, free: 10.69 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-05/0.6275, allocations: 12 kB / 0.5858 GB, free: 10.68 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/0.6275, allocations: 19.92 kB / 0.5858 GB, free: 10.66 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02196/0.6495, allocations: 14.75 MB / 0.6002 GB, free: 11.76 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.6495, allocations: 16 kB / 0.6002 GB, free: 11.75 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.6512, allocations: 0.7918 MB / 0.601 GB, free: 10.95 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.6531, allocations: 1.063 MB / 0.602 GB, free: 9.883 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/0.6534, allocations: 120 kB / 0.6022 GB, free: 9.766 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.6635, allocations: 10.21 MB / 0.6121 GB, free: 15.33 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.6635, allocations: 19.94 kB / 0.6121 GB, free: 15.31 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.6762, allocations: 10.67 MB / 0.6226 GB, free: 4.402 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/0.678, allocations: 0.9649 MB / 0.6235 GB, free: 3.434 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/0.6785, allocations: 95.98 kB / 0.6236 GB, free: 3.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.6798, allocations: 267.7 kB / 0.6239 GB, free: 3.078 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/0.6803, allocations: 363 kB / 0.6242 GB, free: 2.723 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/0.6805, allocations: 152 kB / 0.6243 GB, free: 2.574 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002715/0.6833, allocations: 2.121 MB / 0.6264 GB, free: 460 kB / 490.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6833, allocations: 0 / 0.6264 GB, free: 460 kB / 490.8 MB Notification: Performance of remove unused functions: time 0.1753/0.8586, allocations: 2.251 MB / 0.6286 GB, free: 162 MB / 490.8 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.01126/0.8698, allocations: 11.41 MB / 0.6398 GB, free: 159 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008264/0.8781, allocations: 7.16 MB / 0.6468 GB, free: 156.4 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.8781, allocations: 0 / 0.6468 GB, free: 156.4 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003347/0.8815, allocations: 3.424 MB / 0.6501 GB, free: 155 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.8839, allocations: 0.7995 MB / 0.6509 GB, free: 154.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05612/0.94, allocations: 51.87 MB / 0.7015 GB, free: 106.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004583/0.9446, allocations: 5.459 MB / 0.7069 GB, free: 101.1 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003467/0.9481, allocations: 2.159 MB / 0.709 GB, free: 98.96 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002697/0.9508, allocations: 3.035 MB / 0.7119 GB, free: 95.92 MB / 490.8 MB Notification: Performance of SimCode: time 1.763e-06/0.9508, allocations: 4 kB / 0.7119 GB, free: 95.91 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2606/1.211, allocations: 116.9 MB / 0.8261 GB, free: 146.2 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.78, allocations: 2.75 kB / 0.8261 GB, free: 146.2 MB / 490.8 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.597692158073187]