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.0013/0.0013, allocations: 119 kB / 17.78 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.001229/0.001229, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 63.89 kB / 358.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2924, allocations: 50.53 MB / 408.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008047/0.3004, allocations: 6.886 MB / 415.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.305, allocations: 2.321 MB / 418 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000911/0.306, allocations: 51.75 kB / 418 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.3072, allocations: 463.9 kB / 418.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.3088, allocations: 0.6798 MB / 419.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.3093, allocations: 279.6 kB / 419.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00254/0.3118, allocations: 2.848 MB / 422.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.3144, allocations: 2.574 MB / 424.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.3168, allocations: 1.312 MB / 426.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.3188, allocations: 1.541 MB / 427.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000454/0.3193, allocations: 352 kB / 428 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007849/0.3201, allocations: 435.8 kB / 428.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007089/0.3208, allocations: 0.9038 MB / 429.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.3224, allocations: 1.525 MB / 430.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.3268, allocations: 4.641 MB / 435.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3268, allocations: 0 / 435.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3268, allocations: 0 / 435.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.088e-05/0.3269, allocations: 4 kB / 435.5 MB, free: 6.578 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.005495/0.3324, allocations: 3.05 MB / 438.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3325, allocations: 11.97 kB / 438.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004095/0.3329, allocations: 328.9 kB / 438.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.3339, allocations: 355.1 kB / 439.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.3368, allocations: 1.667 MB / 440.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.3369, allocations: 164.4 kB / 441.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/0.3373, allocations: 216 kB / 441.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005201/0.3425, allocations: 3.182 MB / 444.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.3426, allocations: 0 / 444.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.3428, allocations: 88 kB / 444.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.3429, allocations: 112.4 kB / 444.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00406/0.3469, allocations: 2.738 MB / 447.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.3593, allocations: 8.766 MB / 456.2 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/0.3626, allocations: 3.399 MB / 459.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.3643, allocations: 1.311 MB / 460.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.3646, allocations: 130.4 kB / 461 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.3646, allocations: 43.88 kB / 461.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 2.865e-06/0.3647, allocations: 0 / 461.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01006/0.3747, allocations: 5.793 MB / 466.9 MB, free: 6.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3748, allocations: 64.72 kB / 466.9 MB, free: 6.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.3768, allocations: 1.499 MB / 468.4 MB, free: 4.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.746e-05/0.3769, allocations: 49.7 kB / 468.5 MB, free: 4.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006127/0.3775, allocations: 0.9705 MB / 469.4 MB, free: 3.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.3778, allocations: 460 kB / 469.9 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.3782, allocations: 218.9 kB / 470.1 MB, free: 3.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3783, allocations: 365.9 kB / 470.5 MB, free: 2.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000994/0.3793, allocations: 0.6974 MB / 471.2 MB, free: 1.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.3804, allocations: 0.859 MB / 472 MB, free: 1.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.3825, allocations: 1.604 MB / 473.6 MB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3825, allocations: 0 / 473.6 MB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00357/0.3861, allocations: 2.311 MB / 475.9 MB, free: 13.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3861, allocations: 8 kB / 475.9 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3861, allocations: 4 kB / 476 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/0.3888, allocations: 0.8305 MB / 476.8 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/0.3896, allocations: 195.8 kB / 477 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.401, allocations: 11.5 MB / 488.5 MB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.4022, allocations: 51.88 kB / 488.5 MB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-05/0.4023, allocations: 44 kB / 488.6 MB, free: 15.9 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.001442/0.4038, allocations: 0.8198 MB / 489.4 MB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.4041, allocations: 163 kB / 489.5 MB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.4077, allocations: 2.277 MB / 491.8 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4078, allocations: 12 kB / 491.8 MB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4078, allocations: 4 kB / 491.8 MB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4078, allocations: 3.984 kB / 491.8 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007188/0.415, allocations: 4.723 MB / 496.6 MB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.415, allocations: 0 / 496.6 MB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.4157, allocations: 155.8 kB / 496.7 MB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/0.4181, allocations: 0.8153 MB / 497.5 MB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.4182, allocations: 28 kB / 497.6 MB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.4295, allocations: 11.38 MB / 0.497 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.4295, allocations: 11.95 kB / 0.497 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/0.4343, allocations: 3.236 MB / 0.5002 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007857/0.4351, allocations: 411.9 kB / 0.5006 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.4353, allocations: 28 kB / 0.5006 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007259/0.436, allocations: 75.88 kB / 0.5007 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.4363, allocations: 113.1 kB / 0.5008 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.4364, allocations: 36 kB / 0.5008 GB, free: 6.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.4378, allocations: 1.064 MB / 0.5019 GB, free: 5.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4378, allocations: 0 / 0.5019 GB, free: 5.793 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001641/0.4394, allocations: 0.5117 MB / 0.5024 GB, free: 5.281 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.005019/0.4445, allocations: 3.909 MB / 0.5062 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003874/0.4483, allocations: 2.401 MB / 0.5085 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.4484, allocations: 192 / 0.5085 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.4506, allocations: 1.644 MB / 0.5101 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.4527, allocations: 0.4995 MB / 0.5106 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/0.478, allocations: 17.67 MB / 0.5279 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.4799, allocations: 2.055 MB / 0.5299 GB, free: 8.613 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009398/0.4808, allocations: 305.5 kB / 0.5302 GB, free: 8.309 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009426/0.4818, allocations: 0.7766 MB / 0.5309 GB, free: 7.531 MB / 462.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4818, allocations: 0 / 0.5309 GB, free: 7.531 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3187/0.8005, allocations: 50.58 MB / 0.5803 GB, free: 93.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.71, allocations: 3.938 kB / 0.5803 GB, free: 93.59 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.0.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