Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008604/0.0008604, allocations: 101.3 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002208/0.0002208, allocations: 8 kB / 357.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2258, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.333, allocations: 91.88 MB / 0.4895 GB, free: 14.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.3333, allocations: 91.94 kB / 0.4896 GB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2945/0.6278, allocations: 63.62 MB / 0.5518 GB, free: 58.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.6279, allocations: 0 / 0.5518 GB, free: 58.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001319/0.628, allocations: 71.8 kB / 0.5518 GB, free: 58.62 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.004384/0.6324, allocations: 2.527 MB / 0.5543 GB, free: 56.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6324, allocations: 8.031 kB / 0.5543 GB, free: 56.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6336, allocations: 348.6 kB / 0.5546 GB, free: 55.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.6363, allocations: 1.568 MB / 0.5562 GB, free: 54.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.6364, allocations: 160.4 kB / 0.5563 GB, free: 53.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.6367, allocations: 219.9 kB / 0.5565 GB, free: 53.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/0.6406, allocations: 3.086 MB / 0.5595 GB, free: 50.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.6406, allocations: 3.938 kB / 0.5595 GB, free: 50.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.6408, allocations: 91.98 kB / 0.5596 GB, free: 50.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.31e-05/0.6409, allocations: 120.4 kB / 0.5598 GB, free: 50.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003261/0.6442, allocations: 2.524 MB / 0.5622 GB, free: 47.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.6552, allocations: 8.893 MB / 0.5709 GB, free: 38.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/0.6576, allocations: 3.351 MB / 0.5742 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.6579, allocations: 138.4 kB / 0.5743 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.6579, allocations: 47.88 kB / 0.5744 GB, free: 34.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.517e-06/0.6579, allocations: 0 / 0.5744 GB, free: 34.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.008558/0.6665, allocations: 5.695 MB / 0.5799 GB, free: 28.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.6666, allocations: 68.72 kB / 0.58 GB, free: 28.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.6682, allocations: 1.343 MB / 0.5813 GB, free: 27.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.96e-05/0.6683, allocations: 49.7 kB / 0.5813 GB, free: 27.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.6688, allocations: 0.9332 MB / 0.5822 GB, free: 26.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.669, allocations: 453.1 kB / 0.5827 GB, free: 26.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.6691, allocations: 24 kB / 0.5827 GB, free: 25.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.6691, allocations: 353.9 kB / 0.583 GB, free: 25.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007854/0.6699, allocations: 0.6935 MB / 0.5837 GB, free: 24.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008549/0.6708, allocations: 0.8582 MB / 0.5846 GB, free: 24.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.6717, allocations: 0.8105 MB / 0.5853 GB, free: 23.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6717, allocations: 0 / 0.5853 GB, free: 23.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002891/0.6746, allocations: 2.314 MB / 0.5876 GB, free: 20.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6746, allocations: 8 kB / 0.5876 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.6746, allocations: 0 / 0.5876 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.6761, allocations: 0.7058 MB / 0.5883 GB, free: 20.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/0.6768, allocations: 211.7 kB / 0.5885 GB, free: 19.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008275/0.6851, allocations: 10.74 MB / 0.599 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008753/0.686, allocations: 51.95 kB / 0.599 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/0.686, allocations: 40 kB / 0.5991 GB, free: 8.605 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.001101/0.6872, allocations: 0.8158 MB / 0.5999 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.6874, allocations: 166.2 kB / 0.6 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.6901, allocations: 2.188 MB / 0.6022 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.6901, allocations: 12 kB / 0.6022 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.6901, allocations: 12 kB / 0.6022 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.6901, allocations: 3.984 kB / 0.6022 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/0.6958, allocations: 4.735 MB / 0.6068 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6959, allocations: 0 / 0.6068 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/0.6965, allocations: 163.8 kB / 0.607 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.6979, allocations: 0.6908 MB / 0.6077 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.698, allocations: 31.92 kB / 0.6077 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.7084, allocations: 10.62 MB / 0.618 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7084, allocations: 4.031 kB / 0.6181 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004459/0.7129, allocations: 3.265 MB / 0.6212 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008808/0.7138, allocations: 407.1 kB / 0.6216 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.714, allocations: 31.98 kB / 0.6217 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/0.7147, allocations: 63.95 kB / 0.6217 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.7149, allocations: 117.1 kB / 0.6218 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/0.715, allocations: 35.98 kB / 0.6219 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001438/0.7165, allocations: 1.052 MB / 0.6229 GB, free: 15.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7165, allocations: 0 / 0.6229 GB, free: 15.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001582/0.7181, allocations: 0.5389 MB / 0.6234 GB, free: 14.92 MB / 410.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.0003304/0.7184, allocations: 191 kB / 0.6236 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003202/0.7216, allocations: 2.424 MB / 0.626 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7216, allocations: 0 / 0.626 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.7237, allocations: 1.629 MB / 0.6276 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.7254, allocations: 481.3 kB / 0.628 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/0.7326, allocations: 5.453 MB / 0.6333 GB, free: 4.621 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.7343, allocations: 2.086 MB / 0.6354 GB, free: 2.496 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009375/0.7352, allocations: 313.3 kB / 0.6357 GB, free: 2.184 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.7355, allocations: 91.42 kB / 0.6358 GB, free: 2.094 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/0.7355, allocations: 0 / 0.6358 GB, free: 2.094 MB / 410.7 MB Notification: Performance of Templates: time 0.05024/0.7857, allocations: 30.68 MB / 0.6657 GB, free: 3.703 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches