Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001354/0.001354, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001761/0.001761, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 59.89 kB / 378.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2945, allocations: 53.37 MB / 432.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01643/0.3109, allocations: 11.62 MB / 443.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009952/0.3209, allocations: 3.953 MB / 447.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.3235, allocations: 79.5 kB / 447.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.327, allocations: 0.8739 MB / 448.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.3321, allocations: 0.994 MB / 449.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.3342, allocations: 0.5265 MB / 450.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005679/0.3399, allocations: 3.234 MB / 453.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003156/0.3431, allocations: 1.477 MB / 454.9 MB, free: 176 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.3459, allocations: 1.48 MB / 456.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003783/0.3496, allocations: 1.857 MB / 458.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.3511, allocations: 391.9 kB / 458.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.3536, allocations: 0.6791 MB / 459.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002078/0.3557, allocations: 1.083 MB / 460.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00433/0.36, allocations: 1.734 MB / 462.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009102/0.3691, allocations: 5.072 MB / 467.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3691, allocations: 0 / 467.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3691, allocations: 0 / 467.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001457/0.3693, allocations: 7.938 kB / 467.2 MB, free: 3.836 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.00898/0.3783, allocations: 3.503 MB / 470.7 MB, free: 288 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3783, allocations: 8.031 kB / 470.7 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.3801, allocations: 462.8 kB / 471.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.3839, allocations: 1.791 MB / 472.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.3841, allocations: 193.2 kB / 473.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/0.3845, allocations: 251.9 kB / 473.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00636/0.3908, allocations: 3.243 MB / 476.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.529e-05/0.3909, allocations: 11.94 kB / 476.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.3912, allocations: 96 kB / 476.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.3913, allocations: 120.9 kB / 476.8 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.3966, allocations: 2.697 MB / 479.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01906/0.4157, allocations: 10.11 MB / 489.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.418, allocations: 1.27 MB / 490.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.42, allocations: 0.968 MB / 491.9 MB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.4202, allocations: 52.95 kB / 491.9 MB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.4202, allocations: 47.55 kB / 492 MB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.066e-06/0.4203, allocations: 4 kB / 492 MB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01938/0.4396, allocations: 7.067 MB / 499.1 MB, free: 3.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.4397, allocations: 68.72 kB / 499.1 MB, free: 3.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003235/0.4429, allocations: 1.893 MB / 0.4893 GB, free: 1.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.4431, allocations: 49.7 kB / 0.4893 GB, free: 1.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.4441, allocations: 1.28 MB / 0.4906 GB, free: 88 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.4446, allocations: 492 kB / 0.491 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005382/0.4452, allocations: 295.4 kB / 0.4913 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4453, allocations: 305.1 kB / 0.4916 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.4468, allocations: 0.8198 MB / 0.4924 GB, free: 14.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.4488, allocations: 1.312 MB / 0.4937 GB, free: 12.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00356/0.4523, allocations: 2.262 MB / 0.4959 GB, free: 10.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4524, allocations: 4 kB / 0.4959 GB, free: 10.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005232/0.4576, allocations: 2.716 MB / 0.4986 GB, free: 7.438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.4576, allocations: 12.28 kB / 0.4986 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.4576, allocations: 16 kB / 0.4986 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.4587, allocations: 426.1 kB / 0.499 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.4603, allocations: 399.3 kB / 0.4994 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006899/0.4672, allocations: 5.598 MB / 0.5048 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.4691, allocations: 119.8 kB / 0.5049 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.4692, allocations: 75.98 kB / 0.505 GB, free: 0.5781 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.001559/0.4708, allocations: 0.79 MB / 0.5058 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005565/0.4714, allocations: 206.7 kB / 0.506 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004559/0.4759, allocations: 2.316 MB / 0.5083 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.541e-05/0.4759, allocations: 12 kB / 0.5083 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.476, allocations: 7.938 kB / 0.5083 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.476, allocations: 7.984 kB / 0.5083 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009942/0.4859, allocations: 5.162 MB / 0.5133 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.4859, allocations: 4 kB / 0.5133 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.487, allocations: 247.6 kB / 0.5136 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.4883, allocations: 458.4 kB / 0.514 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/0.4884, allocations: 31.98 kB / 0.514 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008449/0.4969, allocations: 7.028 MB / 0.5209 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.4969, allocations: 11.75 kB / 0.5209 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006602/0.5035, allocations: 3.497 MB / 0.5243 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.5048, allocations: 394.6 kB / 0.5247 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.5051, allocations: 36 kB / 0.5247 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.5063, allocations: 99.88 kB / 0.5248 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/0.5066, allocations: 116.7 kB / 0.5249 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5067, allocations: 43.98 kB / 0.525 GB, free: 11.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002255/0.5089, allocations: 1.303 MB / 0.5262 GB, free: 10.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5089, allocations: 0 / 0.5262 GB, free: 10.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002028/0.511, allocations: 0.5468 MB / 0.5268 GB, free: 9.699 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.000497/0.5115, allocations: 214.8 kB / 0.527 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004524/0.516, allocations: 2.274 MB / 0.5292 GB, free: 7.188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.516, allocations: 0 / 0.5292 GB, free: 7.188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002673/0.5187, allocations: 1.452 MB / 0.5306 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.5209, allocations: 444.9 kB / 0.531 GB, free: 5.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2217/0.7426, allocations: 5.208 MB / 0.5361 GB, free: 99.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002575/0.7452, allocations: 2.017 MB / 0.5381 GB, free: 99.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001425/0.7466, allocations: 423.2 kB / 0.5385 GB, free: 99.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/0.7471, allocations: 134.4 kB / 0.5386 GB, free: 99.07 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7471, allocations: 3.812 kB / 0.5386 GB, free: 99.07 MB / 446.1 MB Notification: Performance of Templates: time 0.04447/0.7915, allocations: 29.92 MB / 0.5679 GB, free: 78.99 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.247120182029903]