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: 104.9 kB / 17.72 MB, free: 5.242 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.001248/0.001248, allocations: 188.1 kB / 18.66 MB, free: 4.312 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.848/1.848, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001351/0.001351, allocations: 51.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1187, allocations: 46.62 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.2704/0.3892, allocations: 6.814 MB / 382 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005357/0.3946, allocations: 2.334 MB / 384.3 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.3963, allocations: 38.69 kB / 384.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.398, allocations: 458.9 kB / 384.8 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.4009, allocations: 0.6707 MB / 385.5 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008719/0.4017, allocations: 281.3 kB / 385.7 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003915/0.4057, allocations: 2.918 MB / 388.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.409, allocations: 2.445 MB / 391.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.4125, allocations: 1.31 MB / 392.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.416, allocations: 1.534 MB / 393.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.4172, allocations: 348.4 kB / 394.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.4191, allocations: 432.6 kB / 394.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009499/0.4201, allocations: 0.8864 MB / 395.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.4231, allocations: 1.532 MB / 397.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00606/0.4292, allocations: 4.618 MB / 401.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4292, allocations: 0 / 401.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4292, allocations: 0 / 401.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001453/0.4294, allocations: 0 / 401.7 MB, free: 0.5352 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.008504/0.4379, allocations: 2.956 MB / 404.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.438, allocations: 9.688 kB / 404.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.439, allocations: 307.6 kB / 405 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.442, allocations: 1.516 MB / 406.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.4422, allocations: 167.9 kB / 406.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004071/0.4426, allocations: 214 kB / 406.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006454/0.4491, allocations: 3.18 MB / 410.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.4491, allocations: 0 / 410.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.4494, allocations: 87.5 kB / 410.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.4495, allocations: 109.4 kB / 410.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005207/0.4547, allocations: 2.726 MB / 413 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01592/0.4707, allocations: 8.779 MB / 421.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/0.4742, allocations: 3.378 MB / 425.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.4761, allocations: 1.319 MB / 426.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.4764, allocations: 134.4 kB / 426.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.4765, allocations: 51.81 kB / 426.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.657e-06/0.4765, allocations: 0 / 426.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01314/0.4897, allocations: 5.637 MB / 432.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.4898, allocations: 64.72 kB / 432.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.4927, allocations: 1.494 MB / 433.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.4929, allocations: 49.7 kB / 433.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008858/0.4938, allocations: 0.9409 MB / 434.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/0.4944, allocations: 449.5 kB / 435.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004598/0.4949, allocations: 214.9 kB / 435.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.4951, allocations: 361.9 kB / 435.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.4964, allocations: 0.6896 MB / 436.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4977, allocations: 0.8754 MB / 437.4 MB, free: 384 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.5002, allocations: 1.609 MB / 439 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5002, allocations: 0 / 439 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004668/0.5049, allocations: 2.314 MB / 441.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.505, allocations: 12.03 kB / 441.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.505, allocations: 4 kB / 441.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/0.5078, allocations: 0.815 MB / 442.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009675/0.5088, allocations: 199.7 kB / 442.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.5227, allocations: 11.5 MB / 453.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.5244, allocations: 55.92 kB / 453.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.5245, allocations: 48 kB / 453.9 MB, free: 15.18 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.001903/0.5264, allocations: 0.8213 MB / 454.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/0.527, allocations: 162.1 kB / 454.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.5316, allocations: 2.269 MB / 457.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.5316, allocations: 12 kB / 457.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.5316, allocations: 4 kB / 457.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.5316, allocations: 7.969 kB / 457.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008934/0.5406, allocations: 4.718 MB / 461.9 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.5406, allocations: 4.062 kB / 461.9 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/0.5414, allocations: 159.8 kB / 462.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/0.544, allocations: 0.8078 MB / 462.9 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.5441, allocations: 31.94 kB / 462.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/0.5574, allocations: 11.38 MB / 474.3 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5575, allocations: 96 / 474.3 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005932/0.5634, allocations: 3.243 MB / 477.6 MB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/0.5649, allocations: 399.1 kB / 477.9 MB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.5652, allocations: 28 kB / 478 MB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.5661, allocations: 71.84 kB / 478 MB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003937/0.5665, allocations: 121.1 kB / 478.2 MB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.568e-05/0.5666, allocations: 35.98 kB / 478.2 MB, free: 6.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001985/0.5686, allocations: 1.056 MB / 479.3 MB, free: 5.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5686, allocations: 0 / 479.3 MB, free: 5.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002585/0.5712, allocations: 0.5195 MB / 479.8 MB, free: 4.582 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.0007375/0.5719, allocations: 210.8 kB / 480 MB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004673/0.5766, allocations: 2.408 MB / 482.4 MB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.5766, allocations: 4 kB / 482.4 MB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002731/0.5794, allocations: 1.637 MB / 484 MB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.5824, allocations: 0.5092 MB / 484.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009162/0.5915, allocations: 4.614 MB / 489.2 MB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/0.5936, allocations: 2.039 MB / 491.2 MB, free: 8.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001116/0.5947, allocations: 313.5 kB / 491.5 MB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.595, allocations: 99.42 kB / 491.6 MB, free: 8.559 MB / 414.1 MB Notification: Performance of SimCode: time 1.021e-06/0.595, allocations: 0 / 491.6 MB, free: 8.559 MB / 414.1 MB Notification: Performance of Templates: time 0.05972/0.6547, allocations: 33.04 MB / 0.5123 GB, free: 7.449 MB / 446.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