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.001362/0.001362, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001418/0.001418, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.546/1.546, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001466/0.001466, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1147, allocations: 53.34 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2352/0.3499, allocations: 7.883 MB / 434.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.3545, allocations: 2.498 MB / 436.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.3556, allocations: 71.03 kB / 436.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.3567, allocations: 463.8 kB / 437.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.3592, allocations: 0.8802 MB / 438.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009611/0.3601, allocations: 404.4 kB / 438.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004468/0.3646, allocations: 3.254 MB / 441.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002871/0.3675, allocations: 2.125 MB / 443.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.3698, allocations: 1.459 MB / 445.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/0.3731, allocations: 1.708 MB / 447 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.3742, allocations: 363.8 kB / 447.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.376, allocations: 496.2 kB / 447.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009288/0.3769, allocations: 0.9084 MB / 448.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002583/0.3795, allocations: 1.612 MB / 450.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007904/0.3874, allocations: 4.719 MB / 455.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3874, allocations: 0 / 455.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3874, allocations: 1.688 kB / 455.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001862/0.3876, allocations: 0 / 455.1 MB, free: 13.93 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.01253/0.4001, allocations: 3.724 MB / 458.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4001, allocations: 8.844 kB / 458.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009121/0.4011, allocations: 442.8 kB / 459.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/0.4054, allocations: 0.7388 MB / 460 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/0.4103, allocations: 1.857 MB / 461.9 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.4105, allocations: 201.5 kB / 462.1 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007413/0.4113, allocations: 266.1 kB / 462.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007718/0.419, allocations: 3.623 MB / 466 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.419, allocations: 1.125 kB / 466 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/0.4193, allocations: 106.2 kB / 466.1 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/0.4195, allocations: 107.9 kB / 466.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006147/0.4256, allocations: 3.105 MB / 469.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02177/0.4474, allocations: 10.28 MB / 479.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005958/0.4533, allocations: 4.478 MB / 484 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.4552, allocations: 0.8678 MB / 484.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005328/0.4606, allocations: 2.649 MB / 487.6 MB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.262e-05/0.4606, allocations: 55.38 kB / 487.6 MB, free: 2.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.815e-06/0.4606, allocations: 0 / 487.6 MB, free: 2.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.007042/0.4677, allocations: 2.646 MB / 490.3 MB, free: 15.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.4677, allocations: 89.92 kB / 490.3 MB, free: 15.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.4702, allocations: 1.411 MB / 491.8 MB, free: 14.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.4703, allocations: 45.7 kB / 491.8 MB, free: 14.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.4714, allocations: 1.211 MB / 493 MB, free: 12.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000403/0.4718, allocations: 376.8 kB / 493.4 MB, free: 12.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.4722, allocations: 218.9 kB / 493.6 MB, free: 12.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4724, allocations: 357.9 kB / 493.9 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.4734, allocations: 0.5608 MB / 494.5 MB, free: 11.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.4747, allocations: 0.8491 MB / 495.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.4769, allocations: 1.461 MB / 496.8 MB, free: 8.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4769, allocations: 4 kB / 496.8 MB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003828/0.4808, allocations: 1.953 MB / 498.8 MB, free: 6.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4808, allocations: 12 kB / 498.8 MB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.4808, allocations: 12.19 kB / 498.8 MB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.482, allocations: 399.3 kB / 499.2 MB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.4828, allocations: 219.6 kB / 499.4 MB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008584/0.4914, allocations: 6.541 MB / 0.4941 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.4929, allocations: 135.1 kB / 0.4942 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.493, allocations: 52 kB / 0.4943 GB, free: 15.21 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.001812/0.4948, allocations: 0.8727 MB / 0.4951 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.4953, allocations: 143.1 kB / 0.4952 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.4986, allocations: 1.631 MB / 0.4968 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.4986, allocations: 15.98 kB / 0.4969 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4986, allocations: 4 kB / 0.4969 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4987, allocations: 11.98 kB / 0.4969 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007626/0.5063, allocations: 3.915 MB / 0.5007 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.5063, allocations: 4 kB / 0.5007 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.507, allocations: 131.8 kB / 0.5008 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/0.5084, allocations: 396.8 kB / 0.5012 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.5085, allocations: 33.16 kB / 0.5012 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008787/0.5173, allocations: 6.524 MB / 0.5076 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.5173, allocations: 12.03 kB / 0.5076 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/0.522, allocations: 2.47 MB / 0.51 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000731/0.5227, allocations: 251.9 kB / 0.5103 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.5229, allocations: 28 kB / 0.5103 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.5238, allocations: 91.78 kB / 0.5104 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/0.524, allocations: 104.6 kB / 0.5105 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/0.5241, allocations: 35.98 kB / 0.5105 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00183/0.526, allocations: 0.9795 MB / 0.5115 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.526, allocations: 0 / 0.5115 GB, free: 13.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002601/0.5286, allocations: 0.6891 MB / 0.5121 GB, free: 12.43 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.004933/0.5335, allocations: 3.08 MB / 0.5151 GB, free: 9.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003589/0.5371, allocations: 1.742 MB / 0.5169 GB, free: 7.535 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5371, allocations: 0 / 0.5169 GB, free: 7.535 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002212/0.5393, allocations: 1.086 MB / 0.5179 GB, free: 6.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.5416, allocations: 308.6 kB / 0.5182 GB, free: 6.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/0.5728, allocations: 16.03 MB / 0.5339 GB, free: 5.613 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/0.5753, allocations: 2.192 MB / 0.536 GB, free: 3.383 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0011/0.5764, allocations: 343 kB / 0.5363 GB, free: 3.043 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.5776, allocations: 0.8781 MB / 0.5372 GB, free: 2.164 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5776, allocations: 0 / 0.5372 GB, free: 2.164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/0.6884, allocations: 39.29 MB / 0.5756 GB, free: 11.24 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.68, allocations: 15.94 kB / 0.5756 GB, free: 11.22 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.485798074005288]