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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 213.9 kB / 23.54 MB, free: 5.398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.2 MB / 256.7 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] 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.001923/0.001923, allocations: 67.89 kB / 376.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2653, allocations: 53.32 MB / 430.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01464/0.28, allocations: 11.56 MB / 441.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008901/0.2889, allocations: 3.933 MB / 445.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.291, allocations: 67.75 kB / 445.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.2937, allocations: 0.8773 MB / 446.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003399/0.2971, allocations: 0.9901 MB / 447.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.2986, allocations: 0.5187 MB / 448.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00451/0.3032, allocations: 3.226 MB / 451.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002583/0.3057, allocations: 1.856 MB / 453.2 MB, free: 496 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.308, allocations: 1.441 MB / 454.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.3108, allocations: 1.864 MB / 456.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000729/0.3115, allocations: 388 kB / 456.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.3129, allocations: 0.6207 MB / 457.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001407/0.3143, allocations: 1.091 MB / 458.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002521/0.3168, allocations: 1.73 MB / 460.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007199/0.324, allocations: 5.072 MB / 465.4 MB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.324, allocations: 0 / 465.4 MB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.324, allocations: 0 / 465.4 MB, free: 4.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001568/0.3242, allocations: 3.938 kB / 465.4 MB, free: 4.242 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.009431/0.3336, allocations: 3.574 MB / 469 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3336, allocations: 8.031 kB / 469 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.3355, allocations: 462.7 kB / 469.5 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004044/0.3396, allocations: 1.867 MB / 471.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.3398, allocations: 205.1 kB / 471.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005638/0.3404, allocations: 248 kB / 471.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006354/0.3467, allocations: 3.243 MB / 475 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.755e-05/0.3468, allocations: 8 kB / 475 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.347, allocations: 108 kB / 475.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/0.3472, allocations: 112.9 kB / 475.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005089/0.3523, allocations: 2.709 MB / 478 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0198/0.3721, allocations: 10.28 MB / 488.2 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.3747, allocations: 1.699 MB / 489.9 MB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.3767, allocations: 0.983 MB / 490.9 MB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.377, allocations: 207.2 kB / 491.1 MB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.377, allocations: 43.56 kB / 491.2 MB, free: 9.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.216e-06/0.377, allocations: 0 / 491.2 MB, free: 9.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01868/0.3957, allocations: 7.448 MB / 498.6 MB, free: 2.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.3958, allocations: 68.72 kB / 498.7 MB, free: 2.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.3988, allocations: 1.889 MB / 0.4888 GB, free: 280 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.399, allocations: 49.7 kB / 0.4889 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.4001, allocations: 1.28 MB / 0.4901 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004598/0.4005, allocations: 491.8 kB / 0.4906 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004985/0.401, allocations: 299.4 kB / 0.4909 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4011, allocations: 309.1 kB / 0.4912 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.4026, allocations: 0.8159 MB / 0.492 GB, free: 13.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.4044, allocations: 1.308 MB / 0.4933 GB, free: 11.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/0.4079, allocations: 2.258 MB / 0.4955 GB, free: 9.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.4079, allocations: 11.94 kB / 0.4955 GB, free: 9.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005328/0.4132, allocations: 2.792 MB / 0.4982 GB, free: 6.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.4133, allocations: 11.98 kB / 0.4982 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.4133, allocations: 16 kB / 0.4982 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.4144, allocations: 422.5 kB / 0.4986 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.4159, allocations: 403.3 kB / 0.499 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006931/0.4228, allocations: 5.787 MB / 0.5047 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.4246, allocations: 123.8 kB / 0.5048 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.4248, allocations: 75.98 kB / 0.5049 GB, free: 15.08 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.001451/0.4262, allocations: 0.7874 MB / 0.5056 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004601/0.4267, allocations: 214.7 kB / 0.5058 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/0.4311, allocations: 2.395 MB / 0.5082 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/0.4311, allocations: 19.98 kB / 0.5082 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4311, allocations: 7.938 kB / 0.5082 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4312, allocations: 3.984 kB / 0.5082 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009249/0.4404, allocations: 5.254 MB / 0.5133 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.4404, allocations: 4 kB / 0.5133 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.4415, allocations: 251.6 kB / 0.5136 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.4427, allocations: 454 kB / 0.514 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.4428, allocations: 39.98 kB / 0.514 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008034/0.4509, allocations: 7.345 MB / 0.5212 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.4509, allocations: 11.94 kB / 0.5212 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006214/0.4571, allocations: 3.572 MB / 0.5247 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.4582, allocations: 455.7 kB / 0.5252 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.4585, allocations: 35.98 kB / 0.5252 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.4596, allocations: 99.88 kB / 0.5253 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.4599, allocations: 112.7 kB / 0.5254 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.602e-05/0.46, allocations: 52.05 kB / 0.5254 GB, free: 9.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002056/0.462, allocations: 1.299 MB / 0.5267 GB, free: 7.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.462, allocations: 0 / 0.5267 GB, free: 7.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001888/0.4639, allocations: 0.5547 MB / 0.5273 GB, free: 7.402 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.0004488/0.4644, allocations: 214.9 kB / 0.5275 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004235/0.4686, allocations: 2.342 MB / 0.5297 GB, free: 4.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4686, allocations: 4.125 kB / 0.5297 GB, free: 4.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002543/0.4712, allocations: 1.447 MB / 0.5312 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.4733, allocations: 455.9 kB / 0.5316 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1954/0.6688, allocations: 5.245 MB / 0.5367 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/0.6704, allocations: 1.995 MB / 0.5387 GB, free: 99.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006493/0.671, allocations: 138.8 kB / 0.5388 GB, free: 99.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.671, allocations: 0 / 0.5388 GB, free: 99.72 MB / 446.1 MB Notification: Performance of Templates: time 0.06165/0.7327, allocations: 70.86 MB / 0.608 GB, free: 37.59 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/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_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