Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009969/0.0009969, allocations: 202.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008119/0.0008119, allocations: 106.4 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002242/0.0002242, allocations: 8 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1834, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2621/0.4456, allocations: 127 MB / 0.5239 GB, free: 88.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.4458, allocations: 95.39 kB / 0.524 GB, free: 88.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1222/0.5681, allocations: 55.67 MB / 0.5783 GB, free: 32.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5681, allocations: 0 / 0.5783 GB, free: 32.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002527/0.5684, allocations: 67.94 kB / 0.5784 GB, free: 32.84 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.007546/0.576, allocations: 2.963 MB / 0.5813 GB, free: 29.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.576, allocations: 12.03 kB / 0.5813 GB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.578, allocations: 428 kB / 0.5817 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.582, allocations: 1.758 MB / 0.5834 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.5821, allocations: 180.8 kB / 0.5836 GB, free: 27.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/0.5827, allocations: 247.9 kB / 0.5838 GB, free: 27.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00463/0.5874, allocations: 3.012 MB / 0.5868 GB, free: 23.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/0.5874, allocations: 19.89 kB / 0.5868 GB, free: 23.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.5876, allocations: 104 kB / 0.5869 GB, free: 23.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/0.5877, allocations: 96.59 kB / 0.587 GB, free: 23.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/0.591, allocations: 2.434 MB / 0.5894 GB, free: 21.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.6032, allocations: 10.29 MB / 0.5994 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.6058, allocations: 2.761 MB / 0.6021 GB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.606, allocations: 154.3 kB / 0.6023 GB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.6061, allocations: 51.88 kB / 0.6023 GB, free: 7.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.526e-06/0.6061, allocations: 0 / 0.6023 GB, free: 7.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01699/0.6231, allocations: 9.106 MB / 0.6112 GB, free: 14.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.6232, allocations: 180.2 kB / 0.6114 GB, free: 14.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.6255, allocations: 1.626 MB / 0.613 GB, free: 12.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.6257, allocations: 57.7 kB / 0.613 GB, free: 12.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007789/0.6265, allocations: 1.161 MB / 0.6142 GB, free: 11.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004701/0.627, allocations: 0.5892 MB / 0.6147 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.6271, allocations: 40 kB / 0.6148 GB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6273, allocations: 385.8 kB / 0.6151 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.6286, allocations: 0.9174 MB / 0.616 GB, free: 9.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.6302, allocations: 1.368 MB / 0.6174 GB, free: 7.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.6317, allocations: 1.103 MB / 0.6184 GB, free: 6.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.6317, allocations: 4 kB / 0.6184 GB, free: 6.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.005319/0.637, allocations: 3.319 MB / 0.6217 GB, free: 3.223 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001627/0.6387, allocations: 4.903 MB / 0.6265 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/0.6387, allocations: 15.98 kB / 0.6265 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.6411, allocations: 0.9603 MB / 0.6274 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.6425, allocations: 375.4 kB / 0.6278 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.6559, allocations: 12.34 MB / 0.6398 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.6579, allocations: 111.9 kB / 0.6399 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/0.6581, allocations: 76 kB / 0.64 GB, free: 15.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.6581, allocations: 4 kB / 0.64 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004973/0.6631, allocations: 3.08 MB / 0.643 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/0.6632, allocations: 16.38 kB / 0.643 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002333/0.6655, allocations: 0.9689 MB / 0.644 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.667, allocations: 363.4 kB / 0.6443 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.6806, allocations: 12.32 MB / 0.6564 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.6825, allocations: 95.97 kB / 0.6565 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.6827, allocations: 83.98 kB / 0.6565 GB, free: 14.01 MB / 442.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.001474/0.6842, allocations: 0.8011 MB / 0.6573 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/0.6846, allocations: 221.3 kB / 0.6575 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/0.6893, allocations: 2.976 MB / 0.6604 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.6893, allocations: 16 kB / 0.6604 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6893, allocations: 8 kB / 0.6605 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.6894, allocations: 11.92 kB / 0.6605 GB, free: 9.938 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009595/0.699, allocations: 5.913 MB / 0.6662 GB, free: 3.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.699, allocations: 384 / 0.6662 GB, free: 3.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009223/0.6999, allocations: 227.9 kB / 0.6665 GB, free: 3.695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/0.7024, allocations: 1.035 MB / 0.6675 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.7025, allocations: 47.98 kB / 0.6675 GB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1902/0.8928, allocations: 14.05 MB / 0.6812 GB, free: 94.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8928, allocations: 6.297 kB / 0.6812 GB, free: 94.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005678/0.8985, allocations: 4.484 MB / 0.6856 GB, free: 94.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.8996, allocations: 492.9 kB / 0.6861 GB, free: 94.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.8998, allocations: 47.64 kB / 0.6861 GB, free: 94.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.9009, allocations: 101.4 kB / 0.6862 GB, free: 94.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/0.9012, allocations: 142.5 kB / 0.6864 GB, free: 94.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-05/0.9013, allocations: 49.55 kB / 0.6864 GB, free: 94.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001561/0.9029, allocations: 1.249 MB / 0.6876 GB, free: 94.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9029, allocations: 3.469 kB / 0.6876 GB, free: 94.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003118/0.906, allocations: 1.192 MB / 0.6888 GB, free: 94.16 MB / 442.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.0005755/0.9066, allocations: 383.8 kB / 0.6892 GB, free: 94.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007056/0.9136, allocations: 5.483 MB / 0.6945 GB, free: 92.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.9137, allocations: 1.875 kB / 0.6945 GB, free: 92.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.9163, allocations: 2.141 MB / 0.6966 GB, free: 92.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.9185, allocations: 0.5353 MB / 0.6971 GB, free: 92.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007539/0.9261, allocations: 6.678 MB / 0.7037 GB, free: 89.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.9273, allocations: 2.054 MB / 0.7057 GB, free: 88.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001475/0.9288, allocations: 0.4963 MB / 0.7062 GB, free: 88.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.9291, allocations: 125 kB / 0.7063 GB, free: 88.73 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.9292, allocations: 0 / 0.7063 GB, free: 88.73 MB / 442.7 MB Notification: Performance of Templates: time 0.05564/0.9848, allocations: 45.95 MB / 0.7511 GB, free: 70.47 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches