Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",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.001583/0.001583, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001698/0.001698, allocations: 193.4 kB / 18 MB, free: 5.172 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.463/1.463, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.92 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2871, allocations: 49.44 MB / 400.3 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008462/0.2956, allocations: 6.868 MB / 407.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004345/0.3, allocations: 2.27 MB / 409.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006611/0.3007, allocations: 47.75 kB / 409.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.3018, allocations: 456 kB / 409.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.3036, allocations: 0.6564 MB / 410.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.3042, allocations: 271.6 kB / 410.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003081/0.3072, allocations: 2.832 MB / 413.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002884/0.3101, allocations: 2.566 MB / 416.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.3127, allocations: 1.327 MB / 417.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.3149, allocations: 1.537 MB / 419.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004896/0.3154, allocations: 348 kB / 419.4 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008338/0.3162, allocations: 431.8 kB / 419.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008431/0.3171, allocations: 0.9 MB / 420.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.3188, allocations: 1.521 MB / 422.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004855/0.3236, allocations: 4.629 MB / 426.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3237, allocations: 0 / 426.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3237, allocations: 4 kB / 426.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.201e-05/0.3238, allocations: 0 / 426.9 MB, free: 14.04 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005914/0.3297, allocations: 3.038 MB / 429.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3297, allocations: 12.03 kB / 429.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004293/0.3302, allocations: 324.9 kB / 430.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007649/0.331, allocations: 323.1 kB / 430.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.3336, allocations: 1.652 MB / 432.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.3338, allocations: 160.4 kB / 432.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000331/0.3341, allocations: 220 kB / 432.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005223/0.3394, allocations: 3.178 MB / 435.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.3394, allocations: 0 / 435.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.3396, allocations: 92 kB / 435.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.3398, allocations: 108.4 kB / 436 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004661/0.3444, allocations: 2.738 MB / 438.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01522/0.3597, allocations: 8.789 MB / 447.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.3639, allocations: 3.383 MB / 450.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/0.366, allocations: 1.312 MB / 452.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.3663, allocations: 130.4 kB / 452.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.3664, allocations: 47.88 kB / 452.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.467e-06/0.3664, allocations: 0 / 452.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01151/0.3779, allocations: 5.785 MB / 458.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.378, allocations: 64.72 kB / 458.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.3804, allocations: 1.486 MB / 459.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.3805, allocations: 45.7 kB / 459.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008003/0.3813, allocations: 0.9665 MB / 460.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/0.3818, allocations: 468 kB / 461.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/0.3822, allocations: 214.9 kB / 461.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3824, allocations: 357.9 kB / 461.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3835, allocations: 0.6935 MB / 462.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.3848, allocations: 0.8629 MB / 463.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/0.3872, allocations: 1.612 MB / 464.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3872, allocations: 3.938 kB / 464.9 MB, free: 6.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004305/0.3916, allocations: 2.314 MB / 467.2 MB, free: 4.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.3916, allocations: 8 kB / 467.2 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3916, allocations: 4 kB / 467.2 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.3944, allocations: 0.8272 MB / 468 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008416/0.3953, allocations: 199.7 kB / 468.2 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/0.4088, allocations: 11.48 MB / 479.7 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.4101, allocations: 51.92 kB / 479.8 MB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.673e-05/0.4102, allocations: 44 kB / 479.8 MB, free: 7.453 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * 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 {(2,29,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.001508/0.4117, allocations: 0.8254 MB / 480.6 MB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.412, allocations: 167 kB / 480.8 MB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/0.416, allocations: 2.281 MB / 483.1 MB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.4161, allocations: 12 kB / 483.1 MB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4161, allocations: 4 kB / 483.1 MB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.4161, allocations: 3.984 kB / 483.1 MB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007885/0.424, allocations: 4.715 MB / 487.8 MB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.424, allocations: 0 / 487.8 MB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.4247, allocations: 159.8 kB / 488 MB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/0.4273, allocations: 0.8112 MB / 488.8 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.4274, allocations: 28.28 kB / 488.8 MB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.4405, allocations: 11.39 MB / 0.4885 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.4406, allocations: 3.938 kB / 0.4885 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/0.446, allocations: 3.244 MB / 0.4917 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000864/0.4469, allocations: 412 kB / 0.492 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.4471, allocations: 28.09 kB / 0.4921 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007437/0.4478, allocations: 71.88 kB / 0.4921 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.4482, allocations: 117.1 kB / 0.4923 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.474e-05/0.4482, allocations: 40.06 kB / 0.4923 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001593/0.4498, allocations: 1.052 MB / 0.4933 GB, free: 13.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4499, allocations: 7.938 kB / 0.4933 GB, free: 13.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001724/0.4516, allocations: 0.5078 MB / 0.4938 GB, free: 12.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * 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 {(2,29,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.005773/0.4574, allocations: 3.903 MB / 0.4976 GB, free: 8.871 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004086/0.4615, allocations: 2.4 MB / 0.5 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4615, allocations: 4.812 kB / 0.5 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00247/0.464, allocations: 1.647 MB / 0.5016 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.4661, allocations: 0.498 MB / 0.5021 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/0.4943, allocations: 17.62 MB / 0.5193 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.4964, allocations: 2.051 MB / 0.5213 GB, free: 204 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.4975, allocations: 301.5 kB / 0.5216 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.4985, allocations: 0.7766 MB / 0.5223 GB, free: 15.12 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4986, allocations: 3.938 kB / 0.5223 GB, free: 15.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3272/0.8257, allocations: 50.46 MB / 0.5716 GB, free: 107.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.85, allocations: 12.58 kB / 0.5716 GB, free: 107.8 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches