Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.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.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001687/0.001687, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002047/0.002047, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.32, allocations: 50.55 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008568/0.3286, allocations: 6.241 MB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.3328, allocations: 1.694 MB / 416.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.334, allocations: 47.81 kB / 416.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009443/0.335, allocations: 297.6 kB / 417 MB, free: 9.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.3369, allocations: 425.2 kB / 417.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009859/0.3379, allocations: 347.5 kB / 417.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.3405, allocations: 2.141 MB / 419.9 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/0.3436, allocations: 2.445 MB / 422.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.3453, allocations: 1.036 MB / 423.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.3471, allocations: 1.214 MB / 424.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005483/0.3477, allocations: 292 kB / 424.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007124/0.3484, allocations: 407.8 kB / 425.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.349, allocations: 0.7012 MB / 426 MB, free: 148 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.3505, allocations: 1.233 MB / 427.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004569/0.3551, allocations: 3.639 MB / 430.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.3551, allocations: 3.984 kB / 430.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3551, allocations: 0 / 430.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001133/0.3553, allocations: 0 / 430.9 MB, free: 11.25 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.005675/0.3609, allocations: 2.532 MB / 433.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.361, allocations: 8.031 kB / 433.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004706/0.3615, allocations: 299.7 kB / 433.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009255/0.3624, allocations: 275.4 kB / 434 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.3648, allocations: 1.323 MB / 435.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.3649, allocations: 152.5 kB / 435.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/0.3653, allocations: 211.9 kB / 435.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004732/0.37, allocations: 2.618 MB / 438.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.3701, allocations: 0 / 438.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.3703, allocations: 84 kB / 438.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.538e-05/0.3704, allocations: 52 kB / 438.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003778/0.3741, allocations: 2.089 MB / 440.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.3864, allocations: 7.301 MB / 447.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.389, allocations: 2.352 MB / 450.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.3907, allocations: 0.9512 MB / 451.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.3907, allocations: 9 kB / 451.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.3908, allocations: 43.55 kB / 451.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.476e-06/0.3908, allocations: 4 kB / 451.2 MB, free: 6.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008568/0.3994, allocations: 4.208 MB / 455.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.3995, allocations: 64.34 kB / 455.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.401, allocations: 0.872 MB / 456.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.954e-05/0.4011, allocations: 45.7 kB / 456.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007309/0.4018, allocations: 0.8553 MB / 457.2 MB, free: 112 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.4022, allocations: 341.3 kB / 457.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.4025, allocations: 178.6 kB / 457.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003256/0.4028, allocations: 345.9 kB / 458.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008161/0.4036, allocations: 493.7 kB / 458.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009384/0.4046, allocations: 0.6733 MB / 459.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.4065, allocations: 1.209 MB / 460.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.4065, allocations: 4 kB / 460.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002931/0.4094, allocations: 1.62 MB / 462 MB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4095, allocations: 7.938 kB / 462.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.4095, allocations: 12.06 kB / 462.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.4108, allocations: 466.9 kB / 462.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.4114, allocations: 175.8 kB / 462.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.4217, allocations: 9.298 MB / 472 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/0.4225, allocations: 47.95 kB / 472 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4226, allocations: 32 kB / 472.1 MB, free: 0.5156 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001152/0.4238, allocations: 0.6496 MB / 472.7 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.424, allocations: 103.3 kB / 472.8 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.4244, allocations: 138.1 kB / 473 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.465e-05/0.4244, allocations: 16.06 kB / 473 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.4245, allocations: 3.938 kB / 473 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.4245, allocations: 3.984 kB / 473 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/0.4317, allocations: 3.481 MB / 476.5 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.4318, allocations: 0 / 476.5 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.4324, allocations: 127.9 kB / 476.6 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.4334, allocations: 459.4 kB / 477 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.379e-05/0.4335, allocations: 23.98 kB / 477.1 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.4438, allocations: 9.211 MB / 486.3 MB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4439, allocations: 0 / 486.3 MB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003952/0.4478, allocations: 2.301 MB / 488.6 MB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007479/0.4486, allocations: 284.4 kB / 488.8 MB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.4487, allocations: 16 kB / 488.9 MB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/0.4493, allocations: 55.88 kB / 488.9 MB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/0.4497, allocations: 88.81 kB / 489 MB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/0.4498, allocations: 27.98 kB / 489 MB, free: 14.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000974/0.4508, allocations: 0.6122 MB / 489.6 MB, free: 14.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4508, allocations: 0 / 489.6 MB, free: 14.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002037/0.4528, allocations: 376 kB / 490 MB, free: 13.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004943/0.4578, allocations: 2.907 MB / 492.9 MB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003221/0.4611, allocations: 1.828 MB / 494.7 MB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.4611, allocations: 4 kB / 494.7 MB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.4632, allocations: 1.246 MB / 496 MB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.4647, allocations: 311 kB / 496.3 MB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/0.486, allocations: 12.2 MB / 0.4966 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/0.4879, allocations: 1.718 MB / 0.4983 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006178/0.4885, allocations: 192.9 kB / 0.4984 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008828/0.4894, allocations: 0.6165 MB / 0.499 GB, free: 8.375 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4894, allocations: 0 / 0.499 GB, free: 8.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1271/0.6165, allocations: 33.66 MB / 0.5319 GB, free: 7.031 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.09, allocations: 7.234 kB / 0.5319 GB, free: 7.027 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches