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.001462/0.001462, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2494, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.0129/0.2624, allocations: 11.51 MB / 421.5 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007662/0.2701, allocations: 3.931 MB / 425.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.2719, allocations: 59.81 kB / 425.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.2742, allocations: 0.8579 MB / 426.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.2771, allocations: 0.9394 MB / 427.2 MB, free: 236 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.2784, allocations: 0.5149 MB / 427.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004018/0.2824, allocations: 3.234 MB / 431 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003098/0.2855, allocations: 2.586 MB / 433.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.2879, allocations: 1.437 MB / 435 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.2904, allocations: 1.821 MB / 436.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005795/0.291, allocations: 392 kB / 437.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.2921, allocations: 0.6051 MB / 437.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009354/0.293, allocations: 1.067 MB / 438.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.2947, allocations: 1.727 MB / 440.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004736/0.2994, allocations: 5.052 MB / 445.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2995, allocations: 0 / 445.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2995, allocations: 0 / 445.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.899e-05/0.2996, allocations: 0 / 445.7 MB, free: 13.68 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.00701/0.3066, allocations: 3.507 MB / 449.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3066, allocations: 12.03 kB / 449.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.3082, allocations: 441 kB / 449.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.3112, allocations: 1.854 MB / 451.5 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3113, allocations: 193.2 kB / 451.7 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.3117, allocations: 256 kB / 451.9 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005367/0.3171, allocations: 3.243 MB / 455.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.694e-05/0.3171, allocations: 7.906 kB / 455.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/0.3174, allocations: 100 kB / 455.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.3176, allocations: 120.9 kB / 455.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004561/0.3221, allocations: 2.701 MB / 458.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/0.3374, allocations: 10.24 MB / 468.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.3396, allocations: 1.786 MB / 470.1 MB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.3413, allocations: 1.046 MB / 471.1 MB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.3416, allocations: 207.1 kB / 471.4 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3417, allocations: 47.56 kB / 471.4 MB, free: 3.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.246e-06/0.3417, allocations: 0 / 471.4 MB, free: 3.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01701/0.3587, allocations: 7.419 MB / 478.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3588, allocations: 64.72 kB / 478.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/0.3613, allocations: 1.889 MB / 480.8 MB, free: 9.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.673e-05/0.3614, allocations: 45.7 kB / 480.8 MB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008321/0.3622, allocations: 1.245 MB / 482.1 MB, free: 8.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.3626, allocations: 473.2 kB / 482.5 MB, free: 7.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/0.363, allocations: 295.3 kB / 482.8 MB, free: 7.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.3631, allocations: 301.1 kB / 483.1 MB, free: 7.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.3644, allocations: 0.8159 MB / 483.9 MB, free: 6.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.3661, allocations: 1.312 MB / 485.2 MB, free: 5.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/0.3691, allocations: 2.254 MB / 487.5 MB, free: 2.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.3691, allocations: 4 kB / 487.5 MB, free: 2.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004537/0.3737, allocations: 2.799 MB / 490.3 MB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3737, allocations: 18.75 kB / 490.3 MB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.3737, allocations: 12 kB / 490.3 MB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000956/0.3747, allocations: 426.3 kB / 490.7 MB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.3761, allocations: 395.3 kB / 491.1 MB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005773/0.3819, allocations: 5.795 MB / 496.9 MB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.3835, allocations: 127.9 kB / 497 MB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.3837, allocations: 68 kB / 497.1 MB, free: 8.59 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.001335/0.385, allocations: 0.8055 MB / 497.9 MB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.3854, allocations: 197.6 kB / 498.1 MB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.3893, allocations: 2.387 MB / 0.4888 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/0.3894, allocations: 15.98 kB / 0.4888 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3894, allocations: 7.938 kB / 0.4888 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.3894, allocations: 3.984 kB / 0.4888 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008044/0.3975, allocations: 5.276 MB / 0.4939 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.3975, allocations: 7.938 kB / 0.4939 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.3985, allocations: 248.2 kB / 0.4942 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.3996, allocations: 458 kB / 0.4946 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-05/0.3997, allocations: 43.98 kB / 0.4947 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006657/0.4064, allocations: 7.337 MB / 0.5018 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.4064, allocations: 11.92 kB / 0.5018 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/0.4117, allocations: 3.575 MB / 0.5053 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007555/0.4125, allocations: 454.6 kB / 0.5058 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.4128, allocations: 35.98 kB / 0.5058 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.4139, allocations: 95.89 kB / 0.5059 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.4141, allocations: 112.7 kB / 0.506 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.821e-05/0.4142, allocations: 43.98 kB / 0.506 GB, free: 2.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001734/0.4159, allocations: 1.299 MB / 0.5073 GB, free: 1.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.416, allocations: 4 kB / 0.5073 GB, free: 1.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001638/0.4176, allocations: 0.5429 MB / 0.5078 GB, free: 0.9141 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.0004062/0.418, allocations: 224.1 kB / 0.5081 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003658/0.4217, allocations: 2.426 MB / 0.5104 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4217, allocations: 1.875 kB / 0.5104 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.424, allocations: 1.51 MB / 0.5119 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.4258, allocations: 452.5 kB / 0.5123 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007238/0.4331, allocations: 5.142 MB / 0.5174 GB, free: 6.992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.4346, allocations: 1.987 MB / 0.5193 GB, free: 4.973 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.4351, allocations: 147.4 kB / 0.5194 GB, free: 4.828 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4351, allocations: 0 / 0.5194 GB, free: 4.828 MB / 446.1 MB Notification: Performance of Templates: time 0.2395/0.6746, allocations: 70.6 MB / 0.5884 GB, free: 82.31 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches