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.00564/0.00564, allocations: 105.6 kB / 21.98 MB, free: 5.223 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.001413/0.001413, allocations: 212.6 kB / 25.29 MB, free: 3.203 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.458/1.458, allocations: 230.6 MB / 259 MB, free: 8.051 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.003383/0.003383, allocations: 64.55 kB / 379.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2963, allocations: 53.37 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01495/0.3112, allocations: 11.62 MB / 444.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008586/0.3198, allocations: 3.955 MB / 448.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.3222, allocations: 79.5 kB / 448.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.3249, allocations: 0.8661 MB / 449.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003835/0.3287, allocations: 0.9979 MB / 450.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.3303, allocations: 0.5265 MB / 451.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005085/0.3353, allocations: 3.24 MB / 454.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.3377, allocations: 1.477 MB / 455.9 MB, free: 60 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.3403, allocations: 1.48 MB / 457.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003443/0.3437, allocations: 1.857 MB / 459.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008949/0.3446, allocations: 392 kB / 459.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.3462, allocations: 0.6752 MB / 460.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.3475, allocations: 1.087 MB / 461.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002349/0.3498, allocations: 1.727 MB / 463.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006922/0.3567, allocations: 5.08 MB / 468.2 MB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3567, allocations: 0 / 468.2 MB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3567, allocations: 0 / 468.2 MB, free: 3.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001417/0.3569, allocations: 0 / 468.2 MB, free: 3.73 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.008294/0.3652, allocations: 3.499 MB / 471.7 MB, free: 184 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3652, allocations: 12.03 kB / 471.7 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.3669, allocations: 462.7 kB / 472.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/0.3707, allocations: 1.791 MB / 474 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.3708, allocations: 193.2 kB / 474.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004575/0.3713, allocations: 252 kB / 474.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005978/0.3773, allocations: 3.247 MB / 477.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-05/0.3773, allocations: 7.984 kB / 477.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.3776, allocations: 100 kB / 477.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.3777, allocations: 112.9 kB / 477.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005028/0.3827, allocations: 2.709 MB / 480.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01913/0.4019, allocations: 10.11 MB / 490.7 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.4041, allocations: 1.252 MB / 492 MB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/0.406, allocations: 0.9719 MB / 492.9 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.4063, allocations: 60.94 kB / 493 MB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.4063, allocations: 47.56 kB / 493 MB, free: 10.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 4.288e-06/0.4063, allocations: 0 / 493 MB, free: 10.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01815/0.4245, allocations: 7.072 MB / 0.4884 GB, free: 3.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.4245, allocations: 64.72 kB / 0.4885 GB, free: 3.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003484/0.428, allocations: 1.885 MB / 0.4903 GB, free: 1.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.4282, allocations: 53.7 kB / 0.4903 GB, free: 1.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.4295, allocations: 1.272 MB / 0.4916 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/0.43, allocations: 491.9 kB / 0.4921 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004996/0.4305, allocations: 303.5 kB / 0.4923 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4306, allocations: 301.1 kB / 0.4926 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.4321, allocations: 0.8197 MB / 0.4934 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.4341, allocations: 1.304 MB / 0.4947 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.4376, allocations: 2.258 MB / 0.4969 GB, free: 10.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.4376, allocations: 4 kB / 0.4969 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005344/0.443, allocations: 2.728 MB / 0.4996 GB, free: 7.336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.443, allocations: 14.66 kB / 0.4996 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/0.443, allocations: 19.94 kB / 0.4996 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.4441, allocations: 418.3 kB / 0.5 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.4457, allocations: 399.3 kB / 0.5004 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006779/0.4525, allocations: 5.592 MB / 0.5059 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.4542, allocations: 127.8 kB / 0.506 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.4544, allocations: 72 kB / 0.506 GB, free: 492 kB / 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.001487/0.4559, allocations: 0.7902 MB / 0.5068 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004557/0.4563, allocations: 206.7 kB / 0.507 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004367/0.4607, allocations: 2.316 MB / 0.5093 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.159e-05/0.4607, allocations: 12 kB / 0.5093 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4607, allocations: 7.938 kB / 0.5093 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.4608, allocations: 7.969 kB / 0.5093 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009909/0.4707, allocations: 5.15 MB / 0.5143 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.4707, allocations: 4 kB / 0.5143 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.4718, allocations: 244.2 kB / 0.5146 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.4732, allocations: 462 kB / 0.515 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.4733, allocations: 51.95 kB / 0.5151 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00835/0.4816, allocations: 7.017 MB / 0.5219 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/0.4816, allocations: 15.88 kB / 0.5219 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006686/0.4883, allocations: 3.501 MB / 0.5253 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.4898, allocations: 390.6 kB / 0.5257 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/0.4902, allocations: 39.98 kB / 0.5258 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.4913, allocations: 95.8 kB / 0.5258 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.4916, allocations: 116.7 kB / 0.526 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.4917, allocations: 43.98 kB / 0.526 GB, free: 11.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002394/0.4941, allocations: 1.303 MB / 0.5273 GB, free: 10.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4941, allocations: 4 kB / 0.5273 GB, free: 10.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0019/0.496, allocations: 0.5429 MB / 0.5278 GB, free: 9.609 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.000462/0.4965, allocations: 214.8 kB / 0.528 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004509/0.501, allocations: 2.269 MB / 0.5302 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.501, allocations: 1.875 kB / 0.5302 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.5037, allocations: 1.451 MB / 0.5316 GB, free: 5.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.5062, allocations: 447.2 kB / 0.5321 GB, free: 5.172 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2227/0.7289, allocations: 5.253 MB / 0.5372 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/0.7316, allocations: 1.996 MB / 0.5391 GB, free: 99.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008249/0.7324, allocations: 145.4 kB / 0.5393 GB, free: 99.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.315e-06/0.7324, allocations: 0 / 0.5393 GB, free: 99.25 MB / 446.1 MB Notification: Performance of Templates: time 0.06418/0.7966, allocations: 70.85 MB / 0.6085 GB, free: 38.71 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/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/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.939902865095064]