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.001189/0.001189, allocations: 109.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2135, allocations: 50.53 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.01082/0.2243, allocations: 11.52 MB / 421.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005433/0.2298, allocations: 3.931 MB / 425.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.2309, allocations: 59.75 kB / 425.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.2327, allocations: 0.854 MB / 426.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.2346, allocations: 0.9433 MB / 427.2 MB, free: 232 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.2355, allocations: 0.5071 MB / 427.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00256/0.238, allocations: 3.234 MB / 431 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/0.2404, allocations: 2.582 MB / 433.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.2417, allocations: 1.448 MB / 435 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.2435, allocations: 1.814 MB / 436.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003951/0.2439, allocations: 392 kB / 437.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008374/0.2447, allocations: 0.6128 MB / 437.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008032/0.2455, allocations: 1.063 MB / 438.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.2468, allocations: 1.723 MB / 440.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003714/0.2506, allocations: 5.064 MB / 445.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2506, allocations: 4 kB / 445.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2506, allocations: 0 / 445.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.774e-05/0.2506, allocations: 0 / 445.7 MB, free: 13.67 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.005593/0.2562, allocations: 3.495 MB / 449.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.2563, allocations: 12.03 kB / 449.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.2576, allocations: 445 kB / 449.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.2605, allocations: 1.854 MB / 451.5 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.2606, allocations: 193.2 kB / 451.7 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.2609, allocations: 248 kB / 451.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004482/0.2654, allocations: 3.247 MB / 455.1 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.2655, allocations: 7.906 kB / 455.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.2657, allocations: 100 kB / 455.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.2658, allocations: 116.9 kB / 455.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003962/0.2698, allocations: 2.709 MB / 458.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.2829, allocations: 10.24 MB / 468.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.2849, allocations: 1.786 MB / 470.1 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.2865, allocations: 1.042 MB / 471.1 MB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.2867, allocations: 203.2 kB / 471.3 MB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2868, allocations: 47.56 kB / 471.4 MB, free: 3.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 2.384e-06/0.2868, allocations: 0 / 471.4 MB, free: 3.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01527/0.3021, allocations: 7.427 MB / 478.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.3021, allocations: 68.72 kB / 478.9 MB, free: 11.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.3043, allocations: 1.885 MB / 480.8 MB, free: 9.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/0.3044, allocations: 45.7 kB / 480.8 MB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007389/0.3051, allocations: 1.245 MB / 482.1 MB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.3054, allocations: 473.2 kB / 482.5 MB, free: 7.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004194/0.3058, allocations: 295.3 kB / 482.8 MB, free: 7.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.3059, allocations: 305.1 kB / 483.1 MB, free: 7.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.3072, allocations: 0.8159 MB / 483.9 MB, free: 6.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.3087, allocations: 1.308 MB / 485.2 MB, free: 5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.3115, allocations: 2.254 MB / 487.5 MB, free: 2.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3116, allocations: 11.94 kB / 487.5 MB, free: 2.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004099/0.3157, allocations: 2.799 MB / 490.3 MB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3157, allocations: 14.81 kB / 490.3 MB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.3157, allocations: 16 kB / 490.3 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008591/0.3166, allocations: 422.3 kB / 490.7 MB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.3179, allocations: 399.3 kB / 491.1 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/0.3233, allocations: 5.794 MB / 496.9 MB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.3245, allocations: 115.9 kB / 497 MB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.3246, allocations: 71.98 kB / 497.1 MB, free: 8.586 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.001036/0.3257, allocations: 0.8012 MB / 497.9 MB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.326, allocations: 201.5 kB / 498.1 MB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.3297, allocations: 2.395 MB / 0.4888 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/0.3297, allocations: 12 kB / 0.4888 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3297, allocations: 11.94 kB / 0.4888 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3297, allocations: 7.984 kB / 0.4888 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007671/0.3374, allocations: 5.276 MB / 0.494 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3374, allocations: 4 kB / 0.494 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.3384, allocations: 252.2 kB / 0.4942 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.3394, allocations: 457.9 kB / 0.4946 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.457e-05/0.3395, allocations: 43.98 kB / 0.4947 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006353/0.3459, allocations: 7.333 MB / 0.5018 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/0.3459, allocations: 15.88 kB / 0.5019 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/0.3508, allocations: 3.575 MB / 0.5053 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008166/0.3517, allocations: 450.6 kB / 0.5058 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.3519, allocations: 32 kB / 0.5058 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.3529, allocations: 99.88 kB / 0.5059 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.3531, allocations: 108.7 kB / 0.506 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/0.3532, allocations: 43.98 kB / 0.506 GB, free: 2.746 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001577/0.3548, allocations: 1.303 MB / 0.5073 GB, free: 1.453 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3548, allocations: 0 / 0.5073 GB, free: 1.453 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001486/0.3563, allocations: 0.5468 MB / 0.5079 GB, free: 0.9062 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.0003642/0.3567, allocations: 223 kB / 0.5081 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.3602, allocations: 2.422 MB / 0.5104 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3602, allocations: 1.875 kB / 0.5104 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.3624, 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.001677/0.364, allocations: 449.3 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.006667/0.3707, allocations: 5.141 MB / 0.5174 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.3722, allocations: 1.995 MB / 0.5193 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.3726, allocations: 139.4 kB / 0.5194 GB, free: 4.824 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3726, allocations: 0 / 0.5194 GB, free: 4.824 MB / 446.1 MB Notification: Performance of Templates: time 1.867/2.24, allocations: 70.96 MB / 0.5887 GB, free: 82.05 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