Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 108.7 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 215 kB / 23 MB, free: 5.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 67.89 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2863, allocations: 53.32 MB / 429.8 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01493/0.3012, allocations: 11.62 MB / 441.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008697/0.3099, allocations: 3.948 MB / 445.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.312, allocations: 63.75 kB / 445.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.3143, allocations: 0.881 MB / 446.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.3174, allocations: 0.9863 MB / 447.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.3188, allocations: 0.5147 MB / 447.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004311/0.3231, allocations: 3.234 MB / 451.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.3252, allocations: 1.469 MB / 452.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.3274, allocations: 1.452 MB / 454 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.3303, allocations: 1.856 MB / 455.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006195/0.331, allocations: 388 kB / 456.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.3323, allocations: 0.6322 MB / 456.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.3335, allocations: 1.087 MB / 457.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.3356, allocations: 1.723 MB / 459.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006474/0.3421, allocations: 5.068 MB / 464.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3421, allocations: 3.938 kB / 464.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3421, allocations: 4 kB / 464.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.3422, allocations: 0 / 464.7 MB, free: 4.406 MB / 366.1 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.007696/0.3499, allocations: 3.578 MB / 468.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.35, allocations: 8.031 kB / 468.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.3516, allocations: 462.7 kB / 468.8 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.3553, allocations: 1.867 MB / 470.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.3555, allocations: 193.1 kB / 470.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004247/0.3559, allocations: 251.9 kB / 471.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006231/0.3621, allocations: 3.251 MB / 474.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-05/0.3622, allocations: 4 kB / 474.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.3624, allocations: 100 kB / 474.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.3626, allocations: 116.9 kB / 474.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004949/0.3675, allocations: 2.709 MB / 477.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/0.3857, allocations: 10.27 MB / 487.5 MB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.3881, allocations: 1.708 MB / 489.2 MB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.3899, allocations: 0.979 MB / 490.2 MB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/0.3903, allocations: 211.2 kB / 490.4 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.3903, allocations: 47.56 kB / 490.5 MB, free: 9.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.737e-06/0.3903, allocations: 0 / 490.5 MB, free: 9.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01805/0.4084, allocations: 7.448 MB / 497.9 MB, free: 2.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.4084, allocations: 64.72 kB / 498 MB, free: 2.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.4115, allocations: 1.889 MB / 499.9 MB, free: 448 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.4116, allocations: 45.7 kB / 499.9 MB, free: 396 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.4127, allocations: 1.28 MB / 0.4894 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/0.4131, allocations: 499.7 kB / 0.4899 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.4136, allocations: 295.4 kB / 0.4902 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4137, allocations: 309.1 kB / 0.4905 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.4151, allocations: 0.812 MB / 0.4913 GB, free: 13.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.4169, allocations: 1.312 MB / 0.4926 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003328/0.4202, allocations: 2.258 MB / 0.4948 GB, free: 9.188 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.4203, allocations: 4 kB / 0.4948 GB, free: 9.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005074/0.4253, allocations: 2.8 MB / 0.4975 GB, free: 6.348 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4254, allocations: 12 kB / 0.4975 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.4254, allocations: 16 kB / 0.4975 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.4264, allocations: 425.3 kB / 0.4979 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.4279, allocations: 395.3 kB / 0.4983 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/0.4347, allocations: 5.789 MB / 0.504 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.4364, allocations: 136 kB / 0.5041 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.4365, allocations: 68 kB / 0.5042 GB, free: 15.24 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001423/0.438, allocations: 0.79 MB / 0.5049 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/0.4384, allocations: 206.7 kB / 0.5051 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/0.4427, allocations: 2.391 MB / 0.5075 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/0.4427, allocations: 15.98 kB / 0.5075 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4427, allocations: 7.938 kB / 0.5075 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.4427, allocations: 7.984 kB / 0.5075 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009132/0.4519, allocations: 5.253 MB / 0.5126 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.4519, allocations: 8 kB / 0.5126 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.4529, allocations: 251.6 kB / 0.5129 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.4541, allocations: 464.7 kB / 0.5133 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.942e-05/0.4542, allocations: 31.98 kB / 0.5133 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008167/0.4624, allocations: 7.349 MB / 0.5205 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.4624, allocations: 7.938 kB / 0.5205 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006899/0.4693, allocations: 3.576 MB / 0.524 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.4708, allocations: 459.7 kB / 0.5245 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.4711, allocations: 35.98 kB / 0.5245 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.4723, allocations: 103.9 kB / 0.5246 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/0.4726, allocations: 116.7 kB / 0.5247 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.4727, allocations: 39.98 kB / 0.5247 GB, free: 9.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002094/0.4748, allocations: 1.303 MB / 0.526 GB, free: 8.117 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4748, allocations: 0 / 0.526 GB, free: 8.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002053/0.4769, allocations: 0.543 MB / 0.5265 GB, free: 7.574 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004844/0.4773, allocations: 222.9 kB / 0.5268 GB, free: 7.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00439/0.4817, allocations: 2.345 MB / 0.529 GB, free: 4.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.4817, allocations: 0 / 0.529 GB, free: 4.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002648/0.4844, allocations: 1.452 MB / 0.5305 GB, free: 3.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.4867, allocations: 451.7 kB / 0.5309 GB, free: 3.031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2324/0.719, allocations: 5.205 MB / 0.536 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/0.721, allocations: 2.012 MB / 0.5379 GB, free: 99.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001493/0.7225, allocations: 436.2 kB / 0.5384 GB, free: 99.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.7229, allocations: 130.5 kB / 0.5385 GB, free: 99.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.7229, allocations: 0 / 0.5385 GB, free: 99.45 MB / 446.1 MB Notification: Performance of Templates: time 0.04313/0.766, allocations: 29.37 MB / 0.5672 GB, free: 78.41 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.0434275809675455]