Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001162/0.001163, allocations: 100.3 kB / 18.39 MB, free: 4.66 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.001287/0.001287, allocations: 188.2 kB / 19.33 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 51.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08528, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.1692/0.2545, allocations: 6.809 MB / 382.6 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004217/0.2588, allocations: 2.34 MB / 385 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009272/0.2598, allocations: 39.06 kB / 385 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.2609, allocations: 452.8 kB / 385.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.2627, allocations: 0.6704 MB / 386.1 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.2634, allocations: 279 kB / 386.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003171/0.2666, allocations: 2.912 MB / 389.3 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.2692, allocations: 2.445 MB / 391.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.2718, allocations: 1.314 MB / 393.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.2743, allocations: 1.538 MB / 394.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006134/0.2749, allocations: 349.9 kB / 394.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.276, allocations: 429.6 kB / 395.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007311/0.2767, allocations: 0.8975 MB / 396.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.2789, allocations: 1.52 MB / 397.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005329/0.2842, allocations: 4.617 MB / 402.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2842, allocations: 0 / 402.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2842, allocations: 1.188 kB / 402.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001078/0.2844, allocations: 4 kB / 402.4 MB, free: 0.5508 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006709/0.2911, allocations: 2.951 MB / 405.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2911, allocations: 9.906 kB / 405.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.2921, allocations: 306.5 kB / 405.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/0.2948, allocations: 1.52 MB / 407.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.2949, allocations: 160.5 kB / 407.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/0.2953, allocations: 222.5 kB / 407.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005552/0.3008, allocations: 3.172 MB / 410.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.3009, allocations: 1.125 kB / 410.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/0.3011, allocations: 91.52 kB / 410.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.3012, allocations: 109.5 kB / 410.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004574/0.3058, allocations: 2.728 MB / 413.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/0.3194, allocations: 8.775 MB / 422.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.3227, allocations: 3.382 MB / 425.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.3245, allocations: 1.319 MB / 427.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.3248, allocations: 126.4 kB / 427.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3248, allocations: 51.81 kB / 427.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.3248, allocations: 3.938 kB / 427.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01025/0.3351, allocations: 5.636 MB / 433 MB, free: 5.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3352, allocations: 68.72 kB / 433 MB, free: 5.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.3373, allocations: 1.494 MB / 434.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.3374, allocations: 49.7 kB / 434.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006372/0.338, allocations: 0.9408 MB / 435.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/0.3384, allocations: 449.5 kB / 435.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.3387, allocations: 218.9 kB / 436.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3389, allocations: 353.9 kB / 436.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009818/0.3399, allocations: 0.6974 MB / 437.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.341, allocations: 0.8638 MB / 438.1 MB, free: 408 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.3431, allocations: 1.602 MB / 439.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.3431, allocations: 4 kB / 439.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003748/0.3469, allocations: 2.321 MB / 442 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3469, allocations: 11.91 kB / 442 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3469, allocations: 4 kB / 442 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002526/0.3495, allocations: 0.815 MB / 442.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.3503, allocations: 207.7 kB / 443 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.3621, allocations: 11.5 MB / 454.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.3635, allocations: 59.94 kB / 454.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.3636, allocations: 39.98 kB / 454.6 MB, free: 15.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.001377/0.365, allocations: 0.8213 MB / 455.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.3654, allocations: 158.1 kB / 455.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.369, allocations: 2.273 MB / 457.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.369, allocations: 12 kB / 457.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.369, allocations: 4 kB / 457.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.3691, allocations: 11.97 kB / 457.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007492/0.3766, allocations: 4.707 MB / 462.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3766, allocations: 3.938 kB / 462.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.3772, allocations: 159.8 kB / 462.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/0.3796, allocations: 0.8078 MB / 463.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.3797, allocations: 31.98 kB / 463.6 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.3913, allocations: 11.39 MB / 475 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3913, allocations: 4.031 kB / 475 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/0.396, allocations: 3.235 MB / 478.2 MB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009305/0.397, allocations: 403.1 kB / 478.6 MB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.3972, allocations: 28 kB / 478.6 MB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007542/0.398, allocations: 75.84 kB / 478.7 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/0.3983, allocations: 117.1 kB / 478.8 MB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.3984, allocations: 32 kB / 478.9 MB, free: 6.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001472/0.3998, allocations: 1.056 MB / 479.9 MB, free: 5.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3998, allocations: 0 / 479.9 MB, free: 5.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001911/0.4018, allocations: 0.5195 MB / 480.4 MB, free: 4.602 MB / 398.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.0004936/0.4023, allocations: 212 kB / 480.6 MB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.406, allocations: 2.412 MB / 483.1 MB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.406, allocations: 0 / 483.1 MB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.4083, allocations: 1.637 MB / 484.7 MB, free: 240 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.4107, allocations: 0.508 MB / 485.2 MB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007606/0.4183, allocations: 4.604 MB / 489.8 MB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/0.42, allocations: 1.987 MB / 491.8 MB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.4204, allocations: 103.4 kB / 491.9 MB, free: 8.945 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4204, allocations: 0 / 491.9 MB, free: 8.945 MB / 414.1 MB Notification: Performance of Templates: time 0.2494/0.6698, allocations: 75.88 MB / 0.5545 GB, free: 156.7 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches