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.001553/0.001553, allocations: 181.4 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 1.972/1.972, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001133/0.001133, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.421e-05, allocations: 7.984 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09657, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4986/0.5952, allocations: 125.9 MB / 495 MB, free: 44 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/0.5957, allocations: 90.61 kB / 495.1 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5183/1.114, allocations: 55.51 MB / 0.5377 GB, free: 96.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.504e-06/1.114, allocations: 1.125 kB / 0.5377 GB, free: 96.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003682/1.114, allocations: 66.69 kB / 0.5378 GB, free: 96.31 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.01081/1.125, allocations: 2.574 MB / 0.5403 GB, free: 95.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.125, allocations: 9.156 kB / 0.5403 GB, free: 95.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/1.128, allocations: 431.4 kB / 0.5407 GB, free: 95.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006213/1.135, allocations: 1.743 MB / 0.5424 GB, free: 94.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/1.135, allocations: 180.3 kB / 0.5426 GB, free: 94.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/1.136, allocations: 244 kB / 0.5428 GB, free: 94.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009844/1.146, allocations: 2.967 MB / 0.5457 GB, free: 94.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/1.146, allocations: 15.09 kB / 0.5457 GB, free: 94.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004096/1.147, allocations: 102 kB / 0.5458 GB, free: 94.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/1.147, allocations: 100.3 kB / 0.5459 GB, free: 94.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008163/1.155, allocations: 2.367 MB / 0.5482 GB, free: 94.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0257/1.181, allocations: 10.31 MB / 0.5583 GB, free: 91.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004616/1.185, allocations: 2.71 MB / 0.5609 GB, free: 89.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/1.188, allocations: 1.114 MB / 0.562 GB, free: 88.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/1.188, allocations: 144.1 kB / 0.5622 GB, free: 88.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/1.188, allocations: 51.69 kB / 0.5622 GB, free: 88.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 5.03e-06/1.188, allocations: 0 / 0.5622 GB, free: 88.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.02653/1.215, allocations: 7.315 MB / 0.5693 GB, free: 86.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/1.215, allocations: 178.8 kB / 0.5695 GB, free: 86.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/1.218, allocations: 1.619 MB / 0.5711 GB, free: 85.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003795/1.219, allocations: 56.83 kB / 0.5712 GB, free: 85.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007442/1.219, allocations: 1.092 MB / 0.5722 GB, free: 84.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005786/1.22, allocations: 0.5963 MB / 0.5728 GB, free: 83.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/1.22, allocations: 39.72 kB / 0.5728 GB, free: 83.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/1.22, allocations: 390.8 kB / 0.5732 GB, free: 83.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/1.222, allocations: 0.8822 MB / 0.5741 GB, free: 83.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/1.225, allocations: 1.336 MB / 0.5754 GB, free: 82.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/1.227, allocations: 1.085 MB / 0.5764 GB, free: 81.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.227, allocations: 2.875 kB / 0.5764 GB, free: 81.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.007902/1.235, allocations: 3.128 MB / 0.5795 GB, free: 80.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000933/1.236, allocations: 4.715 MB / 0.5841 GB, free: 75.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.875e-05/1.236, allocations: 16.56 kB / 0.5841 GB, free: 75.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003966/1.24, allocations: 0.9588 MB / 0.5851 GB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/1.243, allocations: 370.3 kB / 0.5854 GB, free: 75.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/1.262, allocations: 11.96 MB / 0.5971 GB, free: 67.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/1.265, allocations: 109 kB / 0.5972 GB, free: 67.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005739/1.266, allocations: 72.78 kB / 0.5973 GB, free: 67.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.266, allocations: 5.938 kB / 0.5973 GB, free: 67.39 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008357/1.274, allocations: 3.052 MB / 0.6002 GB, free: 66.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-05/1.275, allocations: 11 kB / 0.6003 GB, free: 66.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003454/1.278, allocations: 0.9597 MB / 0.6012 GB, free: 65.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/1.281, allocations: 369.3 kB / 0.6015 GB, free: 65.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/1.3, allocations: 12.09 MB / 0.6134 GB, free: 56.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.302, allocations: 104.2 kB / 0.6134 GB, free: 56.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/1.302, allocations: 78.62 kB / 0.6135 GB, free: 56.19 MB / 410.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.0005432/1.303, allocations: 214.5 kB / 0.6137 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007243/1.304, allocations: 222.5 kB / 0.6139 GB, free: 55.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007743/1.311, allocations: 2.927 MB / 0.6168 GB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/1.311, allocations: 16 kB / 0.6168 GB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.311, allocations: 8 kB / 0.6168 GB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.54e-05/1.312, allocations: 14.41 kB / 0.6168 GB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/1.328, allocations: 5.87 MB / 0.6226 GB, free: 48.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.328, allocations: 4 kB / 0.6226 GB, free: 48.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/1.33, allocations: 224.4 kB / 0.6228 GB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004231/1.334, allocations: 1.022 MB / 0.6238 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/1.334, allocations: 50.95 kB / 0.6238 GB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02051/1.355, allocations: 13.65 MB / 0.6372 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.355, allocations: 4.094 kB / 0.6372 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.365, allocations: 4.399 MB / 0.6415 GB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/1.367, allocations: 495.3 kB / 0.6419 GB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005614/1.367, allocations: 39.95 kB / 0.642 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/1.37, allocations: 109.9 kB / 0.6421 GB, free: 29.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004815/1.37, allocations: 136 kB / 0.6422 GB, free: 29.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.37, allocations: 51.94 kB / 0.6423 GB, free: 29.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002535/1.373, allocations: 1.232 MB / 0.6435 GB, free: 28.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.142e-06/1.373, allocations: 4 kB / 0.6435 GB, free: 28.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005532/1.378, allocations: 1.183 MB / 0.6446 GB, free: 27.34 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 () * 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.0009373/1.379, allocations: 376.6 kB / 0.645 GB, free: 27.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01166/1.391, allocations: 5.407 MB / 0.6503 GB, free: 21.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.391, allocations: 4 kB / 0.6503 GB, free: 21.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004745/1.396, allocations: 2.092 MB / 0.6523 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/1.4, allocations: 0.5297 MB / 0.6528 GB, free: 19.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.412, allocations: 4.776 MB / 0.6575 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/1.414, allocations: 2.025 MB / 0.6595 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000869/1.415, allocations: 130.7 kB / 0.6596 GB, free: 13.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/1.415, allocations: 0 / 0.6596 GB, free: 13.62 MB / 410.7 MB Notification: Performance of Templates: time 0.4473/1.862, allocations: 90.46 MB / 0.7479 GB, free: 84.93 MB / 426.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