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.001509/0.001508, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.905/1.905, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001195/0.001195, allocations: 94.09 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003696, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3323, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.5332, allocations: 126 MB / 0.4888 GB, free: 2.676 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.5336, allocations: 95.89 kB / 0.4889 GB, free: 2.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4651/0.9987, allocations: 55.47 MB / 0.5431 GB, free: 75.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.9987, allocations: 0 / 0.5431 GB, free: 75.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002604/0.999, allocations: 75.86 kB / 0.5431 GB, free: 74.96 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.01016/1.009, allocations: 2.945 MB / 0.546 GB, free: 71.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.009, allocations: 12.02 kB / 0.546 GB, free: 71.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/1.012, allocations: 432 kB / 0.5464 GB, free: 71.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005216/1.017, allocations: 1.746 MB / 0.5482 GB, free: 69.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/1.017, allocations: 180.8 kB / 0.5483 GB, free: 69.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006403/1.018, allocations: 247.9 kB / 0.5486 GB, free: 69.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007761/1.026, allocations: 3.019 MB / 0.5515 GB, free: 66.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/1.026, allocations: 11.91 kB / 0.5515 GB, free: 66.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003507/1.026, allocations: 100 kB / 0.5516 GB, free: 66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/1.026, allocations: 96.59 kB / 0.5517 GB, free: 65.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008251/1.035, allocations: 2.446 MB / 0.5541 GB, free: 63.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03527/1.07, allocations: 10.3 MB / 0.5642 GB, free: 52.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007287/1.077, allocations: 2.776 MB / 0.5669 GB, free: 49.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/1.078, allocations: 138.4 kB / 0.567 GB, free: 49.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/1.078, allocations: 51.83 kB / 0.5671 GB, free: 49.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 7.203e-06/1.078, allocations: 0 / 0.5671 GB, free: 49.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.04582/1.124, allocations: 9.082 MB / 0.5759 GB, free: 40.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/1.124, allocations: 176.2 kB / 0.5761 GB, free: 40.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004548/1.129, allocations: 1.63 MB / 0.5777 GB, free: 38.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003698/1.129, allocations: 57.7 kB / 0.5777 GB, free: 38.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/1.13, allocations: 1.094 MB / 0.5788 GB, free: 37.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007929/1.131, allocations: 0.5892 MB / 0.5794 GB, free: 36.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/1.131, allocations: 36 kB / 0.5794 GB, free: 36.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/1.131, allocations: 386.8 kB / 0.5798 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003017/1.134, allocations: 0.9174 MB / 0.5807 GB, free: 35.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003333/1.138, allocations: 1.361 MB / 0.582 GB, free: 33.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/1.141, allocations: 1.107 MB / 0.5831 GB, free: 32.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.141, allocations: 4 kB / 0.5831 GB, free: 32.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.01094/1.152, allocations: 3.195 MB / 0.5862 GB, free: 29.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00115/1.153, allocations: 4.709 MB / 0.5908 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.334e-05/1.154, allocations: 16 kB / 0.5908 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005247/1.159, allocations: 0.9641 MB / 0.5918 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/1.162, allocations: 383.4 kB / 0.5921 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02689/1.189, allocations: 12.32 MB / 0.6042 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/1.192, allocations: 107.9 kB / 0.6043 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004547/1.193, allocations: 76 kB / 0.6043 GB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.193, allocations: 4 kB / 0.6043 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00786/1.2, allocations: 3.088 MB / 0.6074 GB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.758e-05/1.201, allocations: 16 kB / 0.6074 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003469/1.204, allocations: 0.9537 MB / 0.6083 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/1.207, allocations: 367.4 kB / 0.6087 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/1.23, allocations: 12.44 MB / 0.6208 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/1.232, allocations: 99.91 kB / 0.6209 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004289/1.232, allocations: 76 kB / 0.621 GB, free: 8.473 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.002558/1.235, allocations: 0.8133 MB / 0.6218 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008109/1.236, allocations: 217.4 kB / 0.622 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009631/1.245, allocations: 2.98 MB / 0.6249 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/1.246, allocations: 23.98 kB / 0.6249 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/1.246, allocations: 8 kB / 0.6249 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-05/1.246, allocations: 7.969 kB / 0.6249 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/1.265, allocations: 5.928 MB / 0.6307 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-05/1.265, allocations: 8.188 kB / 0.6307 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/1.267, allocations: 227.7 kB / 0.6309 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005059/1.272, allocations: 1.031 MB / 0.6319 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004513/1.273, allocations: 39.98 kB / 0.632 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3433/1.616, allocations: 14.05 MB / 0.6457 GB, free: 95.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.616, allocations: 3.938 kB / 0.6457 GB, free: 95.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/1.627, allocations: 4.474 MB / 0.6501 GB, free: 94.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/1.629, allocations: 497.5 kB / 0.6506 GB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/1.63, allocations: 37.45 kB / 0.6506 GB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/1.632, allocations: 109.3 kB / 0.6507 GB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005072/1.632, allocations: 140.4 kB / 0.6508 GB, free: 94.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.632, allocations: 49.22 kB / 0.6509 GB, free: 94.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002744/1.635, allocations: 1.259 MB / 0.6521 GB, free: 94.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.635, allocations: 0 / 0.6521 GB, free: 94.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005623/1.641, allocations: 1.181 MB / 0.6533 GB, free: 94.5 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.0009608/1.642, allocations: 371.1 kB / 0.6536 GB, free: 94.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0136/1.655, allocations: 5.53 MB / 0.659 GB, free: 93.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.655, allocations: 0 / 0.659 GB, free: 93.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006127/1.662, allocations: 2.127 MB / 0.6611 GB, free: 92.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004406/1.666, allocations: 0.5434 MB / 0.6616 GB, free: 92.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.683, allocations: 6.766 MB / 0.6682 GB, free: 89.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003147/1.686, allocations: 2.023 MB / 0.6702 GB, free: 89.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.688, allocations: 132.4 kB / 0.6703 GB, free: 89.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.615e-06/1.688, allocations: 0 / 0.6703 GB, free: 89.16 MB / 410.7 MB Notification: Performance of Templates: time 0.149/1.837, allocations: 90.47 MB / 0.7587 GB, free: 21.35 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