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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 112.2 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 196 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 51.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2817, allocations: 49.41 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009197/0.291, allocations: 7.269 MB / 407.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005132/0.2962, allocations: 2.18 MB / 409.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009925/0.2972, allocations: 51.81 kB / 409.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.2983, allocations: 444.9 kB / 410.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.3008, allocations: 0.8955 MB / 411.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008456/0.3017, allocations: 355.4 kB / 411.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003967/0.3056, allocations: 3.141 MB / 414.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003375/0.309, allocations: 2.887 MB / 417.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.3111, allocations: 1.41 MB / 418.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.3136, allocations: 1.701 MB / 420.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007002/0.3143, allocations: 360 kB / 420.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.3156, allocations: 479.9 kB / 421.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009392/0.3166, allocations: 0.8998 MB / 422.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002108/0.3187, allocations: 1.606 MB / 423.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005562/0.3242, allocations: 4.694 MB / 428.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3243, allocations: 0 / 428.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3243, allocations: 0 / 428.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.3244, allocations: 0 / 428.6 MB, free: 12.34 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.009894/0.3343, allocations: 3.695 MB / 432.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.3344, allocations: 12.03 kB / 432.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007366/0.3352, allocations: 433.1 kB / 432.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/0.3389, allocations: 0.7133 MB / 433.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/0.3428, allocations: 1.8 MB / 435.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.343, allocations: 205.7 kB / 435.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005981/0.3436, allocations: 271.8 kB / 435.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006753/0.3504, allocations: 3.615 MB / 439.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.017e-05/0.3505, allocations: 4 kB / 439.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002662/0.3507, allocations: 108 kB / 439.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.3509, allocations: 105.4 kB / 439.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005606/0.3565, allocations: 3.097 MB / 442.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01718/0.3737, allocations: 10.27 MB / 452.9 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005377/0.3791, allocations: 4.571 MB / 457.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.3807, allocations: 0.9492 MB / 458.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00407/0.3848, allocations: 2.394 MB / 460.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.3848, allocations: 47.44 kB / 460.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.936e-06/0.3848, allocations: 0 / 460.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006498/0.3913, allocations: 2.661 MB / 463.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.3914, allocations: 89.92 kB / 463.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.3935, allocations: 1.367 MB / 464.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.536e-05/0.3936, allocations: 45.7 kB / 465 MB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009706/0.3946, allocations: 1.195 MB / 466.2 MB, free: 5.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.3949, allocations: 380.8 kB / 466.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/0.3953, allocations: 222.8 kB / 466.8 MB, free: 4.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3955, allocations: 357.9 kB / 467.1 MB, free: 4.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009638/0.3964, allocations: 0.5569 MB / 467.7 MB, free: 3.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.3977, allocations: 0.8452 MB / 468.5 MB, free: 2.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.3999, allocations: 1.461 MB / 470 MB, free: 1.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.3999, allocations: 4 kB / 470 MB, free: 1.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003535/0.4034, allocations: 1.973 MB / 472 MB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.4035, allocations: 8 kB / 472 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.4035, allocations: 8 kB / 472 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.4045, allocations: 404.9 kB / 472.4 MB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.4053, allocations: 219.7 kB / 472.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007962/0.4133, allocations: 6.534 MB / 479.1 MB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.4144, allocations: 151 kB / 479.3 MB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-05/0.4146, allocations: 44 kB / 479.3 MB, free: 7.664 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.001712/0.4163, allocations: 0.8642 MB / 480.2 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.4166, allocations: 143.1 kB / 480.3 MB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.4197, allocations: 1.656 MB / 482 MB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.4197, allocations: 12 kB / 482 MB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4198, allocations: 4 kB / 482 MB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.4198, allocations: 11.91 kB / 482 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006491/0.4263, allocations: 3.914 MB / 485.9 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.4263, allocations: 4 kB / 485.9 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.4269, allocations: 136 kB / 486.1 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009568/0.4279, allocations: 389.3 kB / 486.4 MB, free: 432 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.33e-05/0.4279, allocations: 35.92 kB / 486.5 MB, free: 396 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007919/0.4359, allocations: 6.522 MB / 493 MB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4359, allocations: 4 kB / 493 MB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/0.4401, allocations: 2.485 MB / 495.5 MB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.4405, allocations: 244 kB / 495.7 MB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.4407, allocations: 27.98 kB / 495.7 MB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007343/0.4414, allocations: 95.84 kB / 495.8 MB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.4417, allocations: 92.73 kB / 495.9 MB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/0.4417, allocations: 31.98 kB / 496 MB, free: 6.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.4431, allocations: 0.959 MB / 496.9 MB, free: 5.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4431, allocations: 0 / 496.9 MB, free: 5.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001954/0.4451, allocations: 0.6852 MB / 497.6 MB, free: 4.902 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.004469/0.4496, allocations: 3.1 MB / 0.489 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.4528, allocations: 1.781 MB / 0.4907 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4528, allocations: 0 / 0.4907 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.4547, allocations: 1.141 MB / 0.4918 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.4564, allocations: 304.5 kB / 0.4921 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02471/0.4811, allocations: 15.94 MB / 0.5077 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/0.4832, allocations: 2.184 MB / 0.5098 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00101/0.4842, allocations: 343 kB / 0.5101 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.4853, allocations: 0.8687 MB / 0.511 GB, free: 10.63 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4853, allocations: 0 / 0.511 GB, free: 10.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3141/0.7994, allocations: 38.54 MB / 0.5486 GB, free: 131.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.13, allocations: 13.53 kB / 0.5486 GB, free: 131.5 MB / 462.1 MB (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) 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) Reference file matches