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.001101/0.001101, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001393/0.001393, allocations: 166.3 kB / 24.91 MB, free: 8.77 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.8899/0.8899, allocations: 177 MB / 205.2 MB, free: 5.078 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.493e-06/1.493e-06, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.295e-05, allocations: 2.312 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.009787/0.0098, allocations: 11.11 MB / 284.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005649/0.01545, allocations: 3.997 MB / 288.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007491/0.0162, allocations: 79.5 kB / 288.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.01744, allocations: 0.8324 MB / 289.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09608/0.1135, allocations: 1.034 MB / 290.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1147, allocations: 0.5219 MB / 291 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002807/0.1175, allocations: 3.343 MB / 294.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.1189, allocations: 1.463 MB / 295.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.1214, allocations: 2.397 MB / 298.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.1232, allocations: 1.607 MB / 299.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005508/0.1238, allocations: 378.6 kB / 300.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008189/0.1246, allocations: 0.5909 MB / 300.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005944/0.1252, allocations: 1.073 MB / 301.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.1263, allocations: 1.172 MB / 303 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.1284, allocations: 2.797 MB / 305.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1284, allocations: 0 / 305.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1284, allocations: 3.094 kB / 305.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.016e-05/0.1285, allocations: 0 / 305.8 MB, free: 12.1 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.00285/0.1313, allocations: 3.228 MB / 309 MB, free: 10.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.1313, allocations: 14.33 kB / 309 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008782/0.1322, allocations: 0.5543 MB / 309.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1335, allocations: 1.239 MB / 310.8 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/0.1335, allocations: 186.8 kB / 311 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.1337, allocations: 261 kB / 311.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.1353, allocations: 1.901 MB / 313.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/0.1353, allocations: 15.48 kB / 313.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.1354, allocations: 101.2 kB / 313.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.806e-05/0.1355, allocations: 116.9 kB / 313.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.1364, allocations: 0.7231 MB / 314.1 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005608/0.142, allocations: 6.751 MB / 320.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.1427, allocations: 0.6362 MB / 321.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.1432, allocations: 418.9 kB / 321.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.1434, allocations: 63.66 kB / 322 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1434, allocations: 47.56 kB / 322 MB, free: 14.58 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 2.285e-06/0.1434, allocations: 4 kB / 322 MB, free: 14.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.004658/0.148, allocations: 2.909 MB / 324.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.1481, allocations: 68.7 kB / 325 MB, free: 11.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/0.149, allocations: 1.227 MB / 326.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.1491, allocations: 45.7 kB / 326.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.1495, allocations: 1.066 MB / 327.3 MB, free: 9.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.1497, allocations: 488.3 kB / 327.8 MB, free: 9.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.15, allocations: 276.1 kB / 328.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.15, allocations: 312.7 kB / 328.4 MB, free: 8.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.1503, allocations: 186.7 kB / 328.6 MB, free: 8.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.1507, allocations: 0.6615 MB / 329.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.1518, allocations: 1.044 MB / 330.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.1518, allocations: 4 kB / 330.3 MB, free: 6.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001293/0.1531, allocations: 1.127 MB / 331.4 MB, free: 5.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1531, allocations: 12 kB / 331.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.1531, allocations: 16 kB / 331.4 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004713/0.1536, allocations: 253.6 kB / 331.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.1542, allocations: 348.5 kB / 332 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.1564, allocations: 3.606 MB / 335.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.157, allocations: 67.94 kB / 335.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/0.157, allocations: 59.98 kB / 335.7 MB, free: 0.918 MB / 282.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.0003338/0.1574, allocations: 215 kB / 336 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.1576, allocations: 155.8 kB / 336.1 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.1589, allocations: 0.9155 MB / 337 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.1589, allocations: 16 kB / 337 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1589, allocations: 4 kB / 337 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.1589, allocations: 11.91 kB / 337.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.1618, allocations: 2.699 MB / 339.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1618, allocations: 7.938 kB / 339.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/0.1623, allocations: 215.8 kB / 340 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.1628, allocations: 331.7 kB / 340.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.1629, allocations: 39.92 kB / 340.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/0.1657, allocations: 4.771 MB / 345.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.1657, allocations: 7.562 kB / 345.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.1671, allocations: 1.349 MB / 346.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.1674, allocations: 233.7 kB / 346.7 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.1675, allocations: 43.98 kB / 346.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.168, allocations: 55.97 kB / 346.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.1681, allocations: 115.6 kB / 346.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.1682, allocations: 35.92 kB / 346.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004922/0.1687, allocations: 0.62 MB / 347.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1687, allocations: 0 / 347.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001004/0.1697, allocations: 0.5389 MB / 348.1 MB, free: 4.676 MB / 298.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002764/0.1699, allocations: 190.5 kB / 348.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.1711, allocations: 1.144 MB / 349.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-05/0.1711, allocations: 25.88 kB / 349.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.1719, allocations: 0.8499 MB / 350.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/0.1728, allocations: 382 kB / 350.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.1776, allocations: 4.243 MB / 354.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.178, allocations: 0.5756 MB / 355.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005227/0.1786, allocations: 234.1 kB / 355.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006632/0.1792, allocations: 413.1 kB / 356.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1792, allocations: 0 / 356.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of Templates: time 0.03156/0.2108, allocations: 26.92 MB / 383 MB, free: 2.156 MB / 330.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.479869289789349]