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.001086/0.001086, allocations: 106.2 kB / 18.25 MB, free: 4.785 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.001058/0.001058, allocations: 195.3 kB / 19.18 MB, free: 3.863 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.314/1.314, allocations: 205.1 MB / 225 MB, free: 12.3 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.001172/0.001172, allocations: 56.12 kB / 281.3 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08112/0.0823, allocations: 46.62 MB / 328 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00764/0.08997, allocations: 6.814 MB / 334.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.0941, allocations: 2.33 MB / 337.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.09458, allocations: 43.75 kB / 337.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009318/0.09552, allocations: 448.9 kB / 337.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.09683, allocations: 0.6603 MB / 338.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.09729, allocations: 283.6 kB / 338.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002482/0.09978, allocations: 2.902 MB / 341.4 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.1022, allocations: 2.454 MB / 343.9 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.1043, allocations: 1.315 MB / 345.2 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.1061, allocations: 1.529 MB / 346.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004179/0.1065, allocations: 352 kB / 347.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007291/0.1072, allocations: 431.8 kB / 347.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007382/0.108, allocations: 0.8922 MB / 348.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.1094, allocations: 1.525 MB / 349.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.1133, allocations: 4.564 MB / 354.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.1133, allocations: 4 kB / 354.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1133, allocations: 7.938 kB / 354.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.768e-05/0.1133, allocations: 0 / 354.5 MB, free: 9.797 MB / 302.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.005119/0.1185, allocations: 2.948 MB / 357.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1185, allocations: 15.97 kB / 357.4 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007204/0.1192, allocations: 309.6 kB / 357.7 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.1214, allocations: 1.507 MB / 359.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.1216, allocations: 164.4 kB / 359.4 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/0.1219, allocations: 216 kB / 359.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004784/0.1267, allocations: 3.171 MB / 362.8 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.1267, allocations: 4 kB / 362.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.1269, allocations: 91.98 kB / 362.9 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.1271, allocations: 112.4 kB / 363 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/0.1314, allocations: 2.723 MB / 365.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.1445, allocations: 8.9 MB / 374.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/0.1479, allocations: 3.378 MB / 378 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.1499, allocations: 1.331 MB / 379.3 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.1502, allocations: 118.4 kB / 379.4 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.1502, allocations: 51.81 kB / 379.5 MB, free: 36 kB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 2.866e-06/0.1503, allocations: 0 / 379.5 MB, free: 36 kB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.1528/0.303, allocations: 5.631 MB / 385.1 MB, free: 50.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3031, allocations: 69.56 kB / 385.2 MB, free: 50.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.3051, allocations: 1.49 MB / 386.7 MB, free: 49.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/0.3052, allocations: 47.39 kB / 386.7 MB, free: 49.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00053/0.3057, allocations: 0.9404 MB / 387.7 MB, free: 48.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.306, allocations: 445.3 kB / 388.1 MB, free: 48.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/0.3063, allocations: 224.9 kB / 388.3 MB, free: 48.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.3064, allocations: 358.5 kB / 388.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.3074, allocations: 0.6914 MB / 389.4 MB, free: 47.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.3085, allocations: 0.8662 MB / 390.2 MB, free: 47.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.3106, allocations: 1.611 MB / 391.8 MB, free: 46.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3106, allocations: 9.031 kB / 391.8 MB, free: 46.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003255/0.3139, allocations: 2.303 MB / 394.2 MB, free: 45.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3139, allocations: 6.75 kB / 394.2 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.3139, allocations: 4.75 kB / 394.2 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/0.3164, allocations: 0.8267 MB / 395 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/0.3172, allocations: 208.4 kB / 395.2 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008933/0.3262, allocations: 11.52 MB / 406.7 MB, free: 36.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008409/0.327, allocations: 51.95 kB / 406.8 MB, free: 36.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.3271, allocations: 44 kB / 406.8 MB, free: 35.99 MB / 318.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.0009118/0.328, allocations: 0.8096 MB / 407.6 MB, free: 35.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.3282, allocations: 162.1 kB / 407.8 MB, free: 35.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.3313, allocations: 2.273 MB / 410 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.3313, allocations: 12.89 kB / 410.1 MB, free: 32.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3313, allocations: 4 kB / 410.1 MB, free: 32.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.3313, allocations: 7.969 kB / 410.1 MB, free: 32.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005639/0.337, allocations: 4.743 MB / 414.8 MB, free: 27.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.337, allocations: 0 / 414.8 MB, free: 27.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.3376, allocations: 159.8 kB / 415 MB, free: 27.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/0.3398, allocations: 0.8229 MB / 415.8 MB, free: 26.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.3399, allocations: 28 kB / 415.8 MB, free: 26.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008416/0.3483, allocations: 11.39 MB / 427.2 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3484, allocations: 10 kB / 427.2 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/0.3521, allocations: 3.233 MB / 430.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/0.3527, allocations: 403.1 kB / 430.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.3529, allocations: 32 kB / 430.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/0.3537, allocations: 63.94 kB / 430.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.3539, allocations: 121.1 kB / 431.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.354, allocations: 32 kB / 431.1 MB, free: 11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.3551, allocations: 1.064 MB / 432.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3551, allocations: 0 / 432.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001618/0.3567, allocations: 0.5117 MB / 432.7 MB, free: 9.418 MB / 318.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.0004111/0.3572, allocations: 203.9 kB / 432.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003864/0.361, allocations: 2.935 MB / 435.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.361, allocations: 0 / 435.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.3629, allocations: 1.635 MB / 437.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.3646, allocations: 0.508 MB / 437.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005972/0.3706, allocations: 4.663 MB / 442.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.3723, allocations: 1.987 MB / 444.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.3726, allocations: 99.42 kB / 444.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3726, allocations: 4 kB / 444.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Templates: time 0.07584/0.4484, allocations: 75.46 MB / 0.508 GB, free: 1.629 MB / 398.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