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.001578/0.001578, allocations: 116.8 kB / 19.17 MB, free: 3.891 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.001721/0.001721, allocations: 210.6 kB / 22.13 MB, free: 0.9375 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.469/1.469, allocations: 230.4 MB / 255.4 MB, free: 15 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.001875/0.001875, allocations: 67.89 kB / 374.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 53.31 MB / 428.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.2251/0.3294, allocations: 11.56 MB / 439.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007419/0.3368, allocations: 3.942 MB / 443.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.339, allocations: 59.97 kB / 443.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.3415, allocations: 0.8736 MB / 444.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.3452, allocations: 0.9894 MB / 445.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.3469, allocations: 0.5149 MB / 446 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005104/0.352, allocations: 3.219 MB / 449.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003086/0.3551, allocations: 1.861 MB / 451.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/0.3581, allocations: 1.451 MB / 452.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003989/0.3621, allocations: 1.849 MB / 454.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.3632, allocations: 386.5 kB / 454.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.3656, allocations: 0.6304 MB / 455.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.3674, allocations: 1.076 MB / 456.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003853/0.3713, allocations: 1.738 MB / 458.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008005/0.3793, allocations: 5.072 MB / 463.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3793, allocations: 5.219 kB / 463.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3793, allocations: 0 / 463.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001626/0.3794, allocations: 0 / 463.3 MB, free: 8.371 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.009803/0.3892, allocations: 3.57 MB / 466.9 MB, free: 5.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.3893, allocations: 12.25 kB / 466.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.3913, allocations: 469.3 kB / 467.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/0.3951, allocations: 1.865 MB / 469.2 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.3953, allocations: 186.7 kB / 469.4 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004465/0.3958, allocations: 257.5 kB / 469.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006305/0.4021, allocations: 3.245 MB / 472.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.744e-05/0.4021, allocations: 10.97 kB / 472.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.4024, allocations: 105.1 kB / 473 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.4025, allocations: 112.8 kB / 473.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005333/0.4079, allocations: 2.707 MB / 475.8 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0195/0.4274, allocations: 10.28 MB / 486.1 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.4299, allocations: 1.706 MB / 487.8 MB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/0.4317, allocations: 0.9729 MB / 488.8 MB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.4321, allocations: 203.2 kB / 489 MB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.4321, allocations: 47.56 kB / 489 MB, free: 3.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.387e-06/0.4321, allocations: 0 / 489 MB, free: 3.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01952/0.4516, allocations: 7.46 MB / 496.5 MB, free: 11.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.4517, allocations: 64.72 kB / 496.5 MB, free: 11.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003454/0.4551, allocations: 1.885 MB / 498.4 MB, free: 9.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002837/0.4554, allocations: 49.7 kB / 498.5 MB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.4565, allocations: 1.276 MB / 499.7 MB, free: 8.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/0.4571, allocations: 491.8 kB / 0.4885 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005446/0.4577, allocations: 307.4 kB / 0.4888 GB, free: 7.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4578, allocations: 305.1 kB / 0.4891 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.4593, allocations: 0.812 MB / 0.4899 GB, free: 6.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.4612, allocations: 1.308 MB / 0.4912 GB, free: 4.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.4648, allocations: 2.254 MB / 0.4934 GB, free: 2.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.4648, allocations: 4 kB / 0.4934 GB, free: 2.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005552/0.4703, allocations: 2.805 MB / 0.4961 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.4704, allocations: 12 kB / 0.4961 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/0.4704, allocations: 16 kB / 0.4961 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4715, allocations: 410.3 kB / 0.4965 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.4731, allocations: 403.3 kB / 0.4969 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006978/0.4801, allocations: 5.808 MB / 0.5026 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.4824, allocations: 119.8 kB / 0.5027 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.4827, allocations: 75.98 kB / 0.5028 GB, free: 8.305 MB / 414.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.001847/0.4845, allocations: 0.7862 MB / 0.5035 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/0.4852, allocations: 210.7 kB / 0.5037 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/0.4899, allocations: 2.391 MB / 0.5061 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-05/0.49, allocations: 12 kB / 0.5061 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.49, allocations: 4 kB / 0.5061 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.49, allocations: 11.91 kB / 0.5061 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.5006, allocations: 5.265 MB / 0.5112 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.5006, allocations: 4 kB / 0.5112 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.5016, allocations: 247.6 kB / 0.5115 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.5029, allocations: 465.3 kB / 0.5119 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.5031, allocations: 35.97 kB / 0.5119 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008434/0.5115, allocations: 7.347 MB / 0.5191 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.5115, allocations: 4 kB / 0.5191 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006509/0.518, allocations: 3.58 MB / 0.5226 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.5194, allocations: 459.7 kB / 0.5231 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/0.5198, allocations: 28 kB / 0.5231 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.521, allocations: 107.8 kB / 0.5232 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/0.5213, allocations: 105.6 kB / 0.5233 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5214, allocations: 47.98 kB / 0.5233 GB, free: 2.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00223/0.5237, allocations: 1.299 MB / 0.5246 GB, free: 1.195 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5237, allocations: 0 / 0.5246 GB, free: 1.195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002261/0.5259, allocations: 0.543 MB / 0.5251 GB, free: 0.6523 MB / 430.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.0005615/0.5265, allocations: 223.7 kB / 0.5253 GB, free: 436 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004441/0.5309, allocations: 2.339 MB / 0.5276 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/0.5309, allocations: 4 kB / 0.5276 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002662/0.5336, allocations: 1.456 MB / 0.5291 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.5363, allocations: 454.4 kB / 0.5295 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.5464, allocations: 5.228 MB / 0.5346 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/0.5484, allocations: 1.995 MB / 0.5365 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007766/0.5492, allocations: 143.4 kB / 0.5367 GB, free: 4.625 MB / 446.1 MB Notification: Performance of SimCode: time 1.804e-06/0.5492, allocations: 4 kB / 0.5367 GB, free: 4.621 MB / 446.1 MB Notification: Performance of Templates: time 0.09566/0.6449, allocations: 70.85 MB / 0.6059 GB, free: 13.8 MB / 0.5137 GB " [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 -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: 13.320995945949107]