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.001265/0.001265, allocations: 113.8 kB / 17.74 MB, free: 5.355 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.001299/0.001299, allocations: 185.5 kB / 18.67 MB, free: 4.441 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 43.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2453, allocations: 49.44 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008874/0.2543, allocations: 6.865 MB / 408.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004922/0.2592, allocations: 2.268 MB / 410.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.2604, allocations: 55.75 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.2619, allocations: 452.8 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.264, allocations: 0.6602 MB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007451/0.2647, allocations: 267.6 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003238/0.268, allocations: 2.832 MB / 414.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002914/0.2709, allocations: 2.581 MB / 417.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.2732, allocations: 1.315 MB / 418.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.2754, allocations: 1.537 MB / 420.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004846/0.2759, allocations: 348 kB / 420.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008034/0.2767, allocations: 435.8 kB / 421 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007008/0.2774, allocations: 0.8922 MB / 421.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.2789, allocations: 1.525 MB / 423.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.2829, allocations: 4.615 MB / 428 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2829, allocations: 4 kB / 428 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2829, allocations: 3.938 kB / 428 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.528e-05/0.283, allocations: 0 / 428 MB, free: 14.12 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.00576/0.2888, allocations: 2.956 MB / 431 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2888, allocations: 15.97 kB / 431 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.2896, allocations: 317.6 kB / 431.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.292, allocations: 1.643 MB / 433 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.2921, allocations: 164.3 kB / 433.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.2924, allocations: 215.9 kB / 433.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004819/0.2972, allocations: 3.178 MB / 436.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.2973, allocations: 3.938 kB / 436.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/0.2975, allocations: 88 kB / 436.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.2976, allocations: 112.4 kB / 436.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004148/0.3018, allocations: 2.73 MB / 439.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.3141, allocations: 8.756 MB / 448.2 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.3173, allocations: 3.383 MB / 451.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.3191, allocations: 1.308 MB / 452.9 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.3194, allocations: 134.3 kB / 453 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3194, allocations: 55.81 kB / 453.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.337e-06/0.3194, allocations: 0 / 453.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01029/0.3297, allocations: 5.738 MB / 458.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3298, allocations: 68.72 kB / 458.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.3318, allocations: 1.49 MB / 460.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.332, allocations: 53.64 kB / 460.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006275/0.3326, allocations: 0.9408 MB / 461.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.3329, allocations: 449.5 kB / 461.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.3333, allocations: 214.9 kB / 462 MB, free: 11.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3334, allocations: 361.9 kB / 462.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.3345, allocations: 0.6896 MB / 463.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3357, allocations: 0.8668 MB / 463.9 MB, free: 9.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.3378, allocations: 1.601 MB / 465.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3378, allocations: 3.938 kB / 465.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003726/0.3416, allocations: 2.306 MB / 467.8 MB, free: 5.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3416, allocations: 8 kB / 467.8 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3416, allocations: 4 kB / 467.8 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002714/0.3443, allocations: 0.8311 MB / 468.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/0.3452, allocations: 199.7 kB / 468.9 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.3571, allocations: 11.47 MB / 480.3 MB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.3582, allocations: 55.86 kB / 480.4 MB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.3584, allocations: 43.94 kB / 480.4 MB, free: 8.066 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.001204/0.3596, allocations: 0.8236 MB / 481.3 MB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.3599, allocations: 162.1 kB / 481.4 MB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/0.3638, allocations: 2.273 MB / 483.7 MB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3638, allocations: 12 kB / 483.7 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3638, allocations: 4 kB / 483.7 MB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/0.3638, allocations: 7.969 kB / 483.7 MB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/0.3713, allocations: 4.723 MB / 488.4 MB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3713, allocations: 4 kB / 488.4 MB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006974/0.372, allocations: 151.8 kB / 488.6 MB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002432/0.3744, allocations: 0.8115 MB / 489.4 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/0.3745, allocations: 31.98 kB / 489.4 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.3866, allocations: 11.38 MB / 0.4891 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3866, allocations: 3.938 kB / 0.4891 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/0.3917, allocations: 3.227 MB / 0.4922 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/0.3925, allocations: 403.1 kB / 0.4926 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.3927, allocations: 31.98 kB / 0.4926 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/0.3935, allocations: 67.86 kB / 0.4927 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.3937, allocations: 121 kB / 0.4928 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/0.3938, allocations: 35.98 kB / 0.4929 GB, free: 15.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001363/0.3952, allocations: 1.056 MB / 0.4939 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3952, allocations: 0 / 0.4939 GB, free: 13.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001568/0.3968, allocations: 0.5117 MB / 0.4944 GB, free: 13.47 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.0004287/0.3972, allocations: 222.2 kB / 0.4946 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003474/0.4007, allocations: 2.404 MB / 0.4969 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4007, allocations: 0 / 0.4969 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.403, allocations: 1.629 MB / 0.4985 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.4051, allocations: 0.5021 MB / 0.499 GB, free: 8.621 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007266/0.4124, allocations: 4.621 MB / 0.5035 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.4139, allocations: 1.979 MB / 0.5055 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.4143, allocations: 99.42 kB / 0.5056 GB, free: 1.844 MB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4143, allocations: 0 / 0.5056 GB, free: 1.844 MB / 430.1 MB Notification: Performance of Templates: time 0.2314/0.6457, allocations: 75.58 MB / 0.5794 GB, free: 99.79 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/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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches