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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.3 kB / 307.1 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08416/0.08548, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008848/0.09437, allocations: 7.853 MB / 365.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005015/0.09943, allocations: 2.468 MB / 367.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.1009, allocations: 59.75 kB / 368 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.1025, allocations: 452.9 kB / 368.4 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.1057, allocations: 0.8548 MB / 369.3 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.1071, allocations: 394.5 kB / 369.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.171/0.2781, allocations: 3.225 MB / 372.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004556/0.2827, allocations: 2.896 MB / 375.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.285, allocations: 1.412 MB / 377.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.288, allocations: 1.7 MB / 378.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.2892, allocations: 358.6 kB / 379.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.2911, allocations: 489.3 kB / 379.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.2925, allocations: 0.9053 MB / 380.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00375/0.2963, allocations: 1.616 MB / 382.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006555/0.3029, allocations: 4.654 MB / 386.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3029, allocations: 1.062 kB / 386.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3029, allocations: 0 / 386.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001729/0.3031, allocations: 4 kB / 386.9 MB, free: 5.652 MB / 302.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.01072/0.3138, allocations: 3.65 MB / 390.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3139, allocations: 9.594 kB / 390.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001179/0.3151, allocations: 442 kB / 391 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004616/0.3197, allocations: 0.747 MB / 391.7 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/0.3235, allocations: 1.78 MB / 393.5 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.3237, allocations: 197.6 kB / 393.7 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007755/0.3245, allocations: 266.5 kB / 394 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006402/0.3309, allocations: 3.625 MB / 397.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.331, allocations: 0 / 397.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/0.3312, allocations: 112.5 kB / 397.7 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.951e-05/0.3313, allocations: 101.8 kB / 397.8 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005171/0.3365, allocations: 3.107 MB / 400.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01915/0.3557, allocations: 10.35 MB / 411.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005372/0.3611, allocations: 4.574 MB / 415.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.3628, allocations: 0.9531 MB / 416.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004903/0.3678, allocations: 2.629 MB / 419.4 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.3678, allocations: 55.17 kB / 419.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.316e-06/0.3679, allocations: 0 / 419.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.006493/0.3743, allocations: 2.644 MB / 422.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3744, allocations: 89.98 kB / 422.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.3767, allocations: 1.411 MB / 423.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/0.3768, allocations: 41.7 kB / 423.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007615/0.3776, allocations: 1.179 MB / 424.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.3779, allocations: 359 kB / 425.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.3783, allocations: 218.8 kB / 425.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3784, allocations: 355 kB / 425.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009247/0.3793, allocations: 0.5608 MB / 426.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.3804, allocations: 0.8491 MB / 427.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.3825, allocations: 1.462 MB / 428.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.3825, allocations: 4 kB / 428.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003507/0.386, allocations: 1.964 MB / 430.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3861, allocations: 8.219 kB / 430.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.3861, allocations: 12 kB / 430.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.3871, allocations: 397.4 kB / 431 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/0.388, allocations: 226.2 kB / 431.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007764/0.3957, allocations: 6.527 MB / 437.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.3972, allocations: 142.7 kB / 437.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.3975, allocations: 47.98 kB / 437.9 MB, free: 7.031 MB / 350.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.002267/0.3998, allocations: 0.8782 MB / 438.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006683/0.4004, allocations: 138.3 kB / 438.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.4039, allocations: 1.65 MB / 440.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.4039, allocations: 12 kB / 440.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.4039, allocations: 4 kB / 440.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.4039, allocations: 7.969 kB / 440.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007351/0.4113, allocations: 3.927 MB / 444.5 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.4113, allocations: 7.984 kB / 444.5 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005635/0.4119, allocations: 127 kB / 444.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009978/0.4129, allocations: 409.5 kB / 445.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.234e-05/0.413, allocations: 27.98 kB / 445.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007058/0.4201, allocations: 6.511 MB / 451.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4201, allocations: 4.031 kB / 451.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004261/0.4244, allocations: 2.482 MB / 454.1 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000836/0.4253, allocations: 247.2 kB / 454.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004928/0.4258, allocations: 28 kB / 454.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.4269, allocations: 91.91 kB / 454.4 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.4272, allocations: 92.67 kB / 454.5 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.879e-05/0.4273, allocations: 35.98 kB / 454.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00174/0.429, allocations: 0.9795 MB / 455.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.429, allocations: 0 / 455.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002717/0.4318, allocations: 0.6766 MB / 456.2 MB, free: 4.402 MB / 366.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.004382/0.4362, allocations: 3.086 MB / 459.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.4398, allocations: 1.931 MB / 461.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.4398, allocations: 8.188 kB / 461.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.4418, allocations: 1.134 MB / 462.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.4444, allocations: 313.1 kB / 462.7 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/0.4753, allocations: 17.15 MB / 479.8 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/0.4785, allocations: 2.188 MB / 482 MB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001323/0.4798, allocations: 343 kB / 482.4 MB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/0.4814, allocations: 0.8781 MB / 483.2 MB, free: 8.652 MB / 398.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4814, allocations: 0 / 483.2 MB, free: 8.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07704/0.5584, allocations: 38.06 MB / 0.5091 GB, free: 2.973 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.74, allocations: 0 / 0.5091 GB, free: 2.973 MB / 430.1 MB (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches