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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 112 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 215.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2508, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007524/0.2583, allocations: 6.879 MB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004293/0.2627, allocations: 2.325 MB / 419.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.2638, allocations: 47.81 kB / 419.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.2652, allocations: 448.9 kB / 419.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.2673, allocations: 0.668 MB / 420.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000811/0.2681, allocations: 275.6 kB / 420.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003166/0.2713, allocations: 2.844 MB / 423.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002801/0.2741, allocations: 2.578 MB / 426 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.2764, allocations: 1.316 MB / 427.3 MB, free: 132 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/0.2786, allocations: 1.541 MB / 428.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007494/0.2793, allocations: 352 kB / 429.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.2805, allocations: 439.7 kB / 429.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.2816, allocations: 0.896 MB / 430.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.2834, allocations: 1.533 MB / 432 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.2874, allocations: 4.62 MB / 436.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2874, allocations: 3.938 kB / 436.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2874, allocations: 0 / 436.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.125e-05/0.2875, allocations: 3.938 kB / 436.7 MB, free: 6.73 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.005522/0.293, allocations: 2.983 MB / 439.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2931, allocations: 8.031 kB / 439.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009689/0.2941, allocations: 337.6 kB / 440 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.2966, allocations: 1.666 MB / 441.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.2967, allocations: 164.4 kB / 441.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002904/0.297, allocations: 208 kB / 442 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005072/0.3021, allocations: 3.182 MB / 445.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.3021, allocations: 4 kB / 445.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.3023, allocations: 84 kB / 445.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.3025, allocations: 116.4 kB / 445.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004307/0.3068, allocations: 2.726 MB / 448.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.3196, allocations: 8.748 MB / 456.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.3228, allocations: 3.391 MB / 460.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.3246, allocations: 1.315 MB / 461.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.3249, allocations: 126.3 kB / 461.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.3249, allocations: 55.88 kB / 461.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.607e-06/0.3249, allocations: 0 / 461.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01197/0.3369, allocations: 5.758 MB / 467.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.337, allocations: 68.72 kB / 467.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.3394, allocations: 1.491 MB / 469.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.3396, allocations: 49.7 kB / 469.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007919/0.3404, allocations: 0.9448 MB / 470.1 MB, free: 4.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.3409, allocations: 441.6 kB / 470.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/0.3413, allocations: 222.8 kB / 470.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3414, allocations: 357.9 kB / 471.1 MB, free: 3.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3425, allocations: 0.6974 MB / 471.8 MB, free: 2.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.3437, allocations: 0.8629 MB / 472.6 MB, free: 1.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.346, allocations: 1.604 MB / 474.2 MB, free: 108 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/0.346, allocations: 3.938 kB / 474.2 MB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003891/0.3499, allocations: 2.298 MB / 476.5 MB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.35, allocations: 10.81 kB / 476.5 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.35, allocations: 4 kB / 476.6 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.3527, allocations: 0.8305 MB / 477.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.3535, allocations: 199.8 kB / 477.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.3655, allocations: 11.49 MB / 489.1 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.3667, allocations: 51.95 kB / 489.1 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.3669, allocations: 36 kB / 489.2 MB, free: 0.5977 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.001465/0.3684, allocations: 0.8242 MB / 490 MB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/0.3688, allocations: 166.1 kB / 490.1 MB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/0.3729, allocations: 2.273 MB / 492.4 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.3729, allocations: 12 kB / 492.4 MB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.3729, allocations: 4 kB / 492.4 MB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.3729, allocations: 8.031 kB / 492.4 MB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008136/0.3811, allocations: 4.715 MB / 497.2 MB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3811, allocations: 4 kB / 497.2 MB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.3818, allocations: 151.8 kB / 497.3 MB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/0.3844, allocations: 0.8075 MB / 498.1 MB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-05/0.3845, allocations: 35.98 kB / 498.1 MB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/0.3964, allocations: 11.38 MB / 0.4976 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.3965, allocations: 11.94 kB / 0.4976 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00526/0.4017, allocations: 3.232 MB / 0.5007 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008865/0.4027, allocations: 399.1 kB / 0.5011 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000384/0.4031, allocations: 31.98 kB / 0.5012 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/0.4041, allocations: 71.83 kB / 0.5012 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/0.4044, allocations: 117.1 kB / 0.5013 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-05/0.4045, allocations: 39.98 kB / 0.5014 GB, free: 7.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001687/0.4062, allocations: 1.056 MB / 0.5024 GB, free: 6.512 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4062, allocations: 0 / 0.5024 GB, free: 6.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00193/0.4081, allocations: 0.5117 MB / 0.5029 GB, free: 6 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.0005596/0.4087, allocations: 218.1 kB / 0.5031 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003729/0.4124, allocations: 2.404 MB / 0.5055 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.4124, allocations: 0 / 0.5055 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002295/0.4147, allocations: 1.629 MB / 0.5071 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.4172, allocations: 0.5036 MB / 0.5075 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00821/0.4255, allocations: 4.609 MB / 0.512 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.4273, allocations: 1.995 MB / 0.514 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.4277, allocations: 95.42 kB / 0.5141 GB, free: 10.37 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4277, allocations: 3.938 kB / 0.5141 GB, free: 10.37 MB / 446.1 MB Notification: Performance of Templates: time 0.2486/0.6763, allocations: 75.88 MB / 0.5882 GB, free: 85.43 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/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