Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001983/0.001983, allocations: 180.7 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.518/3.518, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001601/0.001601, allocations: 96.92 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006281/0.0006286, allocations: 11.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.557/0.5576, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2665/0.8242, allocations: 126.3 MB / 0.4903 GB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004087/0.8247, allocations: 95.89 kB / 0.4904 GB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5833/1.408, allocations: 55.35 MB / 0.5444 GB, free: 74.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.911e-06/1.408, allocations: 0 / 0.5444 GB, free: 74.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006658/1.409, allocations: 71.88 kB / 0.5445 GB, free: 74.53 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.01864/1.427, allocations: 2.926 MB / 0.5474 GB, free: 71.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.295e-05/1.428, allocations: 8.031 kB / 0.5474 GB, free: 71.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004908/1.433, allocations: 433 kB / 0.5478 GB, free: 71.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009888/1.442, allocations: 1.805 MB / 0.5495 GB, free: 69.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/1.443, allocations: 177.1 kB / 0.5497 GB, free: 69.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/1.445, allocations: 252.2 kB / 0.55 GB, free: 68.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/1.46, allocations: 3.04 MB / 0.5529 GB, free: 65.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/1.46, allocations: 12.08 kB / 0.5529 GB, free: 65.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000837/1.461, allocations: 103.9 kB / 0.553 GB, free: 65.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/1.461, allocations: 104.5 kB / 0.5531 GB, free: 65.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/1.471, allocations: 2.442 MB / 0.5555 GB, free: 62.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03717/1.509, allocations: 10.32 MB / 0.5656 GB, free: 52.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006503/1.515, allocations: 2.77 MB / 0.5683 GB, free: 49.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002815/1.518, allocations: 1.13 MB / 0.5694 GB, free: 48.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005551/1.519, allocations: 146.3 kB / 0.5695 GB, free: 48.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/1.519, allocations: 47.88 kB / 0.5696 GB, free: 48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 9.167e-06/1.519, allocations: 0 / 0.5696 GB, free: 48 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.03334/1.552, allocations: 9.101 MB / 0.5785 GB, free: 38.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.552, allocations: 176.2 kB / 0.5787 GB, free: 38.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/1.557, allocations: 1.842 MB / 0.5804 GB, free: 36.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007208/1.558, allocations: 53.7 kB / 0.5805 GB, free: 36.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.559, allocations: 1.165 MB / 0.5816 GB, free: 35.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/1.56, allocations: 0.5891 MB / 0.5822 GB, free: 34.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/1.561, allocations: 44 kB / 0.5823 GB, free: 34.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/1.561, allocations: 385.8 kB / 0.5826 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/1.563, allocations: 0.9135 MB / 0.5835 GB, free: 33.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/1.566, allocations: 1.368 MB / 0.5849 GB, free: 31.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005586/1.571, allocations: 2.372 MB / 0.5872 GB, free: 29.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-05/1.572, allocations: 4 kB / 0.5872 GB, free: 29.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.01031/1.582, allocations: 3.326 MB / 0.5904 GB, free: 26.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006213/1.583, allocations: 461.5 kB / 0.5909 GB, free: 25.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-05/1.583, allocations: 15.98 kB / 0.5909 GB, free: 25.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003748/1.586, allocations: 0.9679 MB / 0.5918 GB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/1.589, allocations: 371.4 kB / 0.5922 GB, free: 24.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/1.61, allocations: 12 MB / 0.6039 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/1.614, allocations: 112 kB / 0.604 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007016/1.615, allocations: 75.98 kB / 0.6041 GB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.615, allocations: 4 kB / 0.6041 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00901/1.624, allocations: 3.088 MB / 0.6071 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/1.624, allocations: 20.02 kB / 0.6071 GB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004376/1.628, allocations: 0.9605 MB / 0.608 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/1.631, allocations: 363.4 kB / 0.6084 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02522/1.657, allocations: 11.98 MB / 0.6201 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/1.661, allocations: 104 kB / 0.6202 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007761/1.662, allocations: 75.98 kB / 0.6203 GB, free: 10.18 MB / 394.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.004025/1.666, allocations: 0.8089 MB / 0.6211 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/1.668, allocations: 217.4 kB / 0.6213 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009593/1.677, allocations: 2.983 MB / 0.6242 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/1.678, allocations: 23.92 kB / 0.6242 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-05/1.678, allocations: 11.98 kB / 0.6242 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-05/1.678, allocations: 7.969 kB / 0.6242 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02309/1.701, allocations: 5.924 MB / 0.63 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/1.701, allocations: 3.938 kB / 0.63 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.703, allocations: 219.8 kB / 0.6302 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004564/1.707, allocations: 1.035 MB / 0.6312 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004166/1.708, allocations: 43.98 kB / 0.6313 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02817/1.736, allocations: 13.7 MB / 0.6447 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/1.736, allocations: 8 kB / 0.6447 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5047/2.241, allocations: 4.345 MB / 0.6489 GB, free: 97.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/2.243, allocations: 493.8 kB / 0.6494 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009256/2.244, allocations: 38.83 kB / 0.6494 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/2.246, allocations: 108.3 kB / 0.6495 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006116/2.247, allocations: 140.2 kB / 0.6496 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/2.247, allocations: 51.2 kB / 0.6497 GB, free: 96.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003503/2.251, allocations: 1.256 MB / 0.6509 GB, free: 96.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/2.251, allocations: 0 / 0.6509 GB, free: 96.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009394/2.26, allocations: 1.196 MB / 0.6521 GB, free: 96.84 MB / 410.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.001746/2.262, allocations: 374.2 kB / 0.6524 GB, free: 96.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01509/2.277, allocations: 5.491 MB / 0.6578 GB, free: 95.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.938e-05/2.277, allocations: 3.562 kB / 0.6578 GB, free: 95.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006121/2.283, allocations: 2.131 MB / 0.6599 GB, free: 94.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006374/2.29, allocations: 0.5562 MB / 0.6604 GB, free: 94.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/2.314, allocations: 6.77 MB / 0.667 GB, free: 92.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004489/2.319, allocations: 1.972 MB / 0.669 GB, free: 91.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/2.32, allocations: 130.8 kB / 0.6691 GB, free: 91.47 MB / 410.7 MB Notification: Performance of SimCode: time 2.304e-06/2.32, allocations: 0 / 0.6691 GB, free: 91.47 MB / 410.7 MB Notification: Performance of Templates: time 0.1737/2.494, allocations: 95.19 MB / 0.7621 GB, free: 19.57 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches