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.Rectifier12pulse.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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001809/0.001809, allocations: 207.8 kB / 19.25 MB, free: 3.941 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.451/1.451, allocations: 227.7 MB / 247.7 MB, free: 10.36 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.002784/0.002784, allocations: 61.22 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.1008, allocations: 50.53 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01266/0.1135, allocations: 10.73 MB / 369.2 MB, free: 3.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1626/0.2761, allocations: 3.234 MB / 372.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.2781, allocations: 86.41 kB / 372.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.2797, allocations: 0.6998 MB / 373.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.2824, allocations: 1.135 MB / 374.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.2833, allocations: 478.7 kB / 374.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004953/0.2882, allocations: 5.124 MB / 379.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004995/0.2933, allocations: 4.791 MB / 384.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004387/0.2977, allocations: 2.386 MB / 387.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003803/0.3015, allocations: 2.763 MB / 389.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009342/0.3024, allocations: 0.6223 MB / 390.5 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.3041, allocations: 0.7094 MB / 391.2 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.3054, allocations: 1.629 MB / 392.8 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003014/0.3084, allocations: 2.773 MB / 395.6 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007647/0.3161, allocations: 8.354 MB / 403.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3161, allocations: 0 / 403.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3162, allocations: 0 / 403.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002357/0.3164, allocations: 0 / 403.9 MB, free: 10.75 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01147/0.3279, allocations: 5.11 MB / 409 MB, free: 5.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3279, allocations: 8.031 kB / 409 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.3296, allocations: 0.5771 MB / 409.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004805/0.3344, allocations: 2.764 MB / 412.4 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.3347, allocations: 294.2 kB / 412.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006184/0.3353, allocations: 390.8 kB / 413.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.3459, allocations: 5.806 MB / 418.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.106e-05/0.346, allocations: 7.922 kB / 418.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003901/0.3463, allocations: 162.3 kB / 419 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/0.3466, allocations: 204 kB / 419.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009954/0.3565, allocations: 5.016 MB / 424.2 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0299/0.3865, allocations: 16.4 MB / 440.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00767/0.3942, allocations: 6.79 MB / 447.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004048/0.3982, allocations: 2.644 MB / 450.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/0.3986, allocations: 135.1 kB / 450.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.3986, allocations: 64.55 kB / 450.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=249): time 4.488e-06/0.3986, allocations: 0 / 450.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=256): time 0.02126/0.4199, allocations: 10.69 MB / 461 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.42, allocations: 85.42 kB / 461.1 MB, free: 500 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004344/0.4244, allocations: 2.636 MB / 463.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/0.4247, allocations: 73.7 kB / 463.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.4261, allocations: 1.645 MB / 465.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008609/0.4269, allocations: 0.8331 MB / 466.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007065/0.4277, allocations: 416.5 kB / 466.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4278, allocations: 305.1 kB / 466.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.43, allocations: 1.348 MB / 468.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.4325, allocations: 1.646 MB / 469.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004815/0.4373, allocations: 3.083 MB / 473 MB, free: 4.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.4374, allocations: 3.938 kB / 473 MB, free: 4.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008152/0.4455, allocations: 4.466 MB / 477.5 MB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.4456, allocations: 8 kB / 477.5 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4456, allocations: 4 kB / 477.5 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005507/0.4511, allocations: 1.659 MB / 479.2 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.4528, allocations: 387.5 kB / 479.5 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02934/0.4822, allocations: 25.75 MB / 0.4934 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.4842, allocations: 99.86 kB / 0.4935 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.4845, allocations: 76 kB / 0.4936 GB, free: 2.336 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002468/0.487, allocations: 1.411 MB / 0.495 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006737/0.4876, allocations: 300.5 kB / 0.4953 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008054/0.4957, allocations: 4.38 MB / 0.4996 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.4957, allocations: 24 kB / 0.4996 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.4958, allocations: 12 kB / 0.4996 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.4958, allocations: 15.89 kB / 0.4996 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.5117, allocations: 8.897 MB / 0.5083 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.5117, allocations: 0 / 0.5083 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.513, allocations: 283.7 kB / 0.5086 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005377/0.5184, allocations: 1.626 MB / 0.5102 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/0.5187, allocations: 55.98 kB / 0.5102 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1757/0.6944, allocations: 25.49 MB / 0.5351 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6944, allocations: 1.531 kB / 0.5351 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009035/0.7035, allocations: 6.088 MB / 0.541 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.705, allocations: 0.6745 MB / 0.5417 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/0.7055, allocations: 58.56 kB / 0.5418 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.7069, allocations: 123.4 kB / 0.5419 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005361/0.7075, allocations: 208.4 kB / 0.5421 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.7076, allocations: 68.83 kB / 0.5421 GB, free: 130.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002679/0.7103, allocations: 1.854 MB / 0.544 GB, free: 130.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7103, allocations: 0 / 0.544 GB, free: 130.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003434/0.7137, allocations: 0.9553 MB / 0.5449 GB, free: 130 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005563/0.7143, allocations: 251.2 kB / 0.5451 GB, free: 129.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009978/0.7243, allocations: 6.96 MB / 0.5519 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7243, allocations: 2.406 kB / 0.5519 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003586/0.7279, allocations: 3.361 MB / 0.5552 GB, free: 125.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/0.7313, allocations: 0.9611 MB / 0.5561 GB, free: 125.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.7416, allocations: 8.523 MB / 0.5645 GB, free: 120.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/0.7436, allocations: 3.095 MB / 0.5675 GB, free: 118.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.7442, allocations: 175.2 kB / 0.5677 GB, free: 117.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.7442, allocations: 0 / 0.5677 GB, free: 117.9 MB / 446.1 MB Notification: Performance of Templates: time 0.3318/1.076, allocations: 261.8 MB / 0.8233 GB, free: 35.61 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches