Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.243/2.243, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 94.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.504e-05, allocations: 7.984 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5309/0.6403, allocations: 131.3 MB / 0.4887 GB, free: 10.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/0.6407, allocations: 84.73 kB / 0.4888 GB, free: 10.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6583/1.299, allocations: 96.01 MB / 0.5826 GB, free: 90.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.299, allocations: 0 / 0.5826 GB, free: 90.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000435/1.3, allocations: 93.69 kB / 0.5826 GB, free: 90 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01568/1.315, allocations: 3.735 MB / 0.5863 GB, free: 88.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.315, allocations: 9.844 kB / 0.5863 GB, free: 88.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007564/1.323, allocations: 0.9061 MB / 0.5872 GB, free: 87.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01305/1.336, allocations: 3.624 MB / 0.5907 GB, free: 86.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/1.336, allocations: 274.8 kB / 0.591 GB, free: 85.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/1.338, allocations: 367.1 kB / 0.5913 GB, free: 85.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/1.352, allocations: 4.574 MB / 0.5958 GB, free: 83.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/1.352, allocations: 7.25 kB / 0.5958 GB, free: 83.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008843/1.353, allocations: 158.4 kB / 0.596 GB, free: 83.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/1.353, allocations: 153 kB / 0.5961 GB, free: 83.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/1.365, allocations: 3.712 MB / 0.5997 GB, free: 81.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03533/1.4, allocations: 16.03 MB / 0.6154 GB, free: 66.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009887/1.41, allocations: 7.791 MB / 0.623 GB, free: 58.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004089/1.414, allocations: 1.73 MB / 0.6247 GB, free: 56.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/1.426, allocations: 5.055 MB / 0.6296 GB, free: 51.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/1.426, allocations: 64.55 kB / 0.6297 GB, free: 51.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=174): time 6.432e-06/1.426, allocations: 0 / 0.6297 GB, free: 51.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=177): time 0.01228/1.439, allocations: 5.086 MB / 0.6346 GB, free: 46.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/1.439, allocations: 172.2 kB / 0.6348 GB, free: 45.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003833/1.443, allocations: 1.916 MB / 0.6367 GB, free: 43.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003554/1.443, allocations: 65.69 kB / 0.6367 GB, free: 43.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/1.444, allocations: 1.59 MB / 0.6383 GB, free: 42.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000565/1.445, allocations: 0.5964 MB / 0.6389 GB, free: 41.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.445, allocations: 47.91 kB / 0.6389 GB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/1.445, allocations: 399.2 kB / 0.6393 GB, free: 41.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/1.447, allocations: 0.8087 MB / 0.6401 GB, free: 40.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/1.449, allocations: 1.446 MB / 0.6415 GB, free: 38.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/1.451, allocations: 1.056 MB / 0.6425 GB, free: 37.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/1.451, allocations: 8 kB / 0.6425 GB, free: 37.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006031/1.457, allocations: 2.81 MB / 0.6453 GB, free: 34.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001445/1.459, allocations: 7.411 MB / 0.6525 GB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.606e-05/1.459, allocations: 20 kB / 0.6525 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/1.461, allocations: 475.8 kB / 0.653 GB, free: 26.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/1.464, allocations: 487.2 kB / 0.6535 GB, free: 25.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009019/1.473, allocations: 8.042 MB / 0.6613 GB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/1.476, allocations: 99.86 kB / 0.6614 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00051/1.477, allocations: 88 kB / 0.6615 GB, free: 17.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.477, allocations: 4 kB / 0.6615 GB, free: 17.05 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006045/1.483, allocations: 2.731 MB / 0.6642 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/1.483, allocations: 28.02 kB / 0.6642 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/1.484, allocations: 459.9 kB / 0.6646 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/1.488, allocations: 479.2 kB / 0.6651 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009013/1.497, allocations: 8.11 MB / 0.673 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/1.499, allocations: 91.91 kB / 0.6731 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/1.499, allocations: 91.98 kB / 0.6732 GB, free: 4.504 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * 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 (252): * Single equations (assignments): 245 * 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 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005475/1.499, allocations: 241.5 kB / 0.6734 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007049/1.5, allocations: 252.9 kB / 0.6737 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006614/1.507, allocations: 2.73 MB / 0.6763 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/1.507, allocations: 16 kB / 0.6763 GB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.507, allocations: 4 kB / 0.6763 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/1.507, allocations: 7.969 kB / 0.6763 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/1.521, allocations: 5.884 MB / 0.6821 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.521, allocations: 4 kB / 0.6821 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.523, allocations: 243.7 kB / 0.6823 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/1.526, allocations: 0.6566 MB / 0.683 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/1.526, allocations: 36 kB / 0.683 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3223/1.849, allocations: 12.53 MB / 0.6952 GB, free: 91.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.849, allocations: 5 kB / 0.6952 GB, free: 91.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.859, allocations: 3.926 MB / 0.6991 GB, free: 90.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/1.861, allocations: 0.5033 MB / 0.6996 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007544/1.862, allocations: 44.23 kB / 0.6996 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/1.864, allocations: 84.39 kB / 0.6997 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005421/1.865, allocations: 139 kB / 0.6998 GB, free: 90.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/1.865, allocations: 48.19 kB / 0.6999 GB, free: 90.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004043/1.869, allocations: 1.457 MB / 0.7013 GB, free: 90.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.869, allocations: 0 / 0.7013 GB, free: 90.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007473/1.876, allocations: 1.331 MB / 0.7026 GB, free: 90.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,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 (124): * Single equations (assignments): 118 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/1.878, allocations: 0.5084 MB / 0.7031 GB, free: 90.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01116/1.889, allocations: 4.655 MB / 0.7076 GB, free: 88.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.889, allocations: 1.219 kB / 0.7076 GB, free: 88.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004492/1.894, allocations: 1.911 MB / 0.7095 GB, free: 88.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00529/1.899, allocations: 0.6437 MB / 0.7101 GB, free: 88.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.916, allocations: 5.54 MB / 0.7155 GB, free: 86.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003742/1.92, allocations: 2.54 MB / 0.718 GB, free: 85.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.921, allocations: 161.7 kB / 0.7182 GB, free: 85.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/1.921, allocations: 0 / 0.7182 GB, free: 85.98 MB / 426.7 MB Notification: Performance of Templates: time 0.5162/2.437, allocations: 140.6 MB / 0.8555 GB, free: 107.8 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches