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.001405/0.001405, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 205.8 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.16 kB / 306.9 MB, free: 1.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09397, allocations: 50.54 MB / 357.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01286/0.1069, allocations: 11.42 MB / 368.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1677/0.2746, allocations: 3.897 MB / 372.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.2764, allocations: 56.16 kB / 372.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.2787, allocations: 0.7336 MB / 373.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.2812, allocations: 0.8503 MB / 374.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.2823, allocations: 466 kB / 374.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003981/0.2863, allocations: 3.585 MB / 378.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/0.2888, allocations: 2.164 MB / 380.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.2909, allocations: 1.255 MB / 381.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.2935, allocations: 1.742 MB / 383.6 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006451/0.2941, allocations: 234.9 kB / 383.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.2955, allocations: 497.2 kB / 384.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009653/0.2965, allocations: 0.9163 MB / 385.2 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001939/0.2985, allocations: 1.567 MB / 386.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003305/0.3018, allocations: 4.15 MB / 390.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3018, allocations: 0 / 390.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3018, allocations: 0 / 390.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001021/0.3019, allocations: 1.125 kB / 390.9 MB, free: 3.906 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.006953/0.3089, allocations: 3.498 MB / 394.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3089, allocations: 9.625 kB / 394.5 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.3106, allocations: 442.5 kB / 394.9 MB, free: 1.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.3133, allocations: 1.803 MB / 396.7 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.3136, allocations: 205.3 kB / 396.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003539/0.3139, allocations: 252.7 kB / 397.1 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005293/0.3192, allocations: 3.248 MB / 400.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.847e-05/0.3193, allocations: 6.812 kB / 400.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.3195, allocations: 99.22 kB / 400.5 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.3197, allocations: 121 kB / 400.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004673/0.3243, allocations: 2.699 MB / 403.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.016/0.3404, allocations: 10.37 MB / 413.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.3426, allocations: 1.776 MB / 415.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.3444, allocations: 1.06 MB / 416.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.3447, allocations: 205.5 kB / 416.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.3447, allocations: 47.56 kB / 416.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=115): time 2.946e-06/0.3448, allocations: 0.6562 kB / 416.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=134): time 0.01789/0.3626, allocations: 7.418 MB / 424.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3627, allocations: 64.72 kB / 424.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.3661, allocations: 1.897 MB / 426.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.3663, allocations: 48.12 kB / 426.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008884/0.3672, allocations: 1.242 MB / 427.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000435/0.3676, allocations: 468 kB / 427.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005782/0.3682, allocations: 303.3 kB / 428.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.3683, allocations: 301.1 kB / 428.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.3697, allocations: 0.8159 MB / 429.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.3714, allocations: 1.312 MB / 430.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.3746, allocations: 2.252 MB / 432.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.3747, allocations: 4 kB / 432.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004906/0.3796, allocations: 2.797 MB / 435.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.3796, allocations: 12 kB / 435.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.3797, allocations: 16 kB / 435.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.3807, allocations: 415.1 kB / 436.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.3822, allocations: 399.3 kB / 436.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005907/0.3881, allocations: 5.311 MB / 441.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.3901, allocations: 131.8 kB / 441.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/0.3904, allocations: 68 kB / 442 MB, free: 3.516 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 (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.001638/0.392, allocations: 0.7939 MB / 442.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006699/0.3927, allocations: 201.5 kB / 443 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/0.3973, allocations: 2.39 MB / 445.4 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/0.3973, allocations: 23.98 kB / 445.4 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.3974, allocations: 4 kB / 445.4 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.3974, allocations: 3.984 kB / 445.4 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.408, allocations: 5.3 MB / 450.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.408, allocations: 4 kB / 450.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.4092, allocations: 255.6 kB / 450.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.4105, allocations: 457.1 kB / 451.4 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.4107, allocations: 42.95 kB / 451.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007101/0.4178, allocations: 6.725 MB / 458.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.4178, allocations: 4 kB / 458.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006306/0.4241, allocations: 3.571 MB / 461.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.4254, allocations: 450.6 kB / 462.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006604/0.4261, allocations: 39.92 kB / 462.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.4276, allocations: 99.89 kB / 462.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/0.4279, allocations: 108.7 kB / 462.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.4281, allocations: 47.92 kB / 462.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002486/0.4305, allocations: 1.303 MB / 463.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4306, allocations: 4 kB / 463.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002671/0.4332, allocations: 0.5378 MB / 464.3 MB, free: 12.5 MB / 382.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.0005753/0.4338, allocations: 219.1 kB / 464.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004381/0.4382, allocations: 2.407 MB / 466.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.4382, allocations: 448 / 466.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002624/0.4409, allocations: 1.516 MB / 468.4 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.4439, allocations: 435.7 kB / 468.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.4545, allocations: 6.307 MB / 475.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.4566, allocations: 1.995 MB / 477.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000799/0.4574, allocations: 143.4 kB / 477.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4574, allocations: 0 / 477.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of Templates: time 0.2585/0.7159, allocations: 70.34 MB / 0.5348 GB, free: 147.3 MB / 446.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