Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.268/1.268, allocations: 223.2 MB / 240.3 MB, free: 11.86 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.0008823/0.0008823, allocations: 84.22 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002613, allocations: 8 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.219, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3259/0.5449, allocations: 126.2 MB / 0.5154 GB, free: 49.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.5452, allocations: 89.05 kB / 0.5155 GB, free: 49.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1292/0.6744, allocations: 55.58 MB / 0.5697 GB, free: 31.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6744, allocations: 0 / 0.5697 GB, free: 31.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003124/0.6748, allocations: 67.94 kB / 0.5698 GB, free: 31.81 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.008421/0.6832, allocations: 2.951 MB / 0.5727 GB, free: 28.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.6833, allocations: 8.031 kB / 0.5727 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.6857, allocations: 432 kB / 0.5731 GB, free: 28.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005266/0.691, allocations: 1.747 MB / 0.5748 GB, free: 27.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.6912, allocations: 180.9 kB / 0.575 GB, free: 27.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.6922, allocations: 247.3 kB / 0.5752 GB, free: 26.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008657/0.7009, allocations: 3.027 MB / 0.5782 GB, free: 24.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.7011, allocations: 0 / 0.5782 GB, free: 24.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006159/0.7018, allocations: 102.6 kB / 0.5783 GB, free: 24.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.7019, allocations: 100.5 kB / 0.5784 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004853/0.7068, allocations: 2.438 MB / 0.5807 GB, free: 22.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02103/0.7278, allocations: 10.31 MB / 0.5908 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.7311, allocations: 2.776 MB / 0.5935 GB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003338/0.7315, allocations: 138.4 kB / 0.5936 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.7316, allocations: 51.88 kB / 0.5937 GB, free: 8.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 4.999e-06/0.7316, allocations: 3.938 kB / 0.5937 GB, free: 8.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.02007/0.7517, allocations: 9.102 MB / 0.6026 GB, free: 15.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.7518, allocations: 176.2 kB / 0.6028 GB, free: 15.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/0.7559, allocations: 1.626 MB / 0.6043 GB, free: 13.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003737/0.7563, allocations: 57.7 kB / 0.6044 GB, free: 13.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.7576, allocations: 1.165 MB / 0.6055 GB, free: 12.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008864/0.7585, allocations: 0.593 MB / 0.6061 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.7588, allocations: 40 kB / 0.6062 GB, free: 11.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.759, allocations: 381.9 kB / 0.6065 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.7609, allocations: 0.9213 MB / 0.6074 GB, free: 10.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.763, allocations: 1.357 MB / 0.6087 GB, free: 8.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.7651, allocations: 1.107 MB / 0.6098 GB, free: 7.855 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/0.7652, allocations: 7.984 kB / 0.6098 GB, free: 7.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.006736/0.7719, allocations: 3.318 MB / 0.6131 GB, free: 4.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002086/0.774, allocations: 4.901 MB / 0.6179 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.385e-05/0.7741, allocations: 12 kB / 0.6179 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/0.7768, allocations: 0.968 MB / 0.6188 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.7784, allocations: 371.4 kB / 0.6192 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/0.7937, allocations: 12.32 MB / 0.6312 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.7963, allocations: 112 kB / 0.6313 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005111/0.7969, allocations: 76 kB / 0.6314 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.7969, allocations: 7.375 kB / 0.6314 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006641/0.8035, allocations: 3.084 MB / 0.6344 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.8037, allocations: 23.92 kB / 0.6344 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/0.8063, allocations: 0.9692 MB / 0.6354 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.808, allocations: 363.4 kB / 0.6357 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/0.8253, allocations: 12.31 MB / 0.6477 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.828, allocations: 107.8 kB / 0.6478 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005462/0.8286, allocations: 79.98 kB / 0.6479 GB, free: 15.29 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 () * Number of clocked 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.002703/0.8313, allocations: 0.8105 MB / 0.6487 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/0.8324, allocations: 217.5 kB / 0.6489 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006598/0.839, allocations: 2.972 MB / 0.6518 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.8391, allocations: 20 kB / 0.6518 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.811e-05/0.8391, allocations: 8 kB / 0.6518 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/0.8391, allocations: 7.969 kB / 0.6519 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/0.8575, allocations: 5.909 MB / 0.6576 GB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/0.8576, allocations: 4 kB / 0.6576 GB, free: 5.199 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.8587, allocations: 223.7 kB / 0.6578 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/0.8622, allocations: 1.023 MB / 0.6588 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/0.8625, allocations: 55.88 kB / 0.6589 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2897/1.152, allocations: 14.06 MB / 0.6726 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.152, allocations: 3.906 kB / 0.6726 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007593/1.16, allocations: 4.48 MB / 0.677 GB, free: 99.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/1.162, allocations: 488.3 kB / 0.6775 GB, free: 99.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005434/1.162, allocations: 44.66 kB / 0.6775 GB, free: 99.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.163, allocations: 100 kB / 0.6776 GB, free: 99.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005288/1.164, allocations: 148.5 kB / 0.6777 GB, free: 99.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.164, allocations: 46.8 kB / 0.6778 GB, free: 99.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002361/1.166, allocations: 1.254 MB / 0.679 GB, free: 99.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.166, allocations: 0 / 0.679 GB, free: 99.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005304/1.172, allocations: 1.196 MB / 0.6802 GB, free: 99.57 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 () * Number of clocked 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.0009505/1.173, allocations: 378.4 kB / 0.6805 GB, free: 99.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008601/1.181, allocations: 5.491 MB / 0.6859 GB, free: 98.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.181, allocations: 6.812 kB / 0.6859 GB, free: 98.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003747/1.185, allocations: 2.136 MB / 0.688 GB, free: 97.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/1.189, allocations: 0.5298 MB / 0.6885 GB, free: 97.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.201, allocations: 6.671 MB / 0.695 GB, free: 94.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/1.203, allocations: 2.044 MB / 0.697 GB, free: 94.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002381/1.206, allocations: 0.4895 MB / 0.6975 GB, free: 94.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/1.206, allocations: 121.1 kB / 0.6976 GB, free: 94.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/1.206, allocations: 0 / 0.6976 GB, free: 94.16 MB / 442.7 MB Notification: Performance of Templates: time 0.06366/1.27, allocations: 45.88 MB / 0.7424 GB, free: 74.72 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches