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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009989/0.0009987, allocations: 98.03 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.000258, allocations: 11.94 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2386, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.3584, allocations: 91.06 MB / 492.6 MB, free: 5.402 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.3588, allocations: 92.72 kB / 492.7 MB, free: 5.312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3403/0.6991, allocations: 63.61 MB / 0.5432 GB, free: 69.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6991, allocations: 0 / 0.5432 GB, free: 69.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.6993, allocations: 63.88 kB / 0.5433 GB, free: 69.16 MB / 378.7 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.004198/0.7035, allocations: 2.525 MB / 0.5457 GB, free: 66.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.7035, allocations: 8.031 kB / 0.5458 GB, free: 66.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006821/0.7042, allocations: 312.7 kB / 0.5461 GB, free: 66.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.7067, allocations: 1.576 MB / 0.5476 GB, free: 64.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.7068, allocations: 168.7 kB / 0.5478 GB, free: 64.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/0.707, allocations: 219.9 kB / 0.548 GB, free: 64.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/0.711, allocations: 3.082 MB / 0.551 GB, free: 61.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.711, allocations: 0 / 0.551 GB, free: 61.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.7112, allocations: 92 kB / 0.5511 GB, free: 60.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-05/0.7113, allocations: 112.4 kB / 0.5512 GB, free: 60.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.7147, allocations: 2.524 MB / 0.5536 GB, free: 58.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/0.7262, allocations: 8.897 MB / 0.5623 GB, free: 49.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.7286, allocations: 3.35 MB / 0.5656 GB, free: 45.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.7289, allocations: 138.4 kB / 0.5657 GB, free: 45.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.7289, allocations: 47.88 kB / 0.5658 GB, free: 45.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.958e-06/0.7289, allocations: 0 / 0.5658 GB, free: 45.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.009053/0.738, allocations: 5.703 MB / 0.5713 GB, free: 39.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.7381, allocations: 64.72 kB / 0.5714 GB, free: 39.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.7401, allocations: 1.343 MB / 0.5727 GB, free: 38.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.574e-05/0.7402, allocations: 45.7 kB / 0.5728 GB, free: 37.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000533/0.7407, allocations: 0.9371 MB / 0.5737 GB, free: 37.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.741, allocations: 441.6 kB / 0.5741 GB, free: 36.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.7411, allocations: 24 kB / 0.5741 GB, free: 36.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.7412, allocations: 357.9 kB / 0.5745 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008857/0.7421, allocations: 0.6935 MB / 0.5751 GB, free: 35.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009429/0.743, allocations: 0.8543 MB / 0.576 GB, free: 34.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009948/0.744, allocations: 0.8183 MB / 0.5768 GB, free: 33.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.744, allocations: 4 kB / 0.5768 GB, free: 33.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003246/0.7473, allocations: 2.306 MB / 0.579 GB, free: 31.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.7473, allocations: 8 kB / 0.579 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.7474, allocations: 12 kB / 0.579 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.749, allocations: 0.7101 MB / 0.5797 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.7498, allocations: 207.7 kB / 0.5799 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009302/0.7591, allocations: 10.73 MB / 0.5904 GB, free: 19.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.7602, allocations: 51.97 kB / 0.5905 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.7604, allocations: 36 kB / 0.5905 GB, free: 19.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001437/0.7619, allocations: 0.8165 MB / 0.5913 GB, free: 18.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/0.7623, allocations: 158.1 kB / 0.5914 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/0.7654, allocations: 2.191 MB / 0.5936 GB, free: 16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.7655, allocations: 12 kB / 0.5936 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.7655, allocations: 7.953 kB / 0.5936 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.7655, allocations: 7.969 kB / 0.5936 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007449/0.773, allocations: 4.727 MB / 0.5982 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.773, allocations: 8 kB / 0.5982 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.7736, allocations: 159.8 kB / 0.5984 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.7751, allocations: 0.6981 MB / 0.5991 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-05/0.7752, allocations: 28 kB / 0.5991 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00941/0.7847, allocations: 10.63 MB / 0.6095 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.7847, allocations: 4.062 kB / 0.6095 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/0.7902, allocations: 3.26 MB / 0.6127 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.7915, allocations: 411.2 kB / 0.6131 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005332/0.792, allocations: 35.94 kB / 0.6131 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.7931, allocations: 71.89 kB / 0.6132 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.7935, allocations: 117.1 kB / 0.6133 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.7e-05/0.7936, allocations: 32 kB / 0.6133 GB, free: 11.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001985/0.7956, allocations: 1.052 MB / 0.6143 GB, free: 10.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7956, allocations: 0 / 0.6143 GB, free: 10.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00266/0.7982, allocations: 0.5312 MB / 0.6148 GB, free: 9.504 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005216/0.7988, allocations: 202.6 kB / 0.615 GB, free: 9.301 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004039/0.8028, allocations: 2.42 MB / 0.6174 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.8028, allocations: 4 kB / 0.6174 GB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.8054, allocations: 1.625 MB / 0.619 GB, free: 5.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.8077, allocations: 488.3 kB / 0.6195 GB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009488/0.8172, allocations: 5.441 MB / 0.6248 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/0.8196, allocations: 2.089 MB / 0.6268 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001192/0.8208, allocations: 305.3 kB / 0.6271 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.8212, allocations: 95.44 kB / 0.6272 GB, free: 12.68 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.8212, allocations: 0 / 0.6272 GB, free: 12.68 MB / 410.7 MB Notification: Performance of Templates: time 0.05344/0.8747, allocations: 30.68 MB / 0.6572 GB, free: 14.36 MB / 442.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches