Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8903/0.8903, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.297e-05, allocations: 7.062 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008897/0.00892, allocations: 6.947 MB / 331.5 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005409/0.01433, allocations: 2.386 MB / 333.8 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.01551, allocations: 71.56 kB / 333.9 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008881/0.0164, allocations: 468.7 kB / 334.4 MB, free: 5.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.01882, allocations: 0.8774 MB / 335.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.01962, allocations: 406.1 kB / 335.7 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003137/0.02276, allocations: 3.353 MB / 339 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.02446, allocations: 1.537 MB / 340.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.02665, allocations: 2.101 MB / 342.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.02831, allocations: 1.539 MB / 344.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000621/0.02893, allocations: 360 kB / 344.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008808/0.02981, allocations: 487.7 kB / 345 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006292/0.03044, allocations: 0.9348 MB / 345.9 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.03147, allocations: 1.107 MB / 347.1 MB, free: 9.203 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.03466, allocations: 4.775 MB / 351.8 MB, free: 4.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.03467, allocations: 0 / 351.8 MB, free: 4.414 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.03467, allocations: 4 kB / 351.8 MB, free: 4.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.676e-05/0.03474, allocations: 0 / 351.8 MB, free: 4.41 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.005246/0.03999, allocations: 3.608 MB / 355.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.04004, allocations: 19.98 kB / 355.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005103/0.04055, allocations: 445 kB / 355.9 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.04259, allocations: 0.7406 MB / 356.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.04481, allocations: 1.79 MB / 358.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.04491, allocations: 197.7 kB / 358.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.04519, allocations: 264.3 kB / 358.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/0.04935, allocations: 3.857 MB / 362.7 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.04939, allocations: 0 / 362.7 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.04956, allocations: 108 kB / 362.8 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.981e-05/0.04964, allocations: 105.4 kB / 362.9 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003645/0.05329, allocations: 3.105 MB / 366 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.0634, allocations: 9.315 MB / 375.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.06582, allocations: 1.766 MB / 377.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000956/0.06677, allocations: 0.861 MB / 378 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002516/0.06929, allocations: 1.997 MB / 380 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.06932, allocations: 51.55 kB / 380 MB, free: 7.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 2.825e-06/0.06933, allocations: 4 kB / 380 MB, free: 7.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.003704/0.07303, allocations: 2.499 MB / 382.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.07308, allocations: 90.11 kB / 382.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.07438, allocations: 1.407 MB / 384 MB, free: 3.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.07443, allocations: 45.7 kB / 384.1 MB, free: 3.504 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.07496, allocations: 1.207 MB / 385.3 MB, free: 2.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.07515, allocations: 376.8 kB / 385.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.07536, allocations: 218.9 kB / 385.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.07546, allocations: 361.9 kB / 386.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005887/0.07605, allocations: 0.5685 MB / 386.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/0.07676, allocations: 0.8457 MB / 387.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.0781, allocations: 1.456 MB / 389.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.07811, allocations: 7.938 kB / 389.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002114/0.08022, allocations: 1.954 MB / 391.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.08024, allocations: 8 kB / 391.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.08026, allocations: 12.2 kB / 391.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/0.0809, allocations: 394.2 kB / 391.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.08134, allocations: 211.7 kB / 391.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/0.08653, allocations: 6.244 MB / 397.9 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/0.08721, allocations: 139.1 kB / 398 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.08727, allocations: 55.98 kB / 398.1 MB, free: 4.98 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.001134/0.0884, allocations: 0.8692 MB / 399 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.08856, allocations: 147.1 kB / 399.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.09072, allocations: 1.647 MB / 400.8 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.09072, allocations: 8 kB / 400.8 MB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.09073, allocations: 8 kB / 400.8 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.09074, allocations: 3.984 kB / 400.8 MB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/0.09479, allocations: 3.742 MB / 404.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.09479, allocations: 0 / 404.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.09508, allocations: 131.8 kB / 404.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005526/0.09563, allocations: 405.1 kB / 405 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.09569, allocations: 31.98 kB / 405.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004842/0.1005, allocations: 6.23 MB / 411.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1005, allocations: 3.938 kB / 411.3 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.1031, allocations: 2.478 MB / 413.8 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.1034, allocations: 174.9 kB / 414 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.1035, allocations: 24 kB / 414 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.1039, allocations: 87.91 kB / 414.1 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.1041, allocations: 104.7 kB / 414.2 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.1041, allocations: 35.98 kB / 414.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001211/0.1053, allocations: 0.9756 MB / 415.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1053, allocations: 3.938 kB / 415.2 MB, free: 3.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00149/0.1068, allocations: 0.6775 MB / 415.9 MB, free: 2.836 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.002793/0.1096, allocations: 3.076 MB / 418.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002105/0.1117, allocations: 1.738 MB / 420.7 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1117, allocations: 4.125 kB / 420.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.1131, allocations: 1.093 MB / 421.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.1141, allocations: 304.5 kB / 422.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.1328, allocations: 16.03 MB / 438.1 MB, free: 12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.1341, allocations: 1.629 MB / 439.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006531/0.1347, allocations: 346.9 kB / 440.1 MB, free: 9.984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007436/0.1355, allocations: 0.883 MB / 440.9 MB, free: 9.098 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1355, allocations: 0 / 440.9 MB, free: 9.098 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1809/0.3164, allocations: 41.43 MB / 482.4 MB, free: 90.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.219, allocations: 3.953 kB / 482.4 MB, free: 90.11 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im in file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.im in file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.im from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.re in file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.re from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.077023927122355]