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.0009263/0.0009264, allocations: 177.1 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 221.5 MB / 230.3 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009895/0.0009895, allocations: 88.62 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.9e-05, allocations: 4 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09304, allocations: 50.42 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3519/0.445, allocations: 125.5 MB / 0.5009 GB, free: 1.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.4453, allocations: 87.94 kB / 0.501 GB, free: 1.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3547/0.8, allocations: 54.91 MB / 0.5546 GB, free: 100.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.8001, allocations: 0 / 0.5546 GB, free: 100.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002102/0.8003, allocations: 67.48 kB / 0.5547 GB, free: 100.8 MB / 426.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.006182/0.8065, allocations: 2.594 MB / 0.5572 GB, free: 99.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.8065, allocations: 13.02 kB / 0.5573 GB, free: 99.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.8083, allocations: 428.7 kB / 0.5577 GB, free: 99.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/0.8119, allocations: 1.735 MB / 0.5594 GB, free: 99.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.38e-05/0.8121, allocations: 76.88 kB / 0.5594 GB, free: 99.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.8124, allocations: 146.5 kB / 0.5596 GB, free: 99.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004267/0.8167, allocations: 2.223 MB / 0.5617 GB, free: 99.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004997/0.8217, allocations: 2.618 MB / 0.5643 GB, free: 98.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.384e-05/0.8218, allocations: 14.97 kB / 0.5643 GB, free: 98.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.822, allocations: 7 kB / 0.5643 GB, free: 98.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.8221, allocations: 93.98 kB / 0.5644 GB, free: 98.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.8372, allocations: 9.837 MB / 0.574 GB, free: 95.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.8397, allocations: 2.633 MB / 0.5766 GB, free: 94.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.8409, allocations: 1.092 MB / 0.5777 GB, free: 94.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.8412, allocations: 139.9 kB / 0.5778 GB, free: 94.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.8412, allocations: 57.42 kB / 0.5778 GB, free: 94.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=152): time 4.328e-06/0.8413, allocations: 0 / 0.5778 GB, free: 94.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=175): time 0.009338/0.8506, allocations: 5.776 MB / 0.5835 GB, free: 92.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.8507, allocations: 177.8 kB / 0.5836 GB, free: 91.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.8524, allocations: 1.323 MB / 0.5849 GB, free: 91.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.8525, allocations: 25.7 kB / 0.585 GB, free: 91.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/0.853, allocations: 1.158 MB / 0.5861 GB, free: 90.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.8533, allocations: 0.5674 MB / 0.5867 GB, free: 90.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.8534, allocations: 3.812 kB / 0.5867 GB, free: 90.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.8535, allocations: 383.5 kB / 0.587 GB, free: 89.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009451/0.8544, allocations: 0.8481 MB / 0.5878 GB, free: 89.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.8556, allocations: 1.288 MB / 0.5891 GB, free: 88.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.8568, allocations: 1.039 MB / 0.5901 GB, free: 88.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.8569, allocations: 7.5 kB / 0.5901 GB, free: 88.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004359/0.8612, allocations: 3.039 MB / 0.5931 GB, free: 87.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007616/0.862, allocations: 4.836 MB / 0.5978 GB, free: 81.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/0.862, allocations: 14.59 kB / 0.5978 GB, free: 81.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.8641, allocations: 0.953 MB / 0.5988 GB, free: 81.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.8654, allocations: 371.7 kB / 0.5991 GB, free: 81.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.8757, allocations: 11.56 MB / 0.6104 GB, free: 73.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.8776, allocations: 70.55 kB / 0.6105 GB, free: 73.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.8777, allocations: 72.44 kB / 0.6105 GB, free: 73.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.8778, allocations: 4.594 kB / 0.6105 GB, free: 73.68 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003962/0.8817, allocations: 2.811 MB / 0.6133 GB, free: 72.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.8818, allocations: 12.78 kB / 0.6133 GB, free: 72.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.8837, allocations: 0.9423 MB / 0.6142 GB, free: 72.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.8849, allocations: 372.3 kB / 0.6146 GB, free: 72.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009964/0.8949, allocations: 11.55 MB / 0.6259 GB, free: 64.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.8968, allocations: 63.53 kB / 0.6259 GB, free: 64.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.897, allocations: 71.62 kB / 0.626 GB, free: 64.57 MB / 426.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.000447/0.8974, allocations: 151.6 kB / 0.6261 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.8978, allocations: 201.5 kB / 0.6263 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/0.9018, allocations: 2.752 MB / 0.629 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.9018, allocations: 18 kB / 0.629 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.9018, allocations: 3.406 kB / 0.629 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.9019, allocations: 16.06 kB / 0.6291 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007653/0.9095, allocations: 5.395 MB / 0.6343 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.9096, allocations: 6.938 kB / 0.6343 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000895/0.9105, allocations: 223.7 kB / 0.6345 GB, free: 60.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/0.9126, allocations: 1.014 MB / 0.6355 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.633e-05/0.9127, allocations: 15.8 kB / 0.6355 GB, free: 59.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.9235, allocations: 13.21 MB / 0.6484 GB, free: 46.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.9236, allocations: 7.938 kB / 0.6485 GB, free: 46.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/0.9287, allocations: 4.222 MB / 0.6526 GB, free: 42.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008215/0.9296, allocations: 468.4 kB / 0.653 GB, free: 42.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.9298, allocations: 12 kB / 0.653 GB, free: 42.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.9308, allocations: 76.75 kB / 0.6531 GB, free: 42.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.9311, allocations: 145.5 kB / 0.6532 GB, free: 42.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.152e-05/0.9312, allocations: 44 kB / 0.6533 GB, free: 42.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001208/0.9324, allocations: 0.9997 MB / 0.6543 GB, free: 41.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9324, allocations: 0 / 0.6543 GB, free: 41.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003132/0.9356, allocations: 1.038 MB / 0.6553 GB, free: 40.39 MB / 426.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.0005556/0.9361, allocations: 359.4 kB / 0.6556 GB, free: 40.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006065/0.9422, allocations: 5.186 MB / 0.6607 GB, free: 35.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.9422, allocations: 0 / 0.6607 GB, free: 35.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.9446, allocations: 2.003 MB / 0.6626 GB, free: 33.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.9465, allocations: 428.2 kB / 0.6631 GB, free: 33.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007069/0.9536, allocations: 4.589 MB / 0.6675 GB, free: 29.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.9551, allocations: 2.051 MB / 0.6695 GB, free: 27.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002136/0.9572, allocations: 0.6342 MB / 0.6702 GB, free: 26.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.9575, allocations: 95.44 kB / 0.6702 GB, free: 26.88 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.9575, allocations: 3.938 kB / 0.6703 GB, free: 26.88 MB / 426.7 MB Notification: Performance of Templates: time 0.05413/1.012, allocations: 40.81 MB / 0.7101 GB, free: 6.211 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