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.0011/0.0011, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001159/0.00116, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.469/1.469, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001221/0.001221, allocations: 51.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.09073, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008608/0.09938, allocations: 6.832 MB / 335.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004924/0.1043, allocations: 2.318 MB / 337.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.1056, allocations: 39.81 kB / 337.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1068, allocations: 460.9 kB / 338.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.1089, allocations: 0.6602 MB / 339 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.1096, allocations: 287.7 kB / 339.3 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.1127, allocations: 2.91 MB / 342.2 MB, free: 6.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/0.1152, allocations: 2.447 MB / 344.7 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.1176, allocations: 1.318 MB / 346 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.1201, allocations: 1.526 MB / 347.5 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005817/0.1207, allocations: 348 kB / 347.8 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009381/0.1216, allocations: 443.8 kB / 348.3 MB, free: 72 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007901/0.1225, allocations: 0.8922 MB / 349.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.1246, allocations: 1.525 MB / 350.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004219/0.1289, allocations: 4.6 MB / 355.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1289, allocations: 0 / 355.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1289, allocations: 0 / 355.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001075/0.129, allocations: 0 / 355.3 MB, free: 9.031 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.005866/0.1349, allocations: 2.963 MB / 358.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1349, allocations: 8.031 kB / 358.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/0.1357, allocations: 309.6 kB / 358.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/0.1385, allocations: 1.522 MB / 360.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1386, allocations: 168.4 kB / 360.3 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/0.1389, allocations: 208 kB / 360.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004914/0.1439, allocations: 3.178 MB / 363.6 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/0.1439, allocations: 3.938 kB / 363.6 MB, free: 480 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.1441, allocations: 92 kB / 363.7 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.1443, allocations: 108.4 kB / 363.8 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004445/0.1487, allocations: 2.719 MB / 366.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01486/0.1636, allocations: 8.783 MB / 375.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/0.1673, allocations: 3.39 MB / 378.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1515/0.3188, allocations: 1.319 MB / 380 MB, free: 51.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/0.3192, allocations: 123.9 kB / 380.2 MB, free: 51.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3193, allocations: 54.88 kB / 380.2 MB, free: 51.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.037e-06/0.3193, allocations: 0 / 380.2 MB, free: 51.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01268/0.332, allocations: 5.624 MB / 385.8 MB, free: 49.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.3321, allocations: 65.84 kB / 385.9 MB, free: 49.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003543/0.3357, allocations: 1.49 MB / 387.4 MB, free: 49.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.336, allocations: 51.2 kB / 387.4 MB, free: 49.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.3371, allocations: 0.9432 MB / 388.4 MB, free: 48.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006908/0.3379, allocations: 446.2 kB / 388.8 MB, free: 48.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005838/0.3385, allocations: 223.6 kB / 389 MB, free: 47.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3386, allocations: 360.5 kB / 389.4 MB, free: 47.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.3404, allocations: 0.6903 MB / 390.1 MB, free: 47.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.3423, allocations: 0.8737 MB / 391 MB, free: 46.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.3445, allocations: 1.61 MB / 392.6 MB, free: 46.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3445, allocations: 0 / 392.6 MB, free: 46.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003969/0.3485, allocations: 2.306 MB / 394.9 MB, free: 45.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3485, allocations: 6.875 kB / 394.9 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/0.3486, allocations: 6.781 kB / 394.9 MB, free: 45.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.3511, allocations: 0.8245 MB / 395.7 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.3519, allocations: 204.1 kB / 395.9 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008853/0.3607, allocations: 11.5 MB / 407.4 MB, free: 35.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.3618, allocations: 51.97 kB / 407.5 MB, free: 35.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/0.362, allocations: 43.98 kB / 407.5 MB, free: 35.25 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.001067/0.363, allocations: 0.8175 MB / 408.3 MB, free: 34.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.3633, allocations: 158.1 kB / 408.5 MB, free: 34.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.3664, allocations: 2.27 MB / 410.7 MB, free: 31.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.3664, allocations: 12 kB / 410.8 MB, free: 31.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.3664, allocations: 11.94 kB / 410.8 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3664, allocations: 3.984 kB / 410.8 MB, free: 31.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/0.3726, allocations: 4.707 MB / 415.5 MB, free: 27.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3726, allocations: 3.938 kB / 415.5 MB, free: 27.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.3733, allocations: 155.8 kB / 415.6 MB, free: 27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/0.3755, allocations: 0.8177 MB / 416.5 MB, free: 26.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/0.3756, allocations: 35.98 kB / 416.5 MB, free: 26.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008887/0.3845, allocations: 11.37 MB / 427.9 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3845, allocations: 12.03 kB / 427.9 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.3885, allocations: 3.234 MB / 431.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009177/0.3894, allocations: 411.1 kB / 431.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.3896, allocations: 28 kB / 431.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.3904, allocations: 63.94 kB / 431.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.3907, allocations: 121.1 kB / 431.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.3907, allocations: 32 kB / 431.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.3919, allocations: 1.056 MB / 432.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3919, allocations: 0 / 432.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001736/0.3937, allocations: 0.5193 MB / 433.3 MB, free: 8.715 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.000457/0.3941, allocations: 204.6 kB / 433.5 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002883/0.397, allocations: 2.406 MB / 435.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.397, allocations: 0 / 435.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.3989, allocations: 1.636 MB / 437.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.4007, allocations: 0.5088 MB / 438.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006106/0.4068, allocations: 4.626 MB / 442.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/0.4085, allocations: 2.039 MB / 444.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009015/0.4094, allocations: 309.5 kB / 445 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.4097, allocations: 95.44 kB / 445.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4097, allocations: 4 kB / 445.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Templates: time 0.05237/0.4621, allocations: 32.57 MB / 477.7 MB, free: 12.14 MB / 366.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 -s gbode -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