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.001123/0.001123, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009273/0.0009273, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.962/0.962, allocations: 177 MB / 204.8 MB, free: 5.543 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 2.074e-06/2.074e-06, allocations: 0 / 272.9 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.865e-05/4.073e-05, allocations: 2.312 kB / 272.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01471/0.01475, allocations: 11.39 MB / 284.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007392/0.02214, allocations: 3.881 MB / 288.2 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.02382, allocations: 79.5 kB / 288.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.02576, allocations: 0.835 MB / 289.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.02867, allocations: 1.028 MB / 290.1 MB, free: 100 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1085/0.1371, allocations: 0.5172 MB / 290.7 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003479/0.1406, allocations: 3.34 MB / 294 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.1425, allocations: 1.43 MB / 295.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.1454, allocations: 2.171 MB / 297.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.148, allocations: 1.691 MB / 299.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009755/0.149, allocations: 388 kB / 299.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.1503, allocations: 0.6049 MB / 300.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00073/0.151, allocations: 1.132 MB / 301.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.1527, allocations: 1.198 MB / 302.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.1557, allocations: 2.845 MB / 305.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1557, allocations: 4.531 kB / 305.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1557, allocations: 2.953 kB / 305.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.959e-05/0.1557, allocations: 1.125 kB / 305.5 MB, free: 12.19 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.003788/0.1595, allocations: 3.662 MB / 309.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1596, allocations: 12.95 kB / 309.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.1606, allocations: 0.6585 MB / 309.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.1623, allocations: 1.697 MB / 311.5 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.649e-05/0.1623, allocations: 191.6 kB / 311.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.1625, allocations: 253.6 kB / 311.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.1646, allocations: 2.035 MB / 314 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/0.1647, allocations: 15.88 kB / 314 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.1648, allocations: 104 kB / 314.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.768e-05/0.1649, allocations: 112.9 kB / 314.2 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.1664, allocations: 0.9279 MB / 315.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008295/0.1747, allocations: 8.509 MB / 323.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009725/0.1757, allocations: 0.6594 MB / 324.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007398/0.1764, allocations: 0.5058 MB / 324.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.1766, allocations: 60.08 kB / 324.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1766, allocations: 50.02 kB / 324.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 4.148e-06/0.1766, allocations: 3.984 kB / 324.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.005997/0.1826, allocations: 3.613 MB / 328.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.1826, allocations: 68.66 kB / 328.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.1841, allocations: 1.502 MB / 330.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.1842, allocations: 45.7 kB / 330.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/0.1848, allocations: 1.372 MB / 331.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.1851, allocations: 0.4893 MB / 332 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.1854, allocations: 301.1 kB / 332.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.1855, allocations: 484.8 kB / 332.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.186, allocations: 247.8 kB / 333 MB, free: 3.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/0.1868, allocations: 0.9537 MB / 334 MB, free: 1.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.188, allocations: 1.342 MB / 335.3 MB, free: 224 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.1881, allocations: 8 kB / 335.3 MB, free: 216 kB / 282.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.002215/0.1903, allocations: 1.534 MB / 336.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.1903, allocations: 12 kB / 336.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.1903, allocations: 16 kB / 336.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/0.1909, allocations: 269.5 kB / 337.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.1917, allocations: 389 kB / 337.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.195, allocations: 4.942 MB / 342.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008833/0.1958, allocations: 111.8 kB / 342.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.196, allocations: 71.98 kB / 342.6 MB, free: 8.789 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.0006206/0.1966, allocations: 262.8 kB / 342.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.1969, allocations: 246.7 kB / 343.1 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.1985, allocations: 1.18 MB / 344.3 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.1986, allocations: 12 kB / 344.3 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1986, allocations: 4 kB / 344.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.1986, allocations: 7.969 kB / 344.3 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004866/0.2034, allocations: 3.419 MB / 347.8 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.2034, allocations: 8 kB / 347.8 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.204, allocations: 238.8 kB / 348 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000842/0.2049, allocations: 309.1 kB / 348.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.205, allocations: 35.97 kB / 348.3 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/0.2093, allocations: 6.74 MB / 355.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.2093, allocations: 7.938 kB / 355.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.2121, allocations: 1.771 MB / 356.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/0.2128, allocations: 350.6 kB / 357.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.213, allocations: 34.66 kB / 357.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.2136, allocations: 91.83 kB / 357.3 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.2138, allocations: 120.2 kB / 357.4 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/0.2139, allocations: 39.98 kB / 357.5 MB, free: 9.477 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.2151, allocations: 0.8843 MB / 358.4 MB, free: 8.598 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2151, allocations: 0 / 358.4 MB, free: 8.598 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00163/0.2167, allocations: 0.5546 MB / 358.9 MB, free: 8.043 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.0004003/0.2171, allocations: 214.8 kB / 359.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.2193, allocations: 1.435 MB / 360.6 MB, free: 6.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2193, allocations: 0 / 360.6 MB, free: 6.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.2205, allocations: 1.131 MB / 361.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.2221, allocations: 399.8 kB / 362.1 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007564/0.2296, allocations: 4.448 MB / 366.5 MB, free: 348 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.2302, allocations: 0.6537 MB / 367.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009949/0.2312, allocations: 340.8 kB / 367.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.2315, allocations: 120.5 kB / 367.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of SimCode: time 2.004e-06/0.2315, allocations: 4 kB / 367.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of Templates: time 0.0354/0.2669, allocations: 26.46 MB / 394.1 MB, free: 5.137 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.9750741878524423]