Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001368/0.001368, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001493/0.001493, allocations: 213.1 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 47.88 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2463, allocations: 53.37 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00992/0.2562, allocations: 7.911 MB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.2615, allocations: 2.518 MB / 441.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.2626, allocations: 71.56 kB / 441.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.2637, allocations: 460.9 kB / 442.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.2663, allocations: 0.8859 MB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009946/0.2673, allocations: 409.8 kB / 443.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004215/0.2716, allocations: 3.242 MB / 446.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.2737, allocations: 1.58 MB / 448.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.2757, allocations: 1.46 MB / 449.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.278, allocations: 1.72 MB / 451.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005705/0.2786, allocations: 360 kB / 451.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.2797, allocations: 491.8 kB / 452.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008551/0.2805, allocations: 0.9076 MB / 453.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.2825, allocations: 1.618 MB / 454.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005388/0.2879, allocations: 4.714 MB / 459.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2879, allocations: 0 / 459.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2879, allocations: 0 / 459.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.363e-05/0.288, allocations: 0 / 459.5 MB, free: 10.36 MB / 366.1 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.008452/0.2964, allocations: 3.655 MB / 463.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.2965, allocations: 8.031 kB / 463.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000676/0.2971, allocations: 445 kB / 463.6 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/0.301, allocations: 0.7367 MB / 464.3 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003751/0.3047, allocations: 1.799 MB / 466.1 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.3049, allocations: 197.7 kB / 466.3 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003999/0.3053, allocations: 275.9 kB / 466.6 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006172/0.3115, allocations: 3.622 MB / 470.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/0.3115, allocations: 0 / 470.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.3118, allocations: 115.9 kB / 470.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.3119, allocations: 101.4 kB / 470.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005486/0.3173, allocations: 3.109 MB / 473.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.3346, allocations: 10.12 MB / 483.6 MB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/0.3384, allocations: 1.776 MB / 485.4 MB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.3398, allocations: 0.8722 MB / 486.3 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004338/0.3441, allocations: 2.183 MB / 488.5 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.3442, allocations: 43.44 kB / 488.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.176e-06/0.3442, allocations: 0 / 488.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.00656/0.3507, allocations: 2.503 MB / 491 MB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.3508, allocations: 97.92 kB / 491.1 MB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.3531, allocations: 1.396 MB / 492.5 MB, free: 8.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.441e-05/0.3532, allocations: 45.7 kB / 492.5 MB, free: 8.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000958/0.3541, allocations: 1.203 MB / 493.7 MB, free: 7.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.3545, allocations: 384.8 kB / 494.1 MB, free: 7.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.3548, allocations: 218.9 kB / 494.3 MB, free: 6.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.355, allocations: 353.9 kB / 494.7 MB, free: 6.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000929/0.3559, allocations: 0.5647 MB / 495.2 MB, free: 5.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.3572, allocations: 0.8496 MB / 496.1 MB, free: 4.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.3594, allocations: 1.459 MB / 497.5 MB, free: 3.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.3594, allocations: 0 / 497.5 MB, free: 3.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003513/0.3629, allocations: 1.958 MB / 499.5 MB, free: 1.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.363, allocations: 8 kB / 499.5 MB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.363, allocations: 8 kB / 499.5 MB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009785/0.364, allocations: 402.8 kB / 499.9 MB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.3648, allocations: 215.7 kB / 0.4884 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008321/0.3731, allocations: 6.343 MB / 0.4946 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.3742, allocations: 139.1 kB / 0.4947 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.3744, allocations: 52.05 kB / 0.4948 GB, free: 10.07 MB / 414.1 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.001583/0.3759, allocations: 0.872 MB / 0.4956 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.3762, allocations: 147 kB / 0.4958 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/0.3794, allocations: 1.636 MB / 0.4974 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.3794, allocations: 12 kB / 0.4974 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3794, allocations: 11.94 kB / 0.4974 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3794, allocations: 7.922 kB / 0.4974 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006705/0.3861, allocations: 3.902 MB / 0.5012 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.3861, allocations: 4.188 kB / 0.5012 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.3867, allocations: 131.8 kB / 0.5013 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009323/0.3876, allocations: 407 kB / 0.5017 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.359e-05/0.3877, allocations: 31.97 kB / 0.5018 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007939/0.3956, allocations: 6.304 MB / 0.5079 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3956, allocations: 0 / 0.5079 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/0.3998, allocations: 2.486 MB / 0.5103 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/0.4003, allocations: 174.9 kB / 0.5105 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.4005, allocations: 27.98 kB / 0.5105 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/0.4012, allocations: 87.86 kB / 0.5106 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.4014, allocations: 96.67 kB / 0.5107 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-05/0.4015, allocations: 35.98 kB / 0.5107 GB, free: 9.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001451/0.403, allocations: 0.9795 MB / 0.5117 GB, free: 8.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.403, allocations: 0 / 0.5117 GB, free: 8.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00198/0.4049, allocations: 0.6852 MB / 0.5124 GB, free: 7.68 MB / 430.1 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,loss_m.Phi.re,loss_m.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.004517/0.4095, allocations: 3.083 MB / 0.5154 GB, free: 4.535 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003329/0.4128, allocations: 1.736 MB / 0.5171 GB, free: 2.766 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.4128, allocations: 4 kB / 0.5171 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.4148, allocations: 1.086 MB / 0.5181 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.4164, allocations: 304.5 kB / 0.5184 GB, free: 1.352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02533/0.4417, allocations: 16.08 MB / 0.5341 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2031/0.6448, allocations: 2.186 MB / 0.5363 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001206/0.646, allocations: 342.5 kB / 0.5366 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000964/0.647, allocations: 0.88 MB / 0.5375 GB, free: 100.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.647, allocations: 0 / 0.5375 GB, free: 100.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07661/0.7236, allocations: 40.22 MB / 0.5767 GB, free: 69.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.79, allocations: 9.625 kB / 0.5767 GB, free: 69.93 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im in file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.im in file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.im from file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.re in file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.re from file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.462750024998968]