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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=60000,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=60000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00151/0.00151, allocations: 118.3 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 201.2 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.89 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2943, allocations: 50.55 MB / 409.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.0128/0.3072, allocations: 11.51 MB / 420.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007514/0.3147, allocations: 3.927 MB / 424.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.3169, allocations: 59.75 kB / 424.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.3198, allocations: 0.8538 MB / 425.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003964/0.3238, allocations: 0.9433 MB / 426.6 MB, free: 188 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.3256, allocations: 0.511 MB / 427.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004308/0.3299, allocations: 3.222 MB / 430.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003289/0.3332, allocations: 2.589 MB / 432.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.336, allocations: 1.441 MB / 434.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003947/0.34, allocations: 1.814 MB / 436.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.341, allocations: 388 kB / 436.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.343, allocations: 0.605 MB / 437.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.3443, allocations: 1.071 MB / 438.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.3468, allocations: 1.731 MB / 439.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006724/0.3535, allocations: 5.068 MB / 445 MB, free: 13.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3535, allocations: 0 / 445 MB, free: 13.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3535, allocations: 4 kB / 445 MB, free: 13.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001137/0.3537, allocations: 4 kB / 445 MB, free: 13.62 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.009286/0.363, allocations: 3.57 MB / 448.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.363, allocations: 12.03 kB / 448.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.3649, allocations: 458.7 kB / 449 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.3682, allocations: 1.875 MB / 450.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.3684, allocations: 193.1 kB / 451.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003687/0.3688, allocations: 252 kB / 451.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005598/0.3744, allocations: 3.251 MB / 454.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.925e-05/0.3744, allocations: 0 / 454.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.3747, allocations: 108 kB / 454.7 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.3748, allocations: 116.9 kB / 454.8 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004699/0.3795, allocations: 2.705 MB / 457.5 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.3964, allocations: 10.27 MB / 467.8 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/0.3989, allocations: 1.782 MB / 469.6 MB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.4007, allocations: 1.046 MB / 470.6 MB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.401, allocations: 207.2 kB / 470.8 MB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.401, allocations: 51.5 kB / 470.9 MB, free: 3.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.697e-06/0.4011, allocations: 0 / 470.9 MB, free: 3.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.02035/0.4214, allocations: 7.447 MB / 478.3 MB, free: 11.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.4215, allocations: 64.72 kB / 478.4 MB, free: 11.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/0.4259, allocations: 1.897 MB / 480.3 MB, free: 9.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002777/0.4262, allocations: 45.7 kB / 480.3 MB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.4273, allocations: 1.28 MB / 481.6 MB, free: 8.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006278/0.4279, allocations: 491.7 kB / 482.1 MB, free: 7.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006517/0.4286, allocations: 307.4 kB / 482.4 MB, free: 7.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4287, allocations: 309.1 kB / 482.7 MB, free: 7.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.4302, allocations: 0.8081 MB / 483.5 MB, free: 6.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.4321, allocations: 1.312 MB / 484.8 MB, free: 4.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/0.4358, allocations: 2.254 MB / 487 MB, free: 2.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.441e-05/0.4358, allocations: 4 kB / 487 MB, free: 2.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00571/0.4415, allocations: 2.804 MB / 489.9 MB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.4416, allocations: 16.28 kB / 489.9 MB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/0.4416, allocations: 19.94 kB / 489.9 MB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4428, allocations: 418.2 kB / 490.3 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.4444, allocations: 395.3 kB / 490.7 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/0.4508, allocations: 5.804 MB / 496.5 MB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.4527, allocations: 123.9 kB / 496.6 MB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.4529, allocations: 75.98 kB / 496.7 MB, free: 8.289 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.001561/0.4545, allocations: 0.7939 MB / 497.5 MB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005932/0.4551, allocations: 210.6 kB / 497.7 MB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/0.4597, allocations: 2.399 MB / 0.4884 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.719e-05/0.4598, allocations: 16 kB / 0.4884 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.4598, allocations: 7.938 kB / 0.4884 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.4598, allocations: 7.969 kB / 0.4884 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.4706, allocations: 5.261 MB / 0.4935 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.4707, allocations: 4.094 kB / 0.4935 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.4718, allocations: 251.6 kB / 0.4938 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.4731, allocations: 462.4 kB / 0.4942 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.4732, allocations: 39.97 kB / 0.4942 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007849/0.4811, allocations: 7.343 MB / 0.5014 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.4811, allocations: 11.88 kB / 0.5014 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006336/0.4875, allocations: 3.58 MB / 0.5049 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.4886, allocations: 455.7 kB / 0.5054 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004901/0.4891, allocations: 43.98 kB / 0.5054 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.4905, allocations: 91.89 kB / 0.5055 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.4907, allocations: 116.7 kB / 0.5056 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.4909, allocations: 43.98 kB / 0.5056 GB, free: 2.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002462/0.4933, allocations: 1.307 MB / 0.5069 GB, free: 1.133 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4934, allocations: 0 / 0.5069 GB, free: 1.133 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00249/0.4958, allocations: 0.543 MB / 0.5075 GB, free: 0.5898 MB / 430.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.0006634/0.4965, allocations: 226.7 kB / 0.5077 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004995/0.5015, allocations: 2.431 MB / 0.51 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.5016, allocations: 3.938 kB / 0.51 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.5045, allocations: 1.511 MB / 0.5115 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.5075, allocations: 458.9 kB / 0.512 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009625/0.5171, allocations: 5.182 MB / 0.517 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/0.5197, allocations: 2.01 MB / 0.519 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001587/0.5213, allocations: 435.7 kB / 0.5194 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006069/0.5219, allocations: 127.4 kB / 0.5195 GB, free: 4.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5219, allocations: 0 / 0.5195 GB, free: 4.02 MB / 446.1 MB Notification: Performance of Templates: time 0.2619/0.7838, allocations: 28.51 MB / 0.5474 GB, free: 115.9 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (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) 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.0.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) Reference file matches