Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00183/0.00183, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00238/0.00238, allocations: 207.8 kB / 18.74 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.559/1.559, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 71.81 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 50.53 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01277/0.3299, allocations: 6.882 MB / 415.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007059/0.3371, allocations: 2.321 MB / 418 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.3386, allocations: 51.81 kB / 418 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.3405, allocations: 459.8 kB / 418.5 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.3435, allocations: 0.6641 MB / 419.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.3444, allocations: 271.7 kB / 419.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003703/0.3481, allocations: 2.844 MB / 422.2 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003438/0.3515, allocations: 2.57 MB / 424.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.3546, allocations: 1.321 MB / 426.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.3575, allocations: 1.533 MB / 427.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008451/0.3584, allocations: 348 kB / 428 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.3595, allocations: 439.8 kB / 428.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009727/0.3604, allocations: 0.8999 MB / 429.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002931/0.3634, allocations: 1.536 MB / 430.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006501/0.3699, allocations: 4.637 MB / 435.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3699, allocations: 0 / 435.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.37, allocations: 0 / 435.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001027/0.3701, allocations: 0 / 435.5 MB, free: 6.641 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.007651/0.3777, allocations: 3.046 MB / 438.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3778, allocations: 12.03 kB / 438.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005883/0.3784, allocations: 324.9 kB / 438.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.3796, allocations: 351.1 kB / 439.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.3829, allocations: 1.671 MB / 440.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.3831, allocations: 164.4 kB / 441.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004085/0.3835, allocations: 212 kB / 441.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006145/0.3896, allocations: 3.178 MB / 444.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.3897, allocations: 4 kB / 444.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.3899, allocations: 88 kB / 444.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.3901, allocations: 120.4 kB / 444.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005173/0.3953, allocations: 2.727 MB / 447.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01649/0.4118, allocations: 8.782 MB / 456.2 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/0.4158, allocations: 3.387 MB / 459.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.4179, allocations: 1.315 MB / 460.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.4182, allocations: 130.4 kB / 461 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.4183, allocations: 43.88 kB / 461 MB, free: 12.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.697e-06/0.4183, allocations: 0 / 461 MB, free: 12.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01186/0.4302, allocations: 5.793 MB / 466.8 MB, free: 6.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.4303, allocations: 64.72 kB / 466.9 MB, free: 6.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.4327, allocations: 1.495 MB / 468.4 MB, free: 4.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.4328, allocations: 49.7 kB / 468.4 MB, free: 4.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009014/0.4338, allocations: 0.9666 MB / 469.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/0.4342, allocations: 468 kB / 469.9 MB, free: 3.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.4346, allocations: 222.9 kB / 470.1 MB, free: 3.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.4348, allocations: 357.9 kB / 470.4 MB, free: 2.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.436, allocations: 0.6935 MB / 471.1 MB, free: 2.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.4372, allocations: 0.8668 MB / 472 MB, free: 1.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/0.4397, allocations: 1.604 MB / 473.6 MB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4397, allocations: 0 / 473.6 MB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004188/0.4439, allocations: 2.311 MB / 475.9 MB, free: 13.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4439, allocations: 11.94 kB / 475.9 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.444, allocations: 4 kB / 475.9 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/0.4468, allocations: 0.8228 MB / 476.7 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008589/0.4476, allocations: 207.7 kB / 476.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/0.4614, allocations: 11.5 MB / 488.4 MB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.4625, allocations: 51.92 kB / 488.5 MB, free: 12 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/0.4628, allocations: 36.05 kB / 488.5 MB, free: 15.97 MB / 414.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.001349/0.4641, allocations: 0.8174 MB / 489.3 MB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.4644, allocations: 167 kB / 489.5 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/0.4686, allocations: 2.277 MB / 491.8 MB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.4686, allocations: 12 kB / 491.8 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4686, allocations: 4 kB / 491.8 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4687, allocations: 7.984 kB / 491.8 MB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008254/0.4769, allocations: 4.715 MB / 496.5 MB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.477, allocations: 4 kB / 496.5 MB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/0.4776, allocations: 155.9 kB / 496.7 MB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.4805, allocations: 0.8113 MB / 497.5 MB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-05/0.4806, allocations: 28 kB / 497.5 MB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.4944, allocations: 11.39 MB / 0.497 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4944, allocations: 3.938 kB / 0.497 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005498/0.4999, allocations: 3.24 MB / 0.5001 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/0.5009, allocations: 416 kB / 0.5005 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.5011, allocations: 32 kB / 0.5006 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007483/0.5019, allocations: 63.94 kB / 0.5006 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.5022, allocations: 125 kB / 0.5008 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/0.5024, allocations: 40 kB / 0.5008 GB, free: 6.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001621/0.5041, allocations: 1.06 MB / 0.5018 GB, free: 5.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5041, allocations: 0 / 0.5018 GB, free: 5.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001921/0.506, allocations: 0.5156 MB / 0.5023 GB, free: 5.336 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.006104/0.5121, allocations: 3.898 MB / 0.5061 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004183/0.5163, allocations: 2.408 MB / 0.5085 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.5163, allocations: 0 / 0.5085 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002657/0.519, allocations: 1.64 MB / 0.5101 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.5215, allocations: 0.5038 MB / 0.5106 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02939/0.5509, allocations: 17.66 MB / 0.5278 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002108/0.5531, allocations: 2.051 MB / 0.5298 GB, free: 8.695 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009262/0.554, allocations: 309.5 kB / 0.5301 GB, free: 8.387 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.5551, allocations: 0.7844 MB / 0.5309 GB, free: 7.602 MB / 462.1 MB Notification: Performance of SimCode: time 2.565e-06/0.5552, allocations: 4 kB / 0.5309 GB, free: 7.598 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3232/0.8784, allocations: 50.57 MB / 0.5803 GB, free: 93.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/16.89, allocations: 11.92 kB / 0.5803 GB, free: 93.78 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches