Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.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.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000934/0.0009341, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008299/0.0008298, allocations: 94.36 kB / 286.7 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.084e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09421/0.09425, allocations: 51.48 MB / 395.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4369, allocations: 126.3 MB / 0.5092 GB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.4372, allocations: 86.23 kB / 0.5093 GB, free: 15.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1446/0.5818, allocations: 55.01 MB / 0.5631 GB, free: 12.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5819, allocations: 4 kB / 0.5631 GB, free: 12.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001923/0.5821, allocations: 71.86 kB / 0.5631 GB, free: 12.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.005479/0.5876, allocations: 2.597 MB / 0.5657 GB, free: 10.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5876, allocations: 8.031 kB / 0.5657 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.5893, allocations: 432 kB / 0.5661 GB, free: 9.699 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/0.5927, allocations: 1.735 MB / 0.5678 GB, free: 7.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.5928, allocations: 80 kB / 0.5679 GB, free: 7.832 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/0.5931, allocations: 136 kB / 0.568 GB, free: 7.699 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003811/0.5969, allocations: 2.223 MB / 0.5702 GB, free: 5.469 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004179/0.6011, allocations: 2.619 MB / 0.5727 GB, free: 2.691 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.6012, allocations: 11.89 kB / 0.5727 GB, free: 2.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.6014, allocations: 0 / 0.5727 GB, free: 2.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.876e-05/0.6015, allocations: 100.6 kB / 0.5728 GB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.236/0.8375, allocations: 9.835 MB / 0.5824 GB, free: 80.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.84, allocations: 2.631 MB / 0.585 GB, free: 79.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.8413, allocations: 1.098 MB / 0.5861 GB, free: 79.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.8416, allocations: 138.4 kB / 0.5862 GB, free: 79.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.8417, allocations: 54.25 kB / 0.5862 GB, free: 79.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 3.657e-06/0.8417, allocations: 0 / 0.5862 GB, free: 79.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.009771/0.8514, allocations: 5.775 MB / 0.5919 GB, free: 78.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.8515, allocations: 175.1 kB / 0.5921 GB, free: 78.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.8534, allocations: 1.324 MB / 0.5933 GB, free: 78.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.8536, allocations: 31.56 kB / 0.5934 GB, free: 78.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006198/0.8542, allocations: 1.163 MB / 0.5945 GB, free: 78.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004054/0.8546, allocations: 0.5654 MB / 0.5951 GB, free: 77.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/0.8547, allocations: 0 / 0.5951 GB, free: 77.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8548, allocations: 383.9 kB / 0.5954 GB, free: 77.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.8559, allocations: 0.8498 MB / 0.5963 GB, free: 77.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.8571, allocations: 1.28 MB / 0.5975 GB, free: 76.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.8585, allocations: 1.041 MB / 0.5985 GB, free: 76.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.8585, allocations: 3.25 kB / 0.5985 GB, free: 76.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004704/0.8632, allocations: 3.045 MB / 0.6015 GB, free: 76.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008807/0.8641, allocations: 4.847 MB / 0.6062 GB, free: 71.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.8642, allocations: 13 kB / 0.6063 GB, free: 71.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.8663, allocations: 0.9497 MB / 0.6072 GB, free: 71.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.8678, allocations: 373.2 kB / 0.6075 GB, free: 71.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.8791, allocations: 11.55 MB / 0.6188 GB, free: 65.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.8819, allocations: 74.19 kB / 0.6189 GB, free: 65.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/0.8823, allocations: 74.78 kB / 0.619 GB, free: 65.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8823, allocations: 3.062 kB / 0.619 GB, free: 65.65 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006474/0.8888, allocations: 2.815 MB / 0.6217 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.792e-05/0.8889, allocations: 12.47 kB / 0.6217 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/0.8914, allocations: 0.948 MB / 0.6226 GB, free: 64.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.8929, allocations: 364.7 kB / 0.623 GB, free: 64.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.9047, allocations: 11.55 MB / 0.6343 GB, free: 56.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.9068, allocations: 62 kB / 0.6343 GB, free: 56.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/0.907, allocations: 78.67 kB / 0.6344 GB, free: 56.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004729/0.9075, allocations: 151.3 kB / 0.6345 GB, free: 56.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/0.9079, allocations: 201 kB / 0.6347 GB, free: 56.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/0.9127, allocations: 2.75 MB / 0.6374 GB, free: 55.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.9127, allocations: 18.44 kB / 0.6374 GB, free: 55.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.9128, allocations: 5.5 kB / 0.6374 GB, free: 55.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/0.9128, allocations: 14.97 kB / 0.6375 GB, free: 55.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009972/0.9228, allocations: 5.394 MB / 0.6427 GB, free: 53.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.9228, allocations: 3.906 kB / 0.6427 GB, free: 53.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009633/0.9238, allocations: 225.4 kB / 0.6429 GB, free: 53.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/0.9264, allocations: 1.005 MB / 0.6439 GB, free: 53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.9265, allocations: 22.81 kB / 0.644 GB, free: 52.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.9389, allocations: 13.21 MB / 0.6569 GB, free: 43.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.939, allocations: 3.844 kB / 0.6569 GB, free: 43.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006132/0.9451, allocations: 4.231 MB / 0.661 GB, free: 41.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.9466, allocations: 469.2 kB / 0.6614 GB, free: 41.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.9469, allocations: 14.7 kB / 0.6615 GB, free: 41.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.948, allocations: 71.94 kB / 0.6615 GB, free: 41.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004557/0.9484, allocations: 141.6 kB / 0.6617 GB, free: 41.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.9486, allocations: 50.42 kB / 0.6617 GB, free: 41.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00146/0.95, allocations: 1.002 MB / 0.6627 GB, free: 41.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.95, allocations: 0 / 0.6627 GB, free: 41.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004/0.954, allocations: 1.034 MB / 0.6637 GB, free: 41.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008616/0.9549, allocations: 362.9 kB / 0.664 GB, free: 41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007357/0.9623, allocations: 5.172 MB / 0.6691 GB, free: 38.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.9624, allocations: 7.188 kB / 0.6691 GB, free: 38.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003022/0.9654, allocations: 2.006 MB / 0.6711 GB, free: 37.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.9681, allocations: 430.1 kB / 0.6715 GB, free: 37.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008214/0.9763, allocations: 4.602 MB / 0.676 GB, free: 35.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.9779, allocations: 2.05 MB / 0.678 GB, free: 34.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002257/0.9802, allocations: 0.6354 MB / 0.6786 GB, free: 34.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.9804, allocations: 97.03 kB / 0.6787 GB, free: 34.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.9805, allocations: 0 / 0.6787 GB, free: 34.2 MB / 442.7 MB Notification: Performance of Templates: time 0.06209/1.043, allocations: 40.85 MB / 0.7186 GB, free: 16.44 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches