Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 112 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 188.3 kB / 23.72 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 43.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.303, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009417/0.3124, allocations: 7.312 MB / 430 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004499/0.3169, allocations: 2.203 MB / 432.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009327/0.3178, allocations: 71.5 kB / 432.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3189, allocations: 457 kB / 432.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.3216, allocations: 0.917 MB / 433.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008789/0.3224, allocations: 359.4 kB / 433.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004078/0.3265, allocations: 3.159 MB / 437.1 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.3288, allocations: 1.573 MB / 438.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.3309, allocations: 1.457 MB / 440.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.3334, allocations: 1.716 MB / 441.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005043/0.3339, allocations: 360 kB / 442.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.335, allocations: 483.9 kB / 442.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008919/0.3358, allocations: 0.8997 MB / 443.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002156/0.338, allocations: 1.606 MB / 445.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006132/0.3441, allocations: 4.702 MB / 449.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.3441, allocations: 0 / 449.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3441, allocations: 0 / 449.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000209/0.3444, allocations: 0 / 449.9 MB, free: 3.211 MB / 350.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.01007/0.3544, allocations: 3.62 MB / 453.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3545, allocations: 8.031 kB / 453.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006611/0.3551, allocations: 445.1 kB / 453.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/0.3586, allocations: 0.7093 MB / 454.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.3623, allocations: 1.748 MB / 456.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.3625, allocations: 205.7 kB / 456.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005479/0.363, allocations: 267.9 kB / 456.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006469/0.3695, allocations: 3.611 MB / 460.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.3696, allocations: 0 / 460.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.3698, allocations: 104 kB / 460.6 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.3699, allocations: 109.4 kB / 460.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/0.3755, allocations: 3.101 MB / 463.8 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.3941, allocations: 10.12 MB / 473.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/0.398, allocations: 1.773 MB / 475.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.3994, allocations: 0.8606 MB / 476.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004209/0.4036, allocations: 2.148 MB / 478.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/0.4037, allocations: 47.44 kB / 478.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.715e-06/0.4037, allocations: 0 / 478.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006397/0.4101, allocations: 2.491 MB / 481.2 MB, free: 3.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.4102, allocations: 97.91 kB / 481.3 MB, free: 3.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.4122, allocations: 1.371 MB / 482.7 MB, free: 1.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.83e-05/0.4123, allocations: 45.7 kB / 482.7 MB, free: 1.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009646/0.4133, allocations: 1.199 MB / 483.9 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.4136, allocations: 376.8 kB / 484.3 MB, free: 172 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003559/0.414, allocations: 218.9 kB / 484.5 MB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4141, allocations: 353.9 kB / 484.9 MB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009502/0.4151, allocations: 0.5686 MB / 485.4 MB, free: 15.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.4163, allocations: 0.849 MB / 486.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.4185, allocations: 1.451 MB / 487.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.4185, allocations: 7.875 kB / 487.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003553/0.422, allocations: 1.954 MB / 489.7 MB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.4221, allocations: 8 kB / 489.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.4221, allocations: 11.98 kB / 489.7 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.4231, allocations: 400.7 kB / 490.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/0.424, allocations: 219.7 kB / 490.3 MB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008114/0.4321, allocations: 6.318 MB / 496.6 MB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009919/0.4331, allocations: 143.2 kB / 496.8 MB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/0.4332, allocations: 51.98 kB / 496.8 MB, free: 3.164 MB / 398.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.001551/0.4347, allocations: 0.8669 MB / 497.7 MB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.435, allocations: 147.1 kB / 497.8 MB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.4381, allocations: 1.632 MB / 499.5 MB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.4381, allocations: 12 kB / 499.5 MB, free: 500 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4381, allocations: 8 kB / 499.5 MB, free: 492 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.4382, allocations: 7.922 kB / 499.5 MB, free: 484 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006914/0.4451, allocations: 3.89 MB / 0.4916 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.4451, allocations: 4 kB / 0.4916 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.4457, allocations: 135.8 kB / 0.4917 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009363/0.4466, allocations: 389.5 kB / 0.4921 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/0.4467, allocations: 35.98 kB / 0.4921 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007975/0.4546, allocations: 6.308 MB / 0.4983 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4547, allocations: 0 / 0.4983 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/0.4589, allocations: 2.466 MB / 0.5007 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.4594, allocations: 178.9 kB / 0.5009 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.4595, allocations: 24 kB / 0.5009 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/0.4603, allocations: 91.84 kB / 0.501 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.4606, allocations: 104.6 kB / 0.5011 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.4606, allocations: 35.98 kB / 0.5011 GB, free: 2.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001443/0.4621, allocations: 0.9591 MB / 0.502 GB, free: 1.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4621, allocations: 0 / 0.502 GB, free: 1.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001995/0.4641, allocations: 0.6813 MB / 0.5027 GB, free: 0.8281 MB / 414.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.004578/0.4687, allocations: 3.072 MB / 0.5057 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003313/0.472, allocations: 1.733 MB / 0.5074 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.472, allocations: 3.938 kB / 0.5074 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.4739, allocations: 1.094 MB / 0.5085 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.4755, allocations: 312.4 kB / 0.5088 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/0.5028, allocations: 15.95 MB / 0.5243 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.5049, allocations: 2.176 MB / 0.5265 GB, free: 7.863 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001064/0.506, allocations: 346.9 kB / 0.5268 GB, free: 7.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.5071, allocations: 0.8664 MB / 0.5276 GB, free: 6.652 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5071, allocations: 0 / 0.5276 GB, free: 6.652 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3371/0.8442, allocations: 39.76 MB / 0.5665 GB, free: 85.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.78, allocations: 4.188 kB / 0.5665 GB, free: 85.89 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_4.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.im in file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.im from file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.re in file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.re from file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.426692647997697]