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.001739/0.001739, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002242/0.002242, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.001973/0.001973, allocations: 76.75 kB / 379.1 MB, free: 2.633 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2432, allocations: 53.36 MB / 432.4 MB, free: 6.977 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01492/0.2581, allocations: 11.62 MB / 444 MB, free: 11.31 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007463/0.2656, allocations: 3.96 MB / 448 MB, free: 7.34 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.2668, allocations: 75.5 kB / 448.1 MB, free: 7.266 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001974/0.2688, allocations: 0.8778 MB / 448.9 MB, free: 6.383 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002604/0.2714, allocations: 0.994 MB / 449.9 MB, free: 5.383 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.2725, allocations: 0.5304 MB / 450.5 MB, free: 4.852 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003854/0.2764, allocations: 3.234 MB / 453.7 MB, free: 1.605 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.2786, allocations: 1.477 MB / 455.2 MB, free: 68 kB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.2808, allocations: 1.476 MB / 456.7 MB, free: 14.59 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002958/0.2837, allocations: 1.86 MB / 458.5 MB, free: 12.72 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0006736/0.2844, allocations: 388 kB / 458.9 MB, free: 12.34 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.2859, allocations: 0.6791 MB / 459.6 MB, free: 11.66 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001382/0.2873, allocations: 1.087 MB / 460.7 MB, free: 10.57 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002106/0.2894, allocations: 1.731 MB / 462.4 MB, free: 8.832 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.006372/0.2958, allocations: 5.076 MB / 467.5 MB, free: 3.738 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2958, allocations: 0 / 467.5 MB, free: 3.738 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.084e-06/0.2958, allocations: 0 / 467.5 MB, free: 3.738 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 9.8e-05/0.2959, allocations: 4 kB / 467.5 MB, free: 3.734 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.007353/0.3032, allocations: 3.499 MB / 471 MB, free: 188 kB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3033, allocations: 8.031 kB / 471 MB, free: 180 kB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.3049, allocations: 462.7 kB / 471.4 MB, free: 15.72 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.3083, allocations: 1.791 MB / 473.2 MB, free: 13.89 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.3085, allocations: 193.1 kB / 473.4 MB, free: 13.7 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003893/0.3089, allocations: 248 kB / 473.7 MB, free: 13.46 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0057/0.3146, allocations: 3.247 MB / 476.9 MB, free: 10.13 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.13e-05/0.3146, allocations: 8 kB / 476.9 MB, free: 10.12 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.3149, allocations: 99.98 kB / 477 MB, free: 10.03 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.315, allocations: 120.9 kB / 477.1 MB, free: 9.906 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004869/0.3199, allocations: 2.701 MB / 479.8 MB, free: 7.191 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.338, allocations: 10.11 MB / 489.9 MB, free: 12.74 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.3403, allocations: 1.252 MB / 491.2 MB, free: 11.49 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.3422, allocations: 0.9796 MB / 492.2 MB, free: 10.51 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.3424, allocations: 56.94 kB / 492.2 MB, free: 10.46 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.3424, allocations: 47.56 kB / 492.3 MB, free: 10.4 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=115): time 3.467e-06/0.3424, allocations: 0 / 492.3 MB, free: 10.4 MB / 398.1 MB
Notification: Performance of matching and sorting (n=134): time 0.0191/0.3616, allocations: 7.068 MB / 499.3 MB, free: 3.301 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.3616, allocations: 64.72 kB / 499.4 MB, free: 3.227 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.365, allocations: 1.893 MB / 0.4895 GB, free: 1.336 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.00016/0.3652, allocations: 49.64 kB / 0.4896 GB, free: 1.281 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.3663, allocations: 1.284 MB / 0.4908 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005087/0.3668, allocations: 491.8 kB / 0.4913 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004914/0.3673, allocations: 295.4 kB / 0.4916 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001411/0.3675, allocations: 301.1 kB / 0.4919 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.369, allocations: 0.8159 MB / 0.4927 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.3709, allocations: 1.312 MB / 0.494 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/0.3744, allocations: 2.258 MB / 0.4962 GB, free: 10.09 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.3744, allocations: 4 kB / 0.4962 GB, free: 10.09 MB / 414.1 MB
Notification: Performance of matching and sorting (n=210) (initialization): time 0.005298/0.3797, allocations: 2.72 MB / 0.4988 GB, free: 7.348 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.3797, allocations: 12 kB / 0.4988 GB, free: 7.336 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.3798, allocations: 16 kB / 0.4989 GB, free: 7.32 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.3808, allocations: 433.4 kB / 0.4993 GB, free: 6.891 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.3823, allocations: 399.3 kB / 0.4996 GB, free: 6.5 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006805/0.3892, allocations: 5.586 MB / 0.5051 GB, free: 0.6875 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.3908, allocations: 127.8 kB / 0.5052 GB, free: 0.5625 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.3909, allocations: 71.98 kB / 0.5053 GB, free: 0.4922 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.001407/0.3923, allocations: 0.7902 MB / 0.5061 GB, free: 15.69 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.3928, allocations: 206.7 kB / 0.5063 GB, free: 15.48 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.3972, allocations: 2.316 MB / 0.5085 GB, free: 13.15 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/0.3972, allocations: 20 kB / 0.5085 GB, free: 13.13 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.3972, allocations: 7.938 kB / 0.5085 GB, free: 13.12 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3972, allocations: 3.984 kB / 0.5086 GB, free: 13.12 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009248/0.4065, allocations: 5.15 MB / 0.5136 GB, free: 7.848 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.4065, allocations: 8.5 kB / 0.5136 GB, free: 7.84 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.4076, allocations: 251.6 kB / 0.5138 GB, free: 7.594 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.4089, allocations: 458.2 kB / 0.5143 GB, free: 7.137 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.683e-05/0.4089, allocations: 31.98 kB / 0.5143 GB, free: 7.105 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00821/0.4172, allocations: 7.025 MB / 0.5212 GB, free: 15.73 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.4172, allocations: 11.88 kB / 0.5212 GB, free: 15.72 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006332/0.4235, allocations: 3.504 MB / 0.5246 GB, free: 12.14 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.4248, allocations: 390.7 kB / 0.525 GB, free: 11.75 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/0.425, allocations: 32 kB / 0.525 GB, free: 11.72 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.4262, allocations: 103.9 kB / 0.5251 GB, free: 11.62 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.4265, allocations: 112.7 kB / 0.5252 GB, free: 11.51 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.712e-05/0.4266, allocations: 39.98 kB / 0.5252 GB, free: 11.47 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.002245/0.4289, allocations: 1.303 MB / 0.5265 GB, free: 10.18 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4289, allocations: 4 kB / 0.5265 GB, free: 10.17 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001898/0.4308, allocations: 0.5506 MB / 0.5271 GB, free: 9.621 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.000494/0.4313, allocations: 214.8 kB / 0.5273 GB, free: 9.398 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.004416/0.4357, allocations: 2.267 MB / 0.5295 GB, free: 7.105 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.4357, allocations: 4 kB / 0.5295 GB, free: 7.102 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002564/0.4383, allocations: 1.451 MB / 0.5309 GB, free: 5.613 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.4406, allocations: 449.5 kB / 0.5313 GB, free: 5.18 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1996/0.6402, allocations: 5.209 MB / 0.5364 GB, free: 99.92 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/0.6425, allocations: 2.016 MB / 0.5384 GB, free: 99.18 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001331/0.6438, allocations: 429.9 kB / 0.5388 GB, free: 99.16 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.6442, allocations: 133 kB / 0.5389 GB, free: 99.15 MB / 446.1 MB
Notification: Performance of SimCode: time 1.052e-06/0.6442, allocations: 1.188 kB / 0.5389 GB, free: 99.15 MB / 446.1 MB
Notification: Performance of Templates: time 0.03977/0.684, allocations: 29.93 MB / 0.5681 GB, free: 79 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/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_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.143390899524093]