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: 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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 113.2 kB / 17.06 MB, free: 6 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.001662/0.001662, allocations: 200 kB / 18 MB, free: 5.078 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.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 43.94 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2625, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008369/0.2709, allocations: 6.87 MB / 407.6 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004676/0.2756, allocations: 2.272 MB / 409.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.277, allocations: 43.81 kB / 409.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.2785, allocations: 464.7 kB / 410.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.2806, allocations: 0.6875 MB / 411.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.2814, allocations: 263.7 kB / 411.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.2847, allocations: 2.832 MB / 414.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.288, allocations: 2.57 MB / 416.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.2903, allocations: 1.32 MB / 418 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.2926, allocations: 1.541 MB / 419.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005492/0.2931, allocations: 348 kB / 419.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008322/0.294, allocations: 427.8 kB / 420.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007588/0.2947, allocations: 0.9 MB / 421.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.2963, allocations: 1.529 MB / 422.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003886/0.3002, allocations: 4.615 MB / 427.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3002, allocations: 0 / 427.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3002, allocations: 0 / 427.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.992e-05/0.3003, allocations: 3.984 kB / 427.4 MB, free: 14.08 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.004787/0.3051, allocations: 2.97 MB / 430.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3051, allocations: 8.031 kB / 430.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006565/0.3058, allocations: 309.6 kB / 430.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.3081, allocations: 1.639 MB / 432.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.3082, allocations: 168.4 kB / 432.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/0.3085, allocations: 219.9 kB / 432.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004321/0.3128, allocations: 3.178 MB / 435.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.3129, allocations: 0 / 435.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.3131, allocations: 92 kB / 435.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.3132, allocations: 108.4 kB / 436.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003894/0.3171, allocations: 2.734 MB / 438.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.3287, allocations: 8.756 MB / 447.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/0.3317, allocations: 3.383 MB / 450.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.3335, allocations: 1.319 MB / 452.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.3337, allocations: 122.3 kB / 452.4 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3338, allocations: 51.81 kB / 452.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.367e-06/0.3338, allocations: 0 / 452.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.009846/0.3436, allocations: 5.746 MB / 458.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3437, allocations: 68.7 kB / 458.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.3456, allocations: 1.486 MB / 459.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.966e-05/0.3457, allocations: 57.7 kB / 459.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005588/0.3463, allocations: 0.933 MB / 460.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.3466, allocations: 449.5 kB / 461.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.3469, allocations: 218.9 kB / 461.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.347, allocations: 361.9 kB / 461.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009332/0.348, allocations: 0.6896 MB / 462.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.349, allocations: 0.8629 MB / 463.3 MB, free: 9.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.351, allocations: 1.604 MB / 464.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.351, allocations: 7.938 kB / 464.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003328/0.3544, allocations: 2.302 MB / 467.2 MB, free: 5.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3544, allocations: 8 kB / 467.2 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3544, allocations: 4 kB / 467.2 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.3569, allocations: 0.8271 MB / 468 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.3576, allocations: 203.8 kB / 468.2 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.3687, allocations: 11.47 MB / 479.7 MB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009194/0.3697, allocations: 55.86 kB / 479.7 MB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.3698, allocations: 44 kB / 479.8 MB, free: 8.027 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.001267/0.371, allocations: 0.8175 MB / 480.6 MB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.3713, allocations: 166.1 kB / 480.8 MB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003435/0.3747, allocations: 2.269 MB / 483 MB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.3748, allocations: 12 kB / 483 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3748, allocations: 8 kB / 483.1 MB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.3748, allocations: 3.984 kB / 483.1 MB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006928/0.3817, allocations: 4.715 MB / 487.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.3817, allocations: 0 / 487.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.3824, allocations: 167.9 kB / 487.9 MB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/0.3848, allocations: 0.8109 MB / 488.7 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.415e-05/0.3849, allocations: 24 kB / 488.8 MB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.3955, allocations: 11.38 MB / 0.4884 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3955, allocations: 4.062 kB / 0.4884 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004444/0.4, allocations: 3.231 MB / 0.4916 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/0.4007, allocations: 411.2 kB / 0.492 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.4008, allocations: 27.98 kB / 0.492 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.4015, allocations: 71.84 kB / 0.4921 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.4018, allocations: 125 kB / 0.4922 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/0.4019, allocations: 32 kB / 0.4922 GB, free: 15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.4033, allocations: 1.052 MB / 0.4933 GB, free: 13.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4033, allocations: 0 / 0.4933 GB, free: 13.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001574/0.4048, allocations: 0.5156 MB / 0.4938 GB, free: 13.43 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.000422/0.4053, allocations: 214.4 kB / 0.494 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003397/0.4087, allocations: 2.397 MB / 0.4963 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4087, allocations: 0 / 0.4963 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.4108, allocations: 1.632 MB / 0.4979 GB, free: 9.082 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.4125, allocations: 0.5003 MB / 0.4984 GB, free: 8.586 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007042/0.4196, allocations: 4.627 MB / 0.5029 GB, free: 3.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/0.4212, allocations: 2.035 MB / 0.5049 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008198/0.422, allocations: 309.5 kB / 0.5052 GB, free: 1.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.4223, allocations: 103.4 kB / 0.5053 GB, free: 1.441 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4223, allocations: 0 / 0.5053 GB, free: 1.441 MB / 430.1 MB Notification: Performance of Templates: time 0.05177/0.4741, allocations: 32.99 MB / 0.5375 GB, free: 0.8281 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/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