Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001382/0.001382, allocations: 110.5 kB / 21.17 MB, free: 0.7656 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.001439/0.001439, allocations: 214.7 kB / 24.46 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 71.83 kB / 378.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2601, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01522/0.2754, allocations: 11.62 MB / 443.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007773/0.2831, allocations: 3.949 MB / 447.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.285, allocations: 63.75 kB / 447.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.2878, allocations: 0.8851 MB / 448.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.2912, allocations: 0.9823 MB / 449.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.2928, allocations: 0.5148 MB / 450.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004369/0.2972, allocations: 3.23 MB / 453.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.2993, allocations: 1.473 MB / 454.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.3015, allocations: 1.448 MB / 456.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.3041, allocations: 1.86 MB / 458.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006226/0.3047, allocations: 388 kB / 458.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.3059, allocations: 0.6245 MB / 459.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.307, allocations: 1.091 MB / 460.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.3091, allocations: 1.734 MB / 461.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005966/0.3151, allocations: 5.068 MB / 467 MB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3151, allocations: 0 / 467 MB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3151, allocations: 0 / 467 MB, free: 4.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001035/0.3152, allocations: 4 kB / 467 MB, free: 4.254 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.008006/0.3232, allocations: 3.578 MB / 470.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3232, allocations: 8.031 kB / 470.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.325, allocations: 458.7 kB / 471 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.329, allocations: 1.875 MB / 472.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.3291, allocations: 189.2 kB / 473.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004685/0.3296, allocations: 251.9 kB / 473.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006002/0.3356, allocations: 3.251 MB / 476.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.511e-05/0.3357, allocations: 4 kB / 476.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/0.3359, allocations: 100 kB / 476.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.3361, allocations: 120.9 kB / 476.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005142/0.3412, allocations: 2.701 MB / 479.5 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/0.3613, allocations: 10.28 MB / 489.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/0.3649, allocations: 1.709 MB / 491.5 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/0.3677, allocations: 0.9761 MB / 492.5 MB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/0.3681, allocations: 211.2 kB / 492.7 MB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.3681, allocations: 43.56 kB / 492.7 MB, free: 9.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 4.468e-06/0.3681, allocations: 4 kB / 492.7 MB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.0283/0.3964, allocations: 7.448 MB / 0.4884 GB, free: 2.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.3965, allocations: 64.72 kB / 0.4885 GB, free: 2.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/0.4013, allocations: 1.889 MB / 0.4903 GB, free: 284 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.4015, allocations: 49.69 kB / 0.4904 GB, free: 228 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.4031, allocations: 1.28 MB / 0.4916 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007685/0.4039, allocations: 495.8 kB / 0.4921 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007705/0.4047, allocations: 295.4 kB / 0.4924 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4048, allocations: 301.1 kB / 0.4927 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/0.4072, allocations: 0.8237 MB / 0.4935 GB, free: 13.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/0.41, allocations: 1.312 MB / 0.4948 GB, free: 11.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005222/0.4152, allocations: 2.258 MB / 0.497 GB, free: 9.027 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.4152, allocations: 4 kB / 0.497 GB, free: 9.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007704/0.4229, allocations: 2.792 MB / 0.4997 GB, free: 6.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.423, allocations: 12.28 kB / 0.4997 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.423, allocations: 20 kB / 0.4997 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.4241, allocations: 426.2 kB / 0.5001 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.4257, allocations: 399.3 kB / 0.5005 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007082/0.4327, allocations: 5.792 MB / 0.5062 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.4346, allocations: 123.9 kB / 0.5063 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.4348, allocations: 75.94 kB / 0.5064 GB, free: 15.08 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.001506/0.4363, allocations: 0.7935 MB / 0.5071 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005178/0.4368, allocations: 206.7 kB / 0.5073 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004559/0.4414, allocations: 2.387 MB / 0.5097 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/0.4414, allocations: 15.98 kB / 0.5097 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4414, allocations: 7.938 kB / 0.5097 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.809e-05/0.4414, allocations: 11.98 kB / 0.5097 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.4519, allocations: 5.261 MB / 0.5148 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.4519, allocations: 4 kB / 0.5148 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.4531, allocations: 251.6 kB / 0.5151 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.4543, allocations: 458.4 kB / 0.5155 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.4544, allocations: 35.98 kB / 0.5156 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008247/0.4626, allocations: 7.354 MB / 0.5227 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.4627, allocations: 7.938 kB / 0.5227 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006343/0.469, allocations: 3.576 MB / 0.5262 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.4703, allocations: 451.7 kB / 0.5267 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/0.4706, allocations: 39.98 kB / 0.5267 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.4718, allocations: 99.84 kB / 0.5268 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.4721, allocations: 116.7 kB / 0.5269 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.4722, allocations: 39.98 kB / 0.527 GB, free: 9.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00215/0.4744, allocations: 1.303 MB / 0.5282 GB, free: 7.953 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4744, allocations: 0 / 0.5282 GB, free: 7.953 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001959/0.4763, allocations: 0.543 MB / 0.5288 GB, free: 7.41 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.0005038/0.4768, allocations: 222.8 kB / 0.529 GB, free: 7.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004355/0.4812, allocations: 2.337 MB / 0.5312 GB, free: 4.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.371e-06/0.4812, allocations: 4 kB / 0.5313 GB, free: 4.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.4839, allocations: 1.456 MB / 0.5327 GB, free: 3.305 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.4863, allocations: 448.5 kB / 0.5331 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2451/0.7314, allocations: 5.199 MB / 0.5382 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/0.7332, allocations: 2.016 MB / 0.5401 GB, free: 99.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001414/0.7346, allocations: 424.5 kB / 0.5406 GB, free: 99.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/0.735, allocations: 132.4 kB / 0.5407 GB, free: 99.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.735, allocations: 3.812 kB / 0.5407 GB, free: 99.27 MB / 446.1 MB Notification: Performance of Templates: time 0.04308/0.7781, allocations: 29.37 MB / 0.5694 GB, free: 78.22 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.257078268099576]