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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9413/0.9413, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.806e-05, allocations: 2.312 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01236/0.01239, allocations: 11.35 MB / 284.4 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00702/0.01941, allocations: 3.869 MB / 288.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.02082, allocations: 79.5 kB / 288.3 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.02237, allocations: 0.8312 MB / 289.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.02417, allocations: 1.032 MB / 290.2 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.109/0.1332, allocations: 0.524 MB / 290.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003974/0.1372, allocations: 3.339 MB / 294 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.1397, allocations: 1.425 MB / 295.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/0.1435, allocations: 2.168 MB / 297.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.1464, allocations: 1.693 MB / 299.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009695/0.1473, allocations: 387.1 kB / 299.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1485, allocations: 0.6021 MB / 300.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008293/0.1494, allocations: 1.131 MB / 301.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.1508, allocations: 1.203 MB / 302.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.1536, allocations: 2.843 MB / 305.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1536, allocations: 2.438 kB / 305.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1536, allocations: 0 / 305.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.116e-05/0.1537, allocations: 0.625 kB / 305.5 MB, free: 12.16 MB / 266.7 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.003904/0.1576, allocations: 3.664 MB / 309.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1576, allocations: 14.48 kB / 309.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.1587, allocations: 0.6541 MB / 309.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.1605, allocations: 1.704 MB / 311.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.9e-05/0.1606, allocations: 191.4 kB / 311.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.1608, allocations: 253.2 kB / 311.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.1631, allocations: 2.039 MB / 314 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.75e-05/0.1631, allocations: 12.92 kB / 314 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.1632, allocations: 100 kB / 314.1 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.933e-05/0.1633, allocations: 116.9 kB / 314.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.1649, allocations: 0.9227 MB / 315.1 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008546/0.1734, allocations: 8.514 MB / 323.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/0.1744, allocations: 0.6583 MB / 324.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.1751, allocations: 0.5085 MB / 324.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.1753, allocations: 60.97 kB / 324.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1753, allocations: 46.39 kB / 324.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 2.745e-06/0.1753, allocations: 0 / 324.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.006243/0.1816, allocations: 3.611 MB / 328.5 MB, free: 7.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1816, allocations: 72.66 kB / 328.6 MB, free: 7.688 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.1836, allocations: 1.495 MB / 330.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.021e-05/0.1837, allocations: 49.7 kB / 330.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008605/0.1846, allocations: 1.375 MB / 331.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.185, allocations: 498.5 kB / 332 MB, free: 4.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004098/0.1854, allocations: 293.1 kB / 332.3 MB, free: 3.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1855, allocations: 484.7 kB / 332.8 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.1861, allocations: 251.8 kB / 333 MB, free: 3.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009442/0.187, allocations: 0.957 MB / 334 MB, free: 1.992 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.1886, allocations: 1.342 MB / 335.3 MB, free: 428 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.1886, allocations: 4 kB / 335.3 MB, free: 424 kB / 282.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.002785/0.1914, allocations: 1.555 MB / 336.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.1915, allocations: 12 kB / 336.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.1915, allocations: 16 kB / 336.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007166/0.1922, allocations: 265.5 kB / 337.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.1932, allocations: 388.2 kB / 337.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.197, allocations: 4.927 MB / 342.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.1981, allocations: 123.8 kB / 342.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.1982, allocations: 75.05 kB / 342.7 MB, free: 8.984 MB / 298.7 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.0006458/0.1988, allocations: 264 kB / 342.9 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/0.1992, allocations: 238.7 kB / 343.1 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.2013, allocations: 1.18 MB / 344.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.2013, allocations: 15.98 kB / 344.3 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2013, allocations: 8 kB / 344.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.2013, allocations: 3.984 kB / 344.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00544/0.2068, allocations: 3.422 MB / 347.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.2068, allocations: 4 kB / 347.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007401/0.2075, allocations: 243 kB / 348 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008344/0.2084, allocations: 301 kB / 348.3 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-05/0.2084, allocations: 39.98 kB / 348.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00478/0.2132, allocations: 6.729 MB / 355.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.2132, allocations: 11.78 kB / 355.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/0.2163, allocations: 1.777 MB / 356.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/0.2169, allocations: 350.2 kB / 357.2 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.2171, allocations: 31.98 kB / 357.2 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/0.2179, allocations: 95.89 kB / 357.3 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.2181, allocations: 119.5 kB / 357.4 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/0.2182, allocations: 47.92 kB / 357.5 MB, free: 9.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001178/0.2194, allocations: 0.8843 MB / 358.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2194, allocations: 0 / 358.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001734/0.2211, allocations: 0.5428 MB / 358.9 MB, free: 8.242 MB / 314.7 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.0003373/0.2214, allocations: 228.4 kB / 359.1 MB, free: 8.027 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.2235, allocations: 1.423 MB / 360.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.2236, allocations: 0 / 360.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.2249, allocations: 1.137 MB / 361.7 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.2263, allocations: 396 kB / 362.1 MB, free: 5.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/0.2334, allocations: 4.455 MB / 366.5 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006631/0.2341, allocations: 0.6526 MB / 367.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009755/0.235, allocations: 338.4 kB / 367.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/0.2354, allocations: 128.5 kB / 367.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2354, allocations: 0 / 367.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of Templates: time 0.0348/0.2702, allocations: 26.46 MB / 394.1 MB, free: 5.336 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] 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.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7652236900758]