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.001094/0.001094, allocations: 99.66 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001809/0.001809, allocations: 197.2 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.7 MB / 246.4 MB, free: 9.785 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002404, allocations: 12 kB / 307.1 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 51.53 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.013/0.1353, allocations: 10.18 MB / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.231/0.3663, allocations: 3.705 MB / 372.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.3682, allocations: 57.41 kB / 372.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.3703, allocations: 0.6847 MB / 373.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.3739, allocations: 0.7991 MB / 374.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.3754, allocations: 333.9 kB / 374.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005598/0.381, allocations: 3.26 MB / 377.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.3837, allocations: 1.726 MB / 379.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.3862, allocations: 1.082 MB / 380.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/0.3891, allocations: 1.483 MB / 381.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005548/0.3897, allocations: 162.5 kB / 382.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.3909, allocations: 344.3 kB / 382.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009935/0.3919, allocations: 0.7984 MB / 383.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.393, allocations: 0.5864 MB / 383.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004048/0.397, allocations: 4.036 MB / 387.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.397, allocations: 1.062 kB / 387.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3971, allocations: 0 / 387.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001274/0.3972, allocations: 0 / 387.9 MB, free: 6.328 MB / 302.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.00632/0.4035, allocations: 3.01 MB / 390.9 MB, free: 4.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4036, allocations: 9.281 kB / 390.9 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.4054, allocations: 459.1 kB / 391.3 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.4086, allocations: 1.746 MB / 393.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.4088, allocations: 191.1 kB / 393.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004051/0.4092, allocations: 257.4 kB / 393.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005415/0.4146, allocations: 3.238 MB / 396.7 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/0.4147, allocations: 10.97 kB / 396.8 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.4149, allocations: 104 kB / 396.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.4151, allocations: 122.4 kB / 397 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004155/0.4192, allocations: 2.708 MB / 399.7 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.4372, allocations: 10.44 MB / 410.1 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.4397, allocations: 1.785 MB / 411.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.4416, allocations: 1.063 MB / 413 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/0.442, allocations: 210.9 kB / 413.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.4421, allocations: 47.56 kB / 413.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.447e-06/0.4421, allocations: 0 / 413.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.01879/0.4609, allocations: 7.753 MB / 421 MB, free: 10.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.461, allocations: 68.72 kB / 421 MB, free: 10.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/0.4641, allocations: 1.865 MB / 422.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.4642, allocations: 53.7 kB / 423 MB, free: 8.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.4653, allocations: 1.252 MB / 424.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005898/0.4659, allocations: 463.9 kB / 424.7 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.466, allocations: 32 kB / 424.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00025/0.4663, allocations: 369.9 kB / 425.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.4676, allocations: 0.8276 MB / 425.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.4697, allocations: 1.323 MB / 427.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.4714, allocations: 1.023 MB / 428.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.4714, allocations: 8 kB / 428.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00509/0.4765, allocations: 2.822 MB / 431.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.4766, allocations: 12 kB / 431.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.4766, allocations: 19.98 kB / 431.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.4777, allocations: 424.3 kB / 431.5 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.4791, allocations: 415.3 kB / 431.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/0.4851, allocations: 5.302 MB / 437.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.4871, allocations: 135.7 kB / 437.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.4873, allocations: 75.98 kB / 437.4 MB, free: 9.93 MB / 350.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 12,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001876/0.4891, allocations: 0.7972 MB / 438.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005441/0.4897, allocations: 193.7 kB / 438.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/0.4941, allocations: 2.426 MB / 440.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/0.4941, allocations: 13.75 kB / 440.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.4941, allocations: 4 kB / 440.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.4941, allocations: 8.062 kB / 440.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009006/0.5032, allocations: 5.32 MB / 446.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.5032, allocations: 4.062 kB / 446.2 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.5042, allocations: 259.6 kB / 446.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.5055, allocations: 460.6 kB / 446.9 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.744e-05/0.5056, allocations: 39.97 kB / 446.9 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007085/0.5127, allocations: 6.732 MB / 453.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.5127, allocations: 4 kB / 453.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005991/0.5187, allocations: 3.613 MB / 457.3 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.5199, allocations: 458.5 kB / 457.7 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006092/0.5205, allocations: 35.98 kB / 457.8 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.522, allocations: 111.8 kB / 457.9 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.5222, allocations: 104.8 kB / 458 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.5224, allocations: 51.3 kB / 458 MB, free: 4.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002647/0.525, allocations: 1.291 MB / 459.3 MB, free: 3.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.525, allocations: 0 / 459.3 MB, free: 3.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002359/0.5274, allocations: 0.543 MB / 459.9 MB, free: 2.816 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004386/0.5278, allocations: 178 kB / 460 MB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004159/0.532, allocations: 2.441 MB / 462.5 MB, free: 156 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.532, allocations: 0 / 462.5 MB, free: 156 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002553/0.5346, allocations: 1.522 MB / 464 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.5375, allocations: 442.2 kB / 464.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.5485, allocations: 6.08 MB / 470.5 MB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002576/0.5511, allocations: 2.01 MB / 472.5 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001799/0.553, allocations: 427.7 kB / 472.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/0.5535, allocations: 131.4 kB / 473.1 MB, free: 5.402 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5535, allocations: 0 / 473.1 MB, free: 5.402 MB / 382.1 MB Notification: Performance of Templates: time 0.0509/0.6044, allocations: 25.78 MB / 498.8 MB, free: 11.88 MB / 414.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