Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00168/0.00168, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001877/0.001877, allocations: 205.9 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 250 MB, free: 9.105 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.83 kB / 367.3 MB, free: 7.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2508, allocations: 53.31 MB / 420.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008363/0.2591, allocations: 6.906 MB / 427.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004577/0.2637, allocations: 2.333 MB / 429.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007688/0.2645, allocations: 47.81 kB / 429.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.2655, allocations: 464.7 kB / 430.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.267, allocations: 0.6875 MB / 431.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.2675, allocations: 279.7 kB / 431.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.2703, allocations: 2.848 MB / 434.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.2724, allocations: 1.859 MB / 436.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.2747, allocations: 1.324 MB / 437.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.2766, allocations: 1.576 MB / 439 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004274/0.2771, allocations: 352 kB / 439.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007061/0.2778, allocations: 439.8 kB / 439.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000818/0.2786, allocations: 0.9038 MB / 440.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.2802, allocations: 1.525 MB / 442.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.2848, allocations: 4.644 MB / 446.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2848, allocations: 4 kB / 446.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2848, allocations: 0 / 446.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.157e-05/0.2849, allocations: 0 / 446.8 MB, free: 14.05 MB / 366.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.005601/0.2905, allocations: 3.046 MB / 449.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2905, allocations: 8.031 kB / 449.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009899/0.2915, allocations: 347.1 kB / 450.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.2942, allocations: 1.675 MB / 451.9 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.2944, allocations: 168.4 kB / 452.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.2947, allocations: 212 kB / 452.3 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005263/0.3, allocations: 3.186 MB / 455.4 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.3, allocations: 3.938 kB / 455.5 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.3002, allocations: 88 kB / 455.5 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.3003, allocations: 116.4 kB / 455.6 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004778/0.3051, allocations: 2.727 MB / 458.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/0.3196, allocations: 8.774 MB / 467.2 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.3236, allocations: 3.289 MB / 470.4 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.3256, allocations: 1.226 MB / 471.7 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.3258, allocations: 130.3 kB / 471.8 MB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.3259, allocations: 55.88 kB / 471.8 MB, free: 4.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 2.976e-06/0.3259, allocations: 0 / 471.8 MB, free: 4.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.0113/0.3372, allocations: 5.773 MB / 477.6 MB, free: 14.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.3373, allocations: 68.72 kB / 477.7 MB, free: 14.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.3395, allocations: 1.502 MB / 479.2 MB, free: 12.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/0.3396, allocations: 49.69 kB / 479.2 MB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008278/0.3405, allocations: 0.9628 MB / 480.2 MB, free: 11.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/0.3409, allocations: 464 kB / 480.7 MB, free: 11.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003826/0.3413, allocations: 222.9 kB / 480.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3415, allocations: 353.9 kB / 481.2 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.3426, allocations: 0.6935 MB / 481.9 MB, free: 10.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.3439, allocations: 0.8629 MB / 482.8 MB, free: 9.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/0.3464, allocations: 1.601 MB / 484.4 MB, free: 7.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3464, allocations: 3.938 kB / 484.4 MB, free: 7.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004026/0.3504, allocations: 2.299 MB / 486.7 MB, free: 5.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3504, allocations: 4 kB / 486.7 MB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.3504, allocations: 7.984 kB / 486.7 MB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/0.3531, allocations: 0.8228 MB / 487.5 MB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.3539, allocations: 203.7 kB / 487.7 MB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.3673, allocations: 11.49 MB / 499.2 MB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008698/0.3682, allocations: 55.86 kB / 499.3 MB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.3682, allocations: 44 kB / 499.3 MB, free: 7.938 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.001281/0.3695, allocations: 0.8214 MB / 0.4884 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.3698, allocations: 163 kB / 0.4886 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/0.3738, allocations: 2.257 MB / 0.4908 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.3738, allocations: 12 kB / 0.4908 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3738, allocations: 4 kB / 0.4908 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.3738, allocations: 7.969 kB / 0.4908 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00779/0.3816, allocations: 4.699 MB / 0.4954 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.3816, allocations: 8.062 kB / 0.4954 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.3823, allocations: 151.8 kB / 0.4955 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/0.3849, allocations: 0.8152 MB / 0.4963 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.385, allocations: 35.98 kB / 0.4964 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.3985, allocations: 11.38 MB / 0.5075 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3985, allocations: 8 kB / 0.5075 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005339/0.4038, allocations: 3.221 MB / 0.5106 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007588/0.4046, allocations: 412 kB / 0.511 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.4048, allocations: 28 kB / 0.511 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.4055, allocations: 63.94 kB / 0.5111 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.4058, allocations: 125 kB / 0.5112 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/0.4059, allocations: 32 kB / 0.5112 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001554/0.4074, allocations: 1.064 MB / 0.5123 GB, free: 13.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4074, allocations: 480 / 0.5123 GB, free: 13.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00166/0.4091, allocations: 0.5156 MB / 0.5128 GB, free: 13.37 MB / 446.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.0004789/0.4096, allocations: 220.1 kB / 0.513 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003786/0.4134, allocations: 2.353 MB / 0.5153 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4134, allocations: 0 / 0.5153 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002419/0.4158, allocations: 1.586 MB / 0.5168 GB, free: 9.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.4177, allocations: 0.5025 MB / 0.5173 GB, free: 8.621 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007555/0.4252, allocations: 4.702 MB / 0.5219 GB, free: 3.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/0.4272, allocations: 2.039 MB / 0.5239 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008016/0.428, allocations: 309.5 kB / 0.5242 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.4282, allocations: 95.42 kB / 0.5243 GB, free: 1.391 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4282, allocations: 4 kB / 0.5243 GB, free: 1.387 MB / 446.1 MB Notification: Performance of Templates: time 0.2467/0.6749, allocations: 33.3 MB / 0.5568 GB, free: 109.5 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches