Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 179.9 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008935, allocations: 96 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002431/0.0002431, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2239, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3304/0.5544, allocations: 114.2 MB / 0.5036 GB, free: 49.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5546, allocations: 90.64 kB / 0.5037 GB, free: 49.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1935/0.7481, allocations: 83.15 MB / 0.5849 GB, free: 18.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7482, allocations: 0 / 0.5849 GB, free: 18.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002573/0.7484, allocations: 67.94 kB / 0.5849 GB, free: 18.64 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.00744/0.7559, allocations: 2.993 MB / 0.5879 GB, free: 15.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.7559, allocations: 8.031 kB / 0.5879 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.7578, allocations: 423.9 kB / 0.5883 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004427/0.7623, allocations: 1.854 MB / 0.5901 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.7625, allocations: 185 kB / 0.5903 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007537/0.7632, allocations: 255.9 kB / 0.5905 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006692/0.7699, allocations: 3.222 MB / 0.5937 GB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.7701, allocations: 11.89 kB / 0.5937 GB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004316/0.7705, allocations: 112 kB / 0.5938 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.504e-05/0.7706, allocations: 108.9 kB / 0.5939 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/0.7753, allocations: 2.592 MB / 0.5964 GB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.7929, allocations: 10.46 MB / 0.6066 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.7955, allocations: 1.834 MB / 0.6084 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.7959, allocations: 219.1 kB / 0.6086 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.7959, allocations: 47.55 kB / 0.6087 GB, free: 9.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 3.717e-06/0.796, allocations: 4 kB / 0.6087 GB, free: 9.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=143): time 0.02121/0.8172, allocations: 8.908 MB / 0.6174 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.8172, allocations: 68.66 kB / 0.6174 GB, free: 436 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.8203, allocations: 1.641 MB / 0.619 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.8204, allocations: 49.64 kB / 0.6191 GB, free: 14.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008625/0.8213, allocations: 1.253 MB / 0.6203 GB, free: 13.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.8217, allocations: 488.9 kB / 0.6208 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.8218, allocations: 36 kB / 0.6208 GB, free: 12.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.822, allocations: 373.9 kB / 0.6212 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.8234, allocations: 0.8822 MB / 0.622 GB, free: 11.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.8251, allocations: 1.361 MB / 0.6234 GB, free: 10.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.8268, allocations: 1.092 MB / 0.6244 GB, free: 9.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.8268, allocations: 7.984 kB / 0.6244 GB, free: 9.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005098/0.8319, allocations: 2.995 MB / 0.6274 GB, free: 6.012 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.8319, allocations: 12 kB / 0.6274 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/0.832, allocations: 16 kB / 0.6274 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.8334, allocations: 0.5962 MB / 0.628 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.8349, allocations: 415.3 kB / 0.6284 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007402/0.8423, allocations: 5.677 MB / 0.6339 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.8442, allocations: 139.8 kB / 0.634 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.8444, allocations: 71.98 kB / 0.6341 GB, free: 14.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001648/0.846, allocations: 0.79 MB / 0.6349 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/0.8465, allocations: 205.5 kB / 0.6351 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004683/0.8512, allocations: 2.654 MB / 0.6377 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.8512, allocations: 12 kB / 0.6377 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.8512, allocations: 8 kB / 0.6377 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.8512, allocations: 11.97 kB / 0.6377 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.8614, allocations: 5.524 MB / 0.6431 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.8615, allocations: 4 kB / 0.6431 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.8626, allocations: 252 kB / 0.6433 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.8645, allocations: 0.6497 MB / 0.644 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.8646, allocations: 47.86 kB / 0.644 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009219/0.8738, allocations: 7.393 MB / 0.6512 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.8739, allocations: 4 kB / 0.6512 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006674/0.8805, allocations: 4.104 MB / 0.6553 GB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.8819, allocations: 466.5 kB / 0.6557 GB, free: 8.246 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.8822, allocations: 32 kB / 0.6557 GB, free: 8.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.8834, allocations: 115.9 kB / 0.6558 GB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.8837, allocations: 117 kB / 0.656 GB, free: 7.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.8838, allocations: 43.98 kB / 0.656 GB, free: 7.945 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00202/0.8858, allocations: 1.267 MB / 0.6572 GB, free: 6.688 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8858, allocations: 4 kB / 0.6572 GB, free: 6.684 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002145/0.888, allocations: 0.6366 MB / 0.6579 GB, free: 6.047 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006511/0.8886, allocations: 340.5 kB / 0.6582 GB, free: 5.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004551/0.8932, allocations: 2.629 MB / 0.6608 GB, free: 3.031 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.8932, allocations: 4 kB / 0.6608 GB, free: 3.027 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002911/0.8962, allocations: 1.653 MB / 0.6624 GB, free: 1.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.8985, allocations: 414.4 kB / 0.6628 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2155/1.114, allocations: 6.124 MB / 0.6687 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/1.116, allocations: 2.073 MB / 0.6708 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001548/1.117, allocations: 422.2 kB / 0.6712 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/1.117, allocations: 127.5 kB / 0.6713 GB, free: 101.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/1.118, allocations: 0 / 0.6713 GB, free: 101.8 MB / 442.7 MB Notification: Performance of Templates: time 0.04583/1.163, allocations: 30.95 MB / 0.7015 GB, free: 100.8 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches