Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.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.0008841/0.0008841, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.004252/0.004252, allocations: 164.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8672/0.8672, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.843e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1221/0.1221, allocations: 6.369 MB / 304.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.1251, allocations: 2.15 MB / 307 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004857/0.1256, allocations: 55.78 kB / 307 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.1263, allocations: 468.5 kB / 307.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.1276, allocations: 0.8529 MB / 308.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.1281, allocations: 374.4 kB / 308.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002209/0.1304, allocations: 3.24 MB / 311.9 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.1317, allocations: 1.517 MB / 313.4 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.1334, allocations: 2.089 MB / 315.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.1349, allocations: 1.532 MB / 317.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004866/0.1354, allocations: 358.5 kB / 317.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000656/0.136, allocations: 476.5 kB / 317.9 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005264/0.1366, allocations: 0.935 MB / 318.8 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009633/0.1375, allocations: 1.099 MB / 319.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.1403, allocations: 4.738 MB / 324.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1403, allocations: 0 / 324.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1403, allocations: 1.219 kB / 324.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.739e-05/0.1404, allocations: 0 / 324.7 MB, free: 2.152 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004622/0.145, allocations: 3.591 MB / 328.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.145, allocations: 13.14 kB / 328.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004165/0.1455, allocations: 435.1 kB / 328.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.1472, allocations: 0.7065 MB / 329.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.1492, allocations: 1.65 MB / 331 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.1494, allocations: 201.7 kB / 331.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.1497, allocations: 258.2 kB / 331.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/0.1534, allocations: 3.845 MB / 335.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.1534, allocations: 7.875 kB / 335.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.1536, allocations: 108 kB / 335.4 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.27e-05/0.1537, allocations: 113.4 kB / 335.6 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/0.1571, allocations: 3.086 MB / 338.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008671/0.1657, allocations: 9.443 MB / 348.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.168, allocations: 1.866 MB / 350 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/0.1688, allocations: 0.8736 MB / 350.8 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00224/0.171, allocations: 2.012 MB / 352.8 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1711, allocations: 55.5 kB / 352.9 MB, free: 7.664 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.054e-06/0.1711, allocations: 0 / 352.9 MB, free: 7.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.003466/0.1745, allocations: 2.534 MB / 355.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.1746, allocations: 86.11 kB / 355.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.1757, allocations: 1.398 MB / 356.9 MB, free: 3.609 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.1757, allocations: 49.69 kB / 357 MB, free: 3.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005222/0.1763, allocations: 1.195 MB / 358.2 MB, free: 2.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.1765, allocations: 372.8 kB / 358.5 MB, free: 1.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.1767, allocations: 218.9 kB / 358.7 MB, free: 1.762 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.1768, allocations: 361.8 kB / 359.1 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.1774, allocations: 0.5803 MB / 359.7 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008606/0.1782, allocations: 0.8611 MB / 360.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.1795, allocations: 1.487 MB / 362 MB, free: 14.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1795, allocations: 0 / 362 MB, free: 14.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001965/0.1815, allocations: 1.985 MB / 364 MB, free: 12.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1815, allocations: 8 kB / 364 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1815, allocations: 8 kB / 364 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/0.1821, allocations: 409.2 kB / 364.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.1825, allocations: 223.6 kB / 364.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004646/0.1872, allocations: 6.352 MB / 371 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.1876, allocations: 151 kB / 371.1 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.1876, allocations: 44 kB / 371.2 MB, free: 4.832 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008009/0.1884, allocations: 0.8642 MB / 372 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.1886, allocations: 143.1 kB / 372.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.1903, allocations: 1.662 MB / 373.8 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1903, allocations: 12 kB / 373.9 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1903, allocations: 6 kB / 373.9 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1903, allocations: 3.984 kB / 373.9 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003819/0.1941, allocations: 3.796 MB / 377.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1941, allocations: 4 kB / 377.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.1944, allocations: 135.8 kB / 377.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/0.1949, allocations: 401.6 kB / 378.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.195, allocations: 43.97 kB / 378.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/0.1995, allocations: 6.346 MB / 384.6 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1995, allocations: 3.938 kB / 384.6 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.2022, allocations: 2.498 MB / 387.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.2023, allocations: 174.9 kB / 387.2 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.2025, allocations: 27.98 kB / 387.3 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/0.203, allocations: 91.91 kB / 387.4 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.2032, allocations: 108.7 kB / 387.5 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.2033, allocations: 31.98 kB / 387.5 MB, free: 4.121 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001183/0.2044, allocations: 0.9591 MB / 388.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2044, allocations: 0 / 388.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001426/0.2059, allocations: 0.6852 MB / 389.1 MB, free: 2.469 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003687/0.2095, allocations: 3.103 MB / 392.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.2115, allocations: 1.758 MB / 394 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2115, allocations: 8.031 kB / 394 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.2126, allocations: 1.094 MB / 395.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009042/0.2135, allocations: 308.4 kB / 395.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/0.2293, allocations: 16.03 MB / 411.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.2305, allocations: 1.612 MB / 413.1 MB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005536/0.2311, allocations: 347 kB / 413.4 MB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006696/0.2317, allocations: 0.8635 MB / 414.3 MB, free: 8.723 MB / 378.7 MB Notification: Performance of SimCode: time 6.12e-07/0.2317, allocations: 0 / 414.3 MB, free: 8.723 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04974/0.2815, allocations: 41.22 MB / 455.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.221, allocations: 11.94 kB / 455.5 MB, free: 15.37 MB / 426.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.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_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re in file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im in file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.im in file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.im from file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.re in file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.re from file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.934989398345351]