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.001129/0.001129, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001308/0.001308, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8952/0.8952, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.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 1.904e-06/1.904e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.306e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005667/0.00569, allocations: 6.953 MB / 331.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.009146, allocations: 2.394 MB / 333.9 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006213/0.009767, allocations: 71.56 kB / 334 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007287/0.0105, allocations: 464.7 kB / 334.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.01208, allocations: 0.8774 MB / 335.3 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.01267, allocations: 403.1 kB / 335.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00263/0.0153, allocations: 3.345 MB / 339.1 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.01673, allocations: 1.548 MB / 340.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.01872, allocations: 2.098 MB / 342.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.01999, allocations: 1.539 MB / 344.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002964/0.02028, allocations: 356 kB / 344.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005796/0.02086, allocations: 487.7 kB / 345.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004597/0.02132, allocations: 0.9425 MB / 346 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.0224, allocations: 1.099 MB / 347.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.02531, allocations: 4.768 MB / 351.9 MB, free: 4.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.02531, allocations: 3.938 kB / 351.9 MB, free: 4.477 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02532, allocations: 0 / 351.9 MB, free: 4.477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.511e-05/0.02539, allocations: 0 / 351.9 MB, free: 4.477 MB / 314.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.005256/0.03065, allocations: 3.616 MB / 355.5 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.03069, allocations: 8.031 kB / 355.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004676/0.03116, allocations: 441 kB / 355.9 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.0332, allocations: 0.7484 MB / 356.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.03531, allocations: 1.786 MB / 358.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-05/0.03541, allocations: 197.7 kB / 358.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/0.03567, allocations: 268.3 kB / 358.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004301/0.03997, allocations: 3.86 MB / 362.8 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.04, allocations: 0 / 362.8 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.04017, allocations: 108 kB / 362.9 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.916e-05/0.04024, allocations: 105.4 kB / 363 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/0.04358, allocations: 3.105 MB / 366.1 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00991/0.05349, allocations: 9.319 MB / 375.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.05578, allocations: 1.752 MB / 377.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008841/0.05666, allocations: 0.8645 MB / 378 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002324/0.05898, allocations: 2 MB / 380 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.05901, allocations: 43.56 kB / 380.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 3.276e-06/0.05902, allocations: 4 kB / 380.1 MB, free: 7.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.003817/0.06283, allocations: 2.503 MB / 382.6 MB, free: 5.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.06287, allocations: 90.11 kB / 382.7 MB, free: 5.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.06412, allocations: 1.411 MB / 384.1 MB, free: 3.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.06417, allocations: 45.7 kB / 384.1 MB, free: 3.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005197/0.06469, allocations: 1.211 MB / 385.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.06487, allocations: 376.8 kB / 385.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.06508, allocations: 218.9 kB / 385.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.06518, allocations: 357.9 kB / 386.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005887/0.06577, allocations: 0.5647 MB / 386.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.06648, allocations: 0.8457 MB / 387.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.06807, allocations: 1.471 MB / 389.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.06807, allocations: 0 / 389.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002048/0.07012, allocations: 1.95 MB / 391.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.07014, allocations: 8 kB / 391.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.07015, allocations: 8 kB / 391.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.07077, allocations: 405.6 kB / 391.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.07121, allocations: 215.6 kB / 391.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005059/0.07627, allocations: 6.245 MB / 398 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.07691, allocations: 139.1 kB / 398.1 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.07698, allocations: 51.94 kB / 398.2 MB, free: 5.051 MB / 362.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.001215/0.0782, allocations: 0.8682 MB / 399 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.07838, allocations: 151 kB / 399.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.08025, allocations: 1.635 MB / 400.8 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.08025, allocations: 16 kB / 400.8 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.08026, allocations: 4 kB / 400.8 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.08028, allocations: 7.969 kB / 400.8 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/0.08468, allocations: 3.738 MB / 404.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.08468, allocations: 4 kB / 404.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.08497, allocations: 131.7 kB / 404.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/0.08552, allocations: 397.5 kB / 405.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.08557, allocations: 31.98 kB / 405.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.0905, allocations: 6.236 MB / 411.4 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.0905, allocations: 3.938 kB / 411.4 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.09295, allocations: 2.475 MB / 413.8 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.09319, allocations: 174.9 kB / 414 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.09329, allocations: 28 kB / 414 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.09369, allocations: 87.91 kB / 414.1 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.09386, allocations: 108.7 kB / 414.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.0939, allocations: 27.98 kB / 414.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009698/0.09487, allocations: 0.9834 MB / 415.2 MB, free: 3.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09487, allocations: 0 / 415.2 MB, free: 3.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001411/0.09628, allocations: 0.6814 MB / 415.9 MB, free: 2.902 MB / 378.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,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.00291/0.09919, allocations: 3.072 MB / 419 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.1012, allocations: 1.737 MB / 420.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1012, allocations: 0 / 420.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.1022, allocations: 1.102 MB / 421.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.1031, allocations: 300.5 kB / 422.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.1205, allocations: 16.02 MB / 438.1 MB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/0.1221, allocations: 1.628 MB / 439.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006232/0.1227, allocations: 343 kB / 440.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/0.1234, allocations: 0.883 MB / 441 MB, free: 9.184 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1234, allocations: 0 / 441 MB, free: 9.184 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/0.3019, allocations: 41.45 MB / 482.4 MB, free: 90.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.367, allocations: 11.92 kB / 482.5 MB, free: 90.13 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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: 10.219388265162706]