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.001639/0.001639, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.002034/0.002034, allocations: 210.8 kB / 24.47 MB, free: 3.996 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.395/1.395, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.001856/0.001856, allocations: 71.81 kB / 378.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2336, allocations: 53.31 MB / 432.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01382/0.2474, allocations: 11.62 MB / 443.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007184/0.2546, allocations: 3.947 MB / 447.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.256, allocations: 59.75 kB / 447.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.2581, allocations: 0.8813 MB / 448.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.2606, allocations: 0.9862 MB / 449.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.2617, allocations: 0.5148 MB / 450.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003741/0.2655, allocations: 3.234 MB / 453.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.2675, allocations: 1.477 MB / 454.8 MB, free: 492 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.2695, allocations: 1.448 MB / 456.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.2723, allocations: 1.853 MB / 458.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006765/0.273, allocations: 388 kB / 458.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.2742, allocations: 0.6361 MB / 459.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.2753, allocations: 1.083 MB / 460.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.2772, allocations: 1.723 MB / 461.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005806/0.2831, allocations: 5.076 MB / 467 MB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2831, allocations: 4 kB / 467 MB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2831, allocations: 3.938 kB / 467 MB, free: 4.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.136e-05/0.2832, allocations: 0 / 467 MB, free: 4.234 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.007508/0.2907, allocations: 3.574 MB / 470.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2907, allocations: 8.031 kB / 470.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.2923, allocations: 466.7 kB / 471 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.2958, allocations: 1.871 MB / 472.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.2959, allocations: 193.2 kB / 473.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/0.2963, allocations: 248 kB / 473.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005456/0.3018, allocations: 3.247 MB / 476.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.349e-05/0.3018, allocations: 8 kB / 476.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.3021, allocations: 99.98 kB / 476.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.3022, allocations: 120.9 kB / 476.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004719/0.3069, allocations: 2.705 MB / 479.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.3237, allocations: 10.29 MB / 489.8 MB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.326, allocations: 1.701 MB / 491.5 MB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.3278, allocations: 0.9722 MB / 492.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.3281, allocations: 207.2 kB / 492.7 MB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.3281, allocations: 51.5 kB / 492.7 MB, free: 9.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.616e-06/0.3281, allocations: 0 / 492.7 MB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01785/0.346, allocations: 7.456 MB / 0.4884 GB, free: 2.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.346, allocations: 64.72 kB / 0.4885 GB, free: 2.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002735/0.3488, allocations: 1.885 MB / 0.4903 GB, free: 260 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.3489, allocations: 49.7 kB / 0.4904 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009846/0.3498, allocations: 1.276 MB / 0.4916 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.3503, allocations: 495.8 kB / 0.4921 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004811/0.3507, allocations: 299.4 kB / 0.4924 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3509, allocations: 309.1 kB / 0.4927 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.3523, allocations: 0.812 MB / 0.4935 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.354, allocations: 1.308 MB / 0.4948 GB, free: 11.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003349/0.3574, allocations: 2.258 MB / 0.497 GB, free: 9.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.3574, allocations: 4 kB / 0.497 GB, free: 9.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005003/0.3624, allocations: 2.8 MB / 0.4997 GB, free: 6.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.3624, allocations: 12 kB / 0.4997 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/0.3625, allocations: 16 kB / 0.4997 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3635, allocations: 426.2 kB / 0.5001 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.365, allocations: 399.3 kB / 0.5005 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006541/0.3715, allocations: 5.792 MB / 0.5062 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.3732, allocations: 123.8 kB / 0.5063 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.3734, allocations: 75.98 kB / 0.5064 GB, free: 15.05 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.001345/0.3747, allocations: 0.7918 MB / 0.5071 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/0.3751, allocations: 210.7 kB / 0.5073 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.3793, allocations: 2.399 MB / 0.5097 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/0.3794, allocations: 16 kB / 0.5097 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.3794, allocations: 7.938 kB / 0.5097 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.3794, allocations: 7.969 kB / 0.5097 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009143/0.3885, allocations: 5.257 MB / 0.5148 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.3886, allocations: 4 kB / 0.5148 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.3896, allocations: 251.6 kB / 0.5151 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.3908, allocations: 454.6 kB / 0.5155 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-05/0.3909, allocations: 35.98 kB / 0.5156 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007757/0.3987, allocations: 7.345 MB / 0.5227 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.3987, allocations: 15.81 kB / 0.5227 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/0.4046, allocations: 3.58 MB / 0.5262 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.4057, allocations: 455.7 kB / 0.5267 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/0.406, allocations: 32 kB / 0.5267 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.4071, allocations: 103.8 kB / 0.5268 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.4073, allocations: 108.7 kB / 0.5269 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.399e-05/0.4074, allocations: 39.98 kB / 0.5269 GB, free: 9.234 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001932/0.4094, allocations: 1.303 MB / 0.5282 GB, free: 7.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4094, allocations: 0 / 0.5282 GB, free: 7.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001759/0.4111, allocations: 0.5469 MB / 0.5288 GB, free: 7.395 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.0004481/0.4116, allocations: 222.9 kB / 0.529 GB, free: 7.164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004082/0.4157, allocations: 2.341 MB / 0.5313 GB, free: 4.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4157, allocations: 0 / 0.5313 GB, free: 4.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.4182, allocations: 1.452 MB / 0.5327 GB, free: 3.293 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.4202, allocations: 454.2 kB / 0.5331 GB, free: 2.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.188/0.6082, allocations: 5.257 MB / 0.5382 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.6099, allocations: 1.992 MB / 0.5402 GB, free: 99.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/0.6105, allocations: 150 kB / 0.5403 GB, free: 99.38 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6105, allocations: 0 / 0.5403 GB, free: 99.38 MB / 446.1 MB Notification: Performance of Templates: time 0.05797/0.6685, allocations: 70.84 MB / 0.6095 GB, free: 37.36 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 -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.33546386519447]