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.001244/0.001244, allocations: 100.4 kB / 17.58 MB, free: 5.418 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.001348/0.001348, allocations: 192 kB / 18.51 MB, free: 4.508 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.462/1.462, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001325/0.001325, allocations: 47.92 kB / 280.7 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 46.62 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009164/0.1165, allocations: 6.821 MB / 334.1 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00521/0.1218, allocations: 2.334 MB / 336.4 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.1232, allocations: 39.81 kB / 336.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.1248, allocations: 448.9 kB / 336.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.1272, allocations: 0.6642 MB / 337.6 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.128, allocations: 279.6 kB / 337.8 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003629/0.1317, allocations: 2.902 MB / 340.8 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/0.1344, allocations: 2.447 MB / 343.2 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.1369, allocations: 1.319 MB / 344.5 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.1391, allocations: 1.522 MB / 346 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004286/0.1396, allocations: 355.9 kB / 346.4 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009324/0.1405, allocations: 431.8 kB / 346.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008682/0.1414, allocations: 0.8922 MB / 347.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.1433, allocations: 1.525 MB / 349.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004438/0.1477, allocations: 4.572 MB / 353.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1477, allocations: 0 / 353.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.1477, allocations: 4 kB / 353.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.172e-05/0.1478, allocations: 0 / 353.8 MB, free: 9.805 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.005782/0.1536, allocations: 2.952 MB / 356.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1537, allocations: 8.031 kB / 356.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007676/0.1545, allocations: 309.6 kB / 357.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.1567, allocations: 1.511 MB / 358.6 MB, free: 4.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.1569, allocations: 164.4 kB / 358.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.1572, allocations: 216 kB / 358.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/0.162, allocations: 3.174 MB / 362.1 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.162, allocations: 3.938 kB / 362.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.1622, allocations: 88 kB / 362.2 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.1623, allocations: 112.4 kB / 362.3 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004385/0.1667, allocations: 2.727 MB / 365 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.1805, allocations: 8.884 MB / 373.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.1839, allocations: 3.398 MB / 377.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.1858, allocations: 1.327 MB / 378.7 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.1861, allocations: 118.4 kB / 378.8 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.1862, allocations: 51.81 kB / 378.8 MB, free: 40 kB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.306e-06/0.1862, allocations: 0 / 378.8 MB, free: 40 kB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2053/0.3915, allocations: 5.623 MB / 384.4 MB, free: 50.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.3916, allocations: 73.47 kB / 384.5 MB, free: 50.49 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.3938, allocations: 1.49 MB / 386 MB, free: 49.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.3938, allocations: 54.89 kB / 386.1 MB, free: 49.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006013/0.3944, allocations: 0.9358 MB / 387 MB, free: 49.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.3948, allocations: 448.8 kB / 387.4 MB, free: 48.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.3951, allocations: 220 kB / 387.6 MB, free: 48.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3952, allocations: 355.5 kB / 388 MB, free: 48.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.3962, allocations: 0.698 MB / 388.7 MB, free: 48.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.3974, allocations: 0.8658 MB / 389.6 MB, free: 47.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.3995, allocations: 1.607 MB / 391.2 MB, free: 46.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.3995, allocations: 5.031 kB / 391.2 MB, free: 46.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003215/0.4027, allocations: 2.31 MB / 393.5 MB, free: 46.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4028, allocations: 6.406 kB / 393.5 MB, free: 46.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.4028, allocations: 8.188 kB / 393.5 MB, free: 46.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/0.4052, allocations: 0.8262 MB / 394.3 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007109/0.4059, allocations: 207.5 kB / 394.5 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009112/0.415, allocations: 11.51 MB / 406 MB, free: 36.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/0.416, allocations: 52.03 kB / 406.1 MB, free: 36.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.4161, allocations: 47.8 kB / 406.1 MB, free: 36.16 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.001275/0.4174, allocations: 0.8135 MB / 406.9 MB, free: 35.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.4176, allocations: 162.1 kB / 407.1 MB, free: 35.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.4206, allocations: 2.269 MB / 409.4 MB, free: 32.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4206, allocations: 19.28 kB / 409.4 MB, free: 32.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4206, allocations: 4 kB / 409.4 MB, free: 32.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.4206, allocations: 3.984 kB / 409.4 MB, free: 32.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.4262, allocations: 4.734 MB / 414.1 MB, free: 28.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4263, allocations: 4 kB / 414.1 MB, free: 28.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.4268, allocations: 165.1 kB / 414.3 MB, free: 27.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/0.4289, allocations: 0.8088 MB / 415.1 MB, free: 27.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.429, allocations: 35.98 kB / 415.1 MB, free: 27.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008141/0.4372, allocations: 11.39 MB / 426.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4372, allocations: 0 / 426.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.4409, allocations: 3.24 MB / 429.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/0.4415, allocations: 411.1 kB / 430.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.4417, allocations: 24 kB / 430.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/0.4424, allocations: 72.41 kB / 430.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.4426, allocations: 117.1 kB / 430.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.4427, allocations: 36 kB / 430.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.4437, allocations: 1.056 MB / 431.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4437, allocations: 0 / 431.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00168/0.4454, allocations: 0.5195 MB / 432 MB, free: 9.59 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.000458/0.4459, allocations: 210.1 kB / 432.2 MB, free: 9.387 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003655/0.4496, allocations: 2.936 MB / 435.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4496, allocations: 0 / 435.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.4513, allocations: 1.639 MB / 436.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.4529, allocations: 0.5024 MB / 437.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.4588, allocations: 4.665 MB / 441.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.4603, allocations: 2.043 MB / 444 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007818/0.4611, allocations: 313.5 kB / 444.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.4613, allocations: 91.44 kB / 444.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4613, allocations: 3.828 kB / 444.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Templates: time 0.05036/0.5117, allocations: 32.56 MB / 476.9 MB, free: 12.46 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/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