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.001121/0.001121, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2874, allocations: 50.54 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008434/0.2959, allocations: 7.851 MB / 416.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005066/0.301, allocations: 2.476 MB / 419.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009269/0.3019, allocations: 51.81 kB / 419.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009966/0.303, allocations: 460.9 kB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.3062, allocations: 0.8665 MB / 420.5 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009782/0.3072, allocations: 402.7 kB / 420.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003714/0.3109, allocations: 3.254 MB / 424.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003171/0.3141, allocations: 2.891 MB / 427 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.316, allocations: 1.433 MB / 428.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.3181, allocations: 1.693 MB / 430.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.3185, allocations: 360 kB / 430.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.3196, allocations: 495.8 kB / 431 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007682/0.3203, allocations: 0.8998 MB / 431.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.3221, allocations: 1.622 MB / 433.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004963/0.3271, allocations: 4.709 MB / 438.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3271, allocations: 4 kB / 438.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3271, allocations: 0 / 438.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000101/0.3272, allocations: 0 / 438.2 MB, free: 3.926 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.008822/0.3361, allocations: 3.723 MB / 441.9 MB, free: 140 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.3361, allocations: 12.03 kB / 441.9 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006638/0.3368, allocations: 437.1 kB / 442.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/0.3408, allocations: 0.7562 MB / 443.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/0.3446, allocations: 1.851 MB / 445 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.3448, allocations: 201.7 kB / 445.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004627/0.3453, allocations: 271.9 kB / 445.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006029/0.3513, allocations: 3.626 MB / 449 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.3514, allocations: 0 / 449 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.3516, allocations: 108 kB / 449.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.414e-05/0.3517, allocations: 101.4 kB / 449.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/0.3568, allocations: 3.097 MB / 452.3 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.3743, allocations: 10.27 MB / 462.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005312/0.3797, allocations: 4.572 MB / 467.2 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.3813, allocations: 0.9541 MB / 468.1 MB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005035/0.3863, allocations: 2.632 MB / 470.8 MB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/0.3864, allocations: 47.42 kB / 470.8 MB, free: 1.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.697e-06/0.3865, allocations: 4 kB / 470.8 MB, free: 1.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006709/0.3932, allocations: 2.657 MB / 473.5 MB, free: 15.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.3932, allocations: 93.92 kB / 473.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.396, allocations: 1.404 MB / 475 MB, free: 13.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.422e-05/0.3961, allocations: 49.7 kB / 475 MB, free: 13.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008644/0.397, allocations: 1.207 MB / 476.2 MB, free: 12.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.3973, allocations: 376.8 kB / 476.6 MB, free: 12.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003766/0.3977, allocations: 222.8 kB / 476.8 MB, free: 11.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3978, allocations: 353.9 kB / 477.2 MB, free: 11.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009609/0.3988, allocations: 0.5608 MB / 477.7 MB, free: 10.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.4, allocations: 0.8491 MB / 478.6 MB, free: 9.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.4021, allocations: 1.461 MB / 480 MB, free: 8.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.4021, allocations: 4 kB / 480 MB, free: 8.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003473/0.4056, allocations: 1.965 MB / 482 MB, free: 6.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.4056, allocations: 8 kB / 482 MB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.4057, allocations: 8 kB / 482 MB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.4067, allocations: 400.3 kB / 482.4 MB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/0.4076, allocations: 223.6 kB / 482.6 MB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007747/0.4153, allocations: 6.536 MB / 489.2 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.4166, allocations: 139.1 kB / 489.3 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.4168, allocations: 51.98 kB / 489.4 MB, free: 14.77 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.001915/0.4188, allocations: 0.8719 MB / 490.2 MB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000535/0.4193, allocations: 147.2 kB / 490.4 MB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.4226, allocations: 1.648 MB / 492 MB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.4226, allocations: 12 kB / 492 MB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.4226, allocations: 11.94 kB / 492 MB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.4226, allocations: 15.91 kB / 492.1 MB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008311/0.431, allocations: 3.927 MB / 496 MB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.431, allocations: 4.031 kB / 496 MB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/0.4316, allocations: 131.8 kB / 496.1 MB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.4326, allocations: 397.3 kB / 496.5 MB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.742e-05/0.4328, allocations: 31.98 kB / 496.5 MB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008113/0.4409, allocations: 6.512 MB / 0.4913 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.4409, allocations: 4.031 kB / 0.4913 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/0.4451, allocations: 2.49 MB / 0.4937 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006275/0.4457, allocations: 255.9 kB / 0.4939 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.446, allocations: 24 kB / 0.494 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009683/0.447, allocations: 99.78 kB / 0.4941 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.4474, allocations: 88.73 kB / 0.4941 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/0.4475, allocations: 35.98 kB / 0.4942 GB, free: 13.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001964/0.4494, allocations: 0.9756 MB / 0.4951 GB, free: 12.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.4495, allocations: 0 / 0.4951 GB, free: 12.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002517/0.452, allocations: 0.6969 MB / 0.4958 GB, free: 11.95 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.004718/0.4567, allocations: 3.091 MB / 0.4988 GB, free: 8.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003447/0.4602, allocations: 1.777 MB / 0.5006 GB, free: 7.004 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.4602, allocations: 5.188 kB / 0.5006 GB, free: 7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.4621, allocations: 1.137 MB / 0.5017 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.4642, allocations: 300.5 kB / 0.502 GB, free: 5.543 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02494/0.4891, allocations: 16.08 MB / 0.5177 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/0.4916, allocations: 2.196 MB / 0.5198 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009175/0.4925, allocations: 339 kB / 0.5201 GB, free: 2.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.4936, allocations: 0.8781 MB / 0.521 GB, free: 1.535 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4936, allocations: 0 / 0.521 GB, free: 1.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2869/0.7805, allocations: 38.92 MB / 0.559 GB, free: 115.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.58, allocations: 8.531 kB / 0.559 GB, free: 115.9 MB / 462.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